вариант 1:
Код: Выделить всё
pppoe_client:
create bundle template B1
set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L1 pppoe
set link action bundle B1
set auth authname %USERNAME_1%
set auth password %PASSWORD_1%
load pppoe_common
open
create link static L2 pppoe
set link action bundle B1
set auth authname %USERNAME_2%
set auth password %PASSWORD_2%
load pppoe_common
open
pppoe_common:
set link max-redial 0
set link mtu 1460
set link keep-alive 10 60
set pppoe iface fxp0
set pppoe service "%SERVICENAME%"
Код: Выделить всё
pppoe_client:
create bundle static B1
set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L1 pppoe
set link action bundle B1
set auth authname %USERNAME_1%
set auth password %PASSWORD_1%
set link max-redial 0
set link mtu 1460
set link keep-alive 10 60
set pppoe iface fxp0
set pppoe service "%SERVICENAME%"
open
pppoe_client2:
create bundle static B2
set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L2 pppoe2
set link action bundle B2
set auth authname %USERNAME_2%
set auth password %PASSWORD_2%
set link max-redial 0
set link mtu 1460
set link keep-alive 10 60
set pppoe2 iface fxp0
set pppoe2 service "%SERVICENAME%"
open
Код: Выделить всё
ng0: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1500
ng1: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1460
inet **.*.**.*** --> 2.2.2.2 netmask 0xffffffff