Который день рою форум - не могу найти помощь.
Нужно на один сервер FreeBSD поставить 2 ADSL модема, к одному провайдеру, так чтобы они работали одновременно. Но при любых попытках поднять оба - подымается токо один.
Конфиги прилагаю. Мож кто подскажет где я на грабли наступаю. (Мультилинк не предлагать, знаю, но нужно 2 отделные линии.)
--------------порезано rc.conf-----------------------------
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"
ppp_profile="main"
ppp_user="root"
--------------конец rc.conf--------------------------------
--------------начало ppp.conf------------------------------
default:
# set log Phase Chat LCP IPCP CCP tun command
# ident user-ppp VERSION (built COMPILATIONDATE)
# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
#
set device /dev/cuaa1
set device /dev/cuaa0
set speed 115200
# set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
# \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 0 # 3 minute idle timer (the default)
# enable dns # request DNS info (for resolv.conf)
papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
set phone PHONE_NUM
set authname USERNAME
set authkey PASSWORD
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route
main:
LL
LL2
LL:
set device /dev/cuaa0
set speed 115200
set timeout 0
# set ctsrts on
# set ifaddr 0.0.0.0/0
add default HISADDR
nat enable yes
nat same_ports yes
nat use_sockets yes
set authname ******
set authkey ******
disable deflate
deny deflate
# enable pap
enable lqr
set log Phase
LL2:
set device /dev/cuaa1
set speed 115200
set timeout 0
nat enable yes
nat same_ports yes
nat use_sockets yes
set authname ******
set authkey ******
disable deflate
deny deflate
#enable pap
enable lqr
set log Phase
--------------конец ppp.conf-------------------------------