Возможно ли повесить два PPPoE соединения на один интерфейс???
ifconfig
Код: Выделить всё
ste0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:05:5d:5f:13:a3
inet 192.168.4.1 netmask 0xffffff00 broadcast 192.168.4.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:04:75:b7:4e:a1
inet 192.168.1.234 netmask 0xfffffc00 broadcast 192.168.3.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33204
pfsync0: flags=0<> metric 0 mtu 1460
syncpeer: 224.0.0.240 maxupd: 128
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
inet 192.168.9.250 --> 192.168.8.1 netmask 0xffffffff
ng1: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1500
Код: Выделить всё
default:
load pppoe_client_1
load pppoe_client_2
pppoe_client_1:
create bundle static B1
set iface route default
set iface enable tcpmssfix
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L1 pppoe
set link action bundle B1
#set link enable multilink
set auth authname user1
set auth password pass1
set link max-redial 0
set link mtu 1492
set link keep-alive 10 60
set pppoe iface dc0
set pppoe service ""
open
pppoe_client_2:
create bundle static B2
set iface route default
set iface enable tcpmssfix
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L2 pppoe
set link action bundle B2
#set link enable multilink
set auth authname user2
set auth password pass2
set link max-redial 0
set link mtu 1492
set link keep-alive 10 60
set pppoe iface dc0
set pppoe service ""
open
Код: Выделить всё
Sep 18 02:51:36 serva4ok mpd: Multi-link PPP daemon for FreeBSD
Sep 18 02:51:36 serva4ok mpd:
Sep 18 02:51:36 serva4ok mpd: process 2439 started, version 5.3 (root@serva4ok.localdomain 20:22 27-Aug-2009)
Sep 18 02:51:36 serva4ok mpd: CONSOLE: listening on 127.0.0.1 5005
Sep 18 02:51:36 serva4ok mpd: web: listening on 127.0.0.1 5006
Sep 18 02:51:36 serva4ok mpd: [B1] Bundle: Interface ng0 created
Sep 18 02:51:36 serva4ok mpd: [B2] Bundle: Interface ng1 created
Sep 18 02:51:36 serva4ok mpd: [L1] Link: OPEN event
Sep 18 02:51:36 serva4ok mpd: [L1] LCP: Open event
Sep 18 02:51:36 serva4ok mpd: [L1] LCP: state change Initial --> Starting
Sep 18 02:51:36 serva4ok mpd: [L1] LCP: LayerStart
Sep 18 02:51:36 serva4ok mpd: [L2] Link: OPEN event
Sep 18 02:51:36 serva4ok mpd: [L2] LCP: Open event
Sep 18 02:51:36 serva4ok mpd: [L2] LCP: state change Initial --> Starting
Sep 18 02:51:36 serva4ok mpd: [L2] LCP: LayerStart
Sep 18 02:51:36 serva4ok mpd: [L1] PPPoE: Connecting to ''
Sep 18 02:51:36 serva4ok mpd: [L2] PPPoE: Connecting to ''
Sep 18 02:51:36 serva4ok mpd: PPPoE: rec'd ACNAME "internet"
Sep 18 02:51:36 serva4ok mpd: PPPoE: rec'd ACNAME "internet"
Sep 18 02:51:36 serva4ok mpd: [L1] PPPoE: connection successful
Sep 18 02:51:36 serva4ok mpd: [L1] Link: UP event
Sep 18 02:51:36 serva4ok mpd: [L1] LCP: Up event
Sep 18 02:51:36 serva4ok mpd: [L1] LCP: state change Starting --> Req-Sent
Sep 18 02:51:36 serva4ok mpd: [L1] LCP: SendConfigReq #1
Sep 18 02:51:36 serva4ok mpd: [L1] PROTOCOMP
Sep 18 02:51:36 serva4ok mpd: [L1] MRU 1492
Sep 18 02:51:36 serva4ok mpd: [L1] MAGICNUM a3bad897
Sep 18 02:51:36 serva4ok mpd: [L1] LCP: rec'd Configure Request #1 (Req-Sent)
Sep 18 02:51:36 serva4ok mpd: [L1] AUTHPROTO CHAP MD5
Sep 18 02:51:36 serva4ok mpd: [L1] MAGICNUM e18d1e69
Sep 18 02:51:36 serva4ok mpd: [L1] LCP: SendConfigAck #1
Sep 18 02:51:36 serva4ok mpd: [L1] AUTHPROTO CHAP MD5
Sep 18 02:51:36 serva4ok mpd: [L1] MAGICNUM e18d1e69
Sep 18 02:51:36 serva4ok mpd: [L1] LCP: state change Req-Sent --> Ack-Sent
Sep 18 02:51:36 serva4ok mpd: [L2] PPPoE: connection successful
Sep 18 02:51:36 serva4ok mpd: [L2] Link: UP event
Sep 18 02:51:36 serva4ok mpd: [L2] LCP: Up event
Sep 18 02:51:36 serva4ok mpd: [L2] LCP: state change Starting --> Req-Sent
Sep 18 02:51:36 serva4ok mpd: [L2] LCP: SendConfigReq #1
Sep 18 02:51:36 serva4ok mpd: [L2] PROTOCOMP
Sep 18 02:51:36 serva4ok mpd: [L2] MRU 1492
Sep 18 02:51:36 serva4ok mpd: [L2] MAGICNUM af43e043
Sep 18 02:51:36 serva4ok mpd: [L2] LCP: rec'd Configure Request #1 (Req-Sent)
Sep 18 02:51:36 serva4ok mpd: [L2] AUTHPROTO CHAP MD5
Sep 18 02:51:36 serva4ok mpd: [L2] MAGICNUM 4cdc18b9
Sep 18 02:51:36 serva4ok mpd: [L2] LCP: SendConfigAck #1
Sep 18 02:51:36 serva4ok mpd: [L2] AUTHPROTO CHAP MD5
Sep 18 02:51:36 serva4ok mpd: [L2] MAGICNUM 4cdc18b9
Sep 18 02:51:36 serva4ok mpd: [L2] LCP: state change Req-Sent --> Ack-Sent
Sep 18 02:51:38 serva4ok mpd: [L1] LCP: SendConfigReq #2
Sep 18 02:51:38 serva4ok mpd: [L1] PROTOCOMP
Sep 18 02:51:38 serva4ok mpd: [L1] MRU 1492
Sep 18 02:51:38 serva4ok mpd: [L1] MAGICNUM a3bad897
Sep 18 02:51:38 serva4ok mpd: [L1] LCP: rec'd Configure Reject #2 (Ack-Sent)
Sep 18 02:51:38 serva4ok mpd: [L1] PROTOCOMP
Sep 18 02:51:38 serva4ok mpd: [L1] MRU 1492
Sep 18 02:51:38 serva4ok mpd: [L1] LCP: SendConfigReq #3
Sep 18 02:51:38 serva4ok mpd: [L1] MAGICNUM a3bad897
Sep 18 02:51:38 serva4ok mpd: [L1] LCP: rec'd Configure Ack #3 (Ack-Sent)
Sep 18 02:51:38 serva4ok mpd: [L1] MAGICNUM a3bad897
Sep 18 02:51:38 serva4ok mpd: [L1] LCP: state change Ack-Sent --> Opened
Sep 18 02:51:38 serva4ok mpd: [L1] LCP: auth: peer wants CHAP, I want nothing
Sep 18 02:51:38 serva4ok mpd: [L1] LCP: LayerUp
Sep 18 02:51:38 serva4ok mpd: [L1] CHAP: rec'd CHALLENGE #50 len: 31
Sep 18 02:51:38 serva4ok mpd: [L1] Name: "server"
Sep 18 02:51:38 serva4ok mpd: [L1] CHAP: Using authname "user1"
Sep 18 02:51:38 serva4ok mpd: [L1] CHAP: sending RESPONSE #50 len: 27
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: SendConfigReq #2
Sep 18 02:51:38 serva4ok mpd: [L2] PROTOCOMP
Sep 18 02:51:38 serva4ok mpd: [L2] MRU 1492
Sep 18 02:51:38 serva4ok mpd: [L2] MAGICNUM af43e043
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: rec'd Configure Reject #2 (Ack-Sent)
Sep 18 02:51:38 serva4ok mpd: [L2] PROTOCOMP
Sep 18 02:51:38 serva4ok mpd: [L2] MRU 1492
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: SendConfigReq #3
Sep 18 02:51:38 serva4ok mpd: [L2] MAGICNUM af43e043
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: rec'd Configure Ack #3 (Ack-Sent)
Sep 18 02:51:38 serva4ok mpd: [L2] MAGICNUM af43e043
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: state change Ack-Sent --> Opened
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: auth: peer wants CHAP, I want nothing
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: LayerUp
Sep 18 02:51:38 serva4ok mpd: [L2] CHAP: rec'd CHALLENGE #249 len: 33
Sep 18 02:51:38 serva4ok mpd: [L2] Name: "server"
Sep 18 02:51:38 serva4ok mpd: [L2] CHAP: Using authname "user2"
Sep 18 02:51:38 serva4ok mpd: [L2] CHAP: sending RESPONSE #249 len: 28
Sep 18 02:51:38 serva4ok mpd: [L1] CHAP: rec'd SUCCESS #50 len: 4
Sep 18 02:51:38 serva4ok mpd: [L1] LCP: authorization successful
Sep 18 02:51:38 serva4ok mpd: [L1] Link: Matched action 'bundle "B1" ""'
Sep 18 02:51:38 serva4ok mpd: [L1] Link: Join bundle "B1"
Sep 18 02:51:38 serva4ok mpd: [B1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: Open event
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: state change Initial --> Starting
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: LayerStart
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: Up event
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: state change Starting --> Req-Sent
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: SendConfigReq #1
Sep 18 02:51:38 serva4ok mpd: [B1] IPADDR 0.0.0.0
Sep 18 02:51:38 serva4ok mpd: [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: rec'd Configure Request #1 (Req-Sent)
Sep 18 02:51:38 serva4ok mpd: [B1] IPADDR 192.168.8.1
Sep 18 02:51:38 serva4ok mpd: [B1] 192.168.8.1 is OK
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: SendConfigAck #1
Sep 18 02:51:38 serva4ok mpd: [B1] IPADDR 192.168.8.1
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: state change Req-Sent --> Ack-Sent
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: rec'd Configure Reject #1 (Ack-Sent)
Sep 18 02:51:38 serva4ok mpd: [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: SendConfigReq #2
Sep 18 02:51:38 serva4ok mpd: [B1] IPADDR 0.0.0.0
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: rec'd Configure Nak #2 (Ack-Sent)
Sep 18 02:51:38 serva4ok mpd: [B1] IPADDR 192.168.9.250
Sep 18 02:51:38 serva4ok mpd: [B1] 192.168.9.250 is OK
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: SendConfigReq #3
Sep 18 02:51:38 serva4ok mpd: [B1] IPADDR 192.168.9.250
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: rec'd Configure Ack #3 (Ack-Sent)
Sep 18 02:51:38 serva4ok mpd: [B1] IPADDR 192.168.9.250
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: state change Ack-Sent --> Opened
Sep 18 02:51:38 serva4ok mpd: [B1] IPCP: LayerUp
Sep 18 02:51:38 serva4ok mpd: [B1] 192.168.9.250 -> 192.168.8.1
Sep 18 02:51:38 serva4ok mpd: [B1] IFACE: Up event
Sep 18 02:51:38 serva4ok mpd: [L2] CHAP: rec'd SUCCESS #249 len: 4
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: authorization successful
Sep 18 02:51:38 serva4ok mpd: [L2] Link: Matched action 'bundle "B2" ""'
Sep 18 02:51:38 serva4ok mpd: [L2] Link: Join bundle "B2"
Sep 18 02:51:38 serva4ok mpd: [B2] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: Open event
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: state change Initial --> Starting
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: LayerStart
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: Up event
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: state change Starting --> Req-Sent
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: SendConfigReq #1
Sep 18 02:51:38 serva4ok mpd: [B2] IPADDR 0.0.0.0
Sep 18 02:51:38 serva4ok mpd: [B2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: rec'd Configure Request #1 (Req-Sent)
Sep 18 02:51:38 serva4ok mpd: [B2] IPADDR 192.168.8.1
Sep 18 02:51:38 serva4ok mpd: [B2] 192.168.8.1 is OK
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: SendConfigAck #1
Sep 18 02:51:38 serva4ok mpd: [B2] IPADDR 192.168.8.1
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: state change Req-Sent --> Ack-Sent
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: rec'd Configure Reject #1 (Ack-Sent)
Sep 18 02:51:38 serva4ok mpd: [B2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: SendConfigReq #2
Sep 18 02:51:38 serva4ok mpd: [B2] IPADDR 0.0.0.0
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: rec'd Configure Nak #2 (Ack-Sent)
Sep 18 02:51:38 serva4ok mpd: [B2] IPADDR 192.168.9.139
Sep 18 02:51:38 serva4ok mpd: [B2] 192.168.9.139 is OK
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: SendConfigReq #3
Sep 18 02:51:38 serva4ok mpd: [B2] IPADDR 192.168.9.139
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: rec'd Configure Ack #3 (Ack-Sent)
Sep 18 02:51:38 serva4ok mpd: [B2] IPADDR 192.168.9.139
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: state change Ack-Sent --> Opened
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: LayerUp
Sep 18 02:51:38 serva4ok mpd: [B2] 192.168.9.139 -> 192.168.8.1
Sep 18 02:51:38 serva4ok mpd: [B2] IFACE: Adding IPv4 address to ng1 failed: File exists
Sep 18 02:51:38 serva4ok mpd: [B2] IFACE: IfaceChangeAddr() error, closing IPCP
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: parameter negotiation failed
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: state change Opened --> Stopping
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: SendTerminateReq #4
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: LayerDown
Sep 18 02:51:38 serva4ok mpd: [B2] IFACE: Removing IPv4 address from ng1 failed: Can't assign requested address
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: rec'd Terminate Ack #4 (Stopping)
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: state change Stopping --> Stopped
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: LayerFinish
Sep 18 02:51:38 serva4ok mpd: [B2] Bundle: No NCPs left. Closing links...
Sep 18 02:51:38 serva4ok mpd: [B2] Bundle: closing link "L2"...
Sep 18 02:51:38 serva4ok mpd: [L2] Link: CLOSE event
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: Close event
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: state change Opened --> Closing
Sep 18 02:51:38 serva4ok mpd: [L2] Link: Leave bundle "B2"
Sep 18 02:51:38 serva4ok mpd: [B2] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: Close event
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: state change Stopped --> Closed
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: Down event
Sep 18 02:51:38 serva4ok mpd: [B2] IPCP: state change Closed --> Initial
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: SendTerminateReq #4
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: LayerDown
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: rec'd Terminate Ack #4 (Closing)
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: state change Closing --> Closed
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: LayerFinish
Sep 18 02:51:38 serva4ok mpd: [L2] Link: DOWN event
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: Down event
Sep 18 02:51:38 serva4ok mpd: [L2] LCP: state change Closed --> Initial