никак не могу найти истину в таком вопросе (пытался поднять, не получается)- должен ли работать в такой схеме:
еще один линк ng1 с rl1 к томуже роутеру или нет? посредством mpd, выдаются белые адреса, ну и шлюз по умолчанию получается одинаковый.
должен ли работать в такой схеме еще один линк ng1 с rl1 к томуже роутеру или нет?
root писал(а):ну, а почему бы и нет, нуна тока поморочится с роутингом при подключении второго и все должно работать.
что конкретно у тя не получается ? установить соединение ? получить IP-адрес ? и т.д.
опиши подробнее свой вопрос
default:
load pppoe_client
load pppoe_client1
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 enable multilink
set link action bundle B1
set auth authname login
set auth password pasw
set link max-redial 0
set link mtu 1460
set link keep-alive 10 60
set pppoe iface nfe0
set pppoe service ""
open
pppoe_client1:
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 pppoe
set link enable multilink
set link action bundle B2
set auth authname login2
set auth password pasw2
set link max-redial 0
set link mtu 1460
set link keep-alive 10 60
set pppoe iface nfe0
set pppoe service ""
open
Jan 27 12:14:27 batmen mpd: [B1] IPCP: Open event
Jan 27 12:14:27 batmen mpd: [B1] IPCP: state change Initial --> Starting
Jan 27 12:14:27 batmen mpd: [B1] IPCP: LayerStart
Jan 27 12:14:27 batmen mpd: [B1] IPCP: Up event
Jan 27 12:14:27 batmen mpd: [B1] IPCP: state change Starting --> Req-Sent
Jan 27 12:14:27 batmen mpd: [B1] IPCP: SendConfigReq #5
Jan 27 12:14:27 batmen mpd: [B1] IPADDR 0.0.0.0
Jan 27 12:14:27 batmen mpd: [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jan 27 12:14:27 batmen mpd: [B1] IPCP: rec'd Configure Request #1 (Req-Sent)
Jan 27 12:14:27 batmen mpd: [B1] IPADDR ххх.ххх.ххх.х
Jan 27 12:14:27 batmen mpd: [B1] ххх.ххх.ххх.х is OK
Jan 27 12:14:27 batmen mpd: [B1] IPCP: SendConfigAck #1
Jan 27 12:14:27 batmen mpd: [B1] IPADDR ххх.ххх.ххх.ххх
Jan 27 12:14:27 batmen mpd: [B1] IPCP: state change Req-Sent --> Ack-Sent
Jan 27 12:14:27 batmen mpd: [L1] rec'd unexpected protocol CCP, rejecting
Jan 27 12:14:27 batmen mpd: [B1] IPCP: rec'd Configure Reject #5 (Ack-Sent)
Jan 27 12:14:27 batmen mpd: [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jan 27 12:14:27 batmen mpd: [B1] IPCP: SendConfigReq #6
Jan 27 12:14:27 batmen mpd: [B1] IPADDR 0.0.0.0
Jan 27 12:14:27 batmen mpd: [B1] IPCP: rec'd Configure Nak #6 (Ack-Sent)
Jan 27 12:14:27 batmen mpd: [B1] IPADDR ххх.ххх.ххх.хх
Jan 27 12:14:27 batmen mpd: [B1] ххх.ххх.ххх.хх is OK
Jan 27 12:14:27 batmen mpd: [B1] IPCP: SendConfigReq #7
Jan 27 12:14:27 batmen mpd: [B1] IPADDR ххх.ххх.ххх.хх
Jan 27 12:14:27 batmen mpd: [B1] IPCP: rec'd Configure Ack #7 (Ack-Sent)
Jan 27 12:14:27 batmen mpd: [B1] IPADDR ххх.ххх.ххх.ххх
Jan 27 12:14:27 batmen mpd: [B1] IPCP: state change Ack-Sent --> Opened
Jan 27 12:14:27 batmen mpd: [B1] IPCP: LayerUp
Jan 27 12:14:27 batmen mpd: [B1] ххх.ххх.ххх.хх -> ххх.ххх.ххх.х
Jan 27 12:14:27 batmen mpd: [B1] IFACE: Up event
Jan 27 12:14:52 batmen mpd: [L2] LCP: no reply to 1 echo request(s)
Jan 27 12:15:02 batmen mpd: [L2] LCP: no reply to 2 echo request(s)
Jan 27 12:15:12 batmen mpd: [L2] LCP: no reply to 3 echo request(s)
Jan 27 12:15:22 batmen mpd: [L2] LCP: no reply to 4 echo request(s)
Jan 27 12:15:32 batmen mpd: [L2] LCP: no reply to 5 echo request(s)
Jan 27 12:15:32 batmen mpd: [L2] LCP: peer not responding to echo requests
Jan 27 12:15:32 batmen mpd: [L2] LCP: state change Opened --> Stopping
Jan 27 12:15:32 batmen mpd: [L2] Link: Leave bundle "B2"
Jan 27 12:15:32 batmen mpd: [B2] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Jan 27 12:15:32 batmen mpd: [B2] IPCP: Close event
Jan 27 12:15:32 batmen mpd: [B2] IPCP: state change Opened --> Closing
Jan 27 12:15:32 batmen mpd: [B2] IPCP: SendTerminateReq #8
Jan 27 12:15:32 batmen mpd: [B2] IPCP: LayerDown
Jan 27 12:15:32 batmen mpd: [B2] IFACE: Down event
Jan 27 12:15:32 batmen mpd: [B2] IPCP: Down event
Jan 27 12:15:32 batmen mpd: [B2] IPCP: LayerFinish
Jan 27 12:15:32 batmen mpd: [B2] Bundle: No NCPs left. Closing links...
Jan 27 12:15:32 batmen mpd: [B2] IPCP: state change Closing --> Initial
Jan 27 12:15:32 batmen mpd: [L2] LCP: SendTerminateReq #7
Jan 27 12:15:32 batmen mpd: [L2] LCP: LayerDown
Jan 27 12:15:34 batmen mpd: [L2] LCP: SendTerminateReq #8
Jan 27 12:15:36 batmen mpd: [L2] LCP: state change Stopping --> Stopped
Jan 27 12:15:36 batmen mpd: [L2] LCP: LayerFinish
Jan 27 12:15:36 batmen mpd: [L2] PPPoE: connection closed
Jan 27 12:15:36 batmen mpd: [L2] Link: DOWN event
Jan 27 12:15:36 batmen mpd: [L2] LCP: Down event
Jan 27 12:15:36 batmen mpd: [L2] LCP: state change Stopped --> Starting
Jan 27 12:15:36 batmen mpd: [L2] LCP: LayerStart
Jan 27 12:15:36 batmen mpd: [L2] Link: reconnection attempt 1 in 1 seconds
Jan 27 12:15:37 batmen mpd: [L2] Link: reconnection attempt 1
Jan 27 12:15:37 batmen mpd: [L2] PPPoE: Connecting to ''
Jan 27 12:15:37 batmen mpd: PPPoE: rec'd ACNAME "mt-duby"
Jan 27 12:15:38 batmen mpd: [L2] PPPoE: connection successful
Jan 27 12:15:38 batmen mpd: [L2] Link: UP event
Jan 27 12:15:38 batmen mpd: [L2] LCP: Up event
Jan 27 12:15:38 batmen mpd: [L2] LCP: state change Starting --> Req-Sent
Jan 27 12:15:38 batmen mpd: [L2] LCP: SendConfigReq #9
Jan 27 12:15:38 batmen mpd: [L2] PROTOCOMP
Jan 27 12:15:38 batmen mpd: [L2] MRU 1492
Jan 27 12:15:38 batmen mpd: [L2] MAGICNUM ec7aa844
Jan 27 12:15:38 batmen mpd: [L2] MP MRRU 2048
Jan 27 12:15:38 batmen mpd: [L2] MP SHORTSEQ
Jan 27 12:15:38 batmen mpd: [L2] ENDPOINTDISC [802.1] 00 04 61 51 77 ff
Jan 27 12:15:38 batmen mpd: [L2] LCP: rec'd Configure Request #1 (Req-Sent)
Jan 27 12:15:38 batmen mpd: [L2] AUTHPROTO CHAP MSOFTv2
Jan 27 12:15:38 batmen mpd: [L2] MRU 1480
Jan 27 12:15:38 batmen mpd: [L2] MAGICNUM 2f326795
Jan 27 12:15:38 batmen mpd: [L2] LCP: SendConfigAck #1
Jan 27 12:15:38 batmen mpd: [L2] AUTHPROTO CHAP MSOFTv2
Jan 27 12:15:38 batmen mpd: [L2] MRU 1480
Jan 27 12:15:38 batmen mpd: [L2] MAGICNUM 2f326795
Jan 27 12:15:38 batmen mpd: [L2] LCP: state change Req-Sent --> Ack-Sent
Jan 27 12:15:38 batmen mpd: [L2] LCP: rec'd Configure Reject #9 (Ack-Sent)
Jan 27 12:15:38 batmen mpd: [L2] PROTOCOMP
Jan 27 12:15:38 batmen mpd: [L2] MP MRRU 2048
Jan 27 12:15:38 batmen mpd: [L2] ENDPOINTDISC [802.1] 00 04 61 51 77 ff
Jan 27 12:15:38 batmen mpd: [L2] MP SHORTSEQ
Jan 27 12:15:38 batmen mpd: [L2] LCP: SendConfigReq #10
Jan 27 12:15:38 batmen mpd: [L2] MRU 1492
Jan 27 12:15:38 batmen mpd: [L2] MAGICNUM ec7aa844
Jan 27 12:15:38 batmen mpd: [L2] LCP: rec'd Configure Ack #10 (Ack-Sent)
Jan 27 12:15:38 batmen mpd: [L2] MRU 1492
Jan 27 12:15:38 batmen mpd: [L2] MAGICNUM ec7aa844
Jan 27 12:15:38 batmen mpd: [L2] LCP: state change Ack-Sent --> Opened
Jan 27 12:15:38 batmen mpd: [L2] LCP: auth: peer wants CHAP, I want nothing
Jan 27 12:15:38 batmen mpd: [L2] LCP: LayerUp
Jan 27 12:15:38 batmen mpd: [L2] CHAP: rec'd CHALLENGE #1 len: 28
Jan 27 12:15:38 batmen mpd: [L2] Name: "mt-duby"
Jan 27 12:15:38 batmen mpd: [L2] CHAP: Using authname "lanoser"
Jan 27 12:15:38 batmen mpd: [L2] CHAP: sending RESPONSE #1 len: 61
Jan 27 12:15:38 batmen mpd: [L2] CHAP: rec'd SUCCESS #1 len: 46
Jan 27 12:15:38 batmen mpd: [L2] MESG: S=B3651205377E6D78122BB50A445C64C0541FF7C1
Jan 27 12:15:38 batmen mpd: [L2] LCP: authorization successful
Jan 27 12:15:38 batmen mpd: [L2] Link: Matched action 'bundle "B2" ""'
Jan 27 12:15:38 batmen mpd: [L2] Link: Join bundle "B2"
Jan 27 12:15:38 batmen mpd: [B2] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Jan 27 12:15:38 batmen mpd: [B2] IPCP: Open event
Jan 27 12:15:38 batmen mpd: [B2] IPCP: state change Initial --> Starting
Jan 27 12:15:38 batmen mpd: [B2] IPCP: LayerStart
Jan 27 12:15:38 batmen mpd: [B2] IPCP: Up event
Jan 27 12:15:38 batmen mpd: [B2] IPCP: state change Starting --> Req-Sent
Jan 27 12:15:38 batmen mpd: [B2] IPCP: SendConfigReq #9
Jan 27 12:15:38 batmen mpd: [B2] IPADDR 0.0.0.0
Jan 27 12:15:38 batmen mpd: [B2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jan 27 12:15:38 batmen mpd: [B2] IPCP: rec'd Configure Request #1 (Req-Sent)
Jan 27 12:15:38 batmen mpd: [B2] IPADDR ххх.ххх.ххх.х
Jan 27 12:15:38 batmen mpd: [B2] ххх.ххх.ххх.х is OK
Jan 27 12:15:38 batmen mpd: [B2] IPCP: SendConfigAck #1
Jan 27 12:15:38 batmen mpd: [B2] IPADDR ххх.ххх.ххх.х
Jan 27 12:15:38 batmen mpd: [B2] IPCP: state change Req-Sent --> Ack-Sent
Jan 27 12:15:38 batmen mpd: [L2] rec'd unexpected protocol CCP, rejecting
Jan 27 12:15:38 batmen mpd: [B2] IPCP: rec'd Configure Reject #9 (Ack-Sent)
Jan 27 12:15:38 batmen mpd: [B2] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jan 27 12:15:38 batmen mpd: [B2] IPCP: SendConfigReq #10
Jan 27 12:15:38 batmen mpd: [B2] IPADDR 0.0.0.0
Jan 27 12:15:38 batmen mpd: [B2] IPCP: rec'd Configure Nak #10 (Ack-Sent)
Jan 27 12:15:38 batmen mpd: [B2] IPADDR ххх.ххх.ххх.хх
Jan 27 12:15:38 batmen mpd: [B2] ххх.ххх.ххх.хх is OK
Jan 27 12:15:38 batmen mpd: [B2] IPCP: SendConfigReq #11
Jan 27 12:15:38 batmen mpd: [B2] IPADDR ххх.ххх.ххх.хх
Jan 27 12:15:38 batmen mpd: [B2] IPCP: rec'd Configure Ack #11 (Ack-Sent)
Jan 27 12:15:38 batmen mpd: [B2] IPADDR ххх.ххх.ххх.хх
Jan 27 12:15:38 batmen mpd: [B2] IPCP: state change Ack-Sent --> Opened
Jan 27 12:15:38 batmen mpd: [B2] IPCP: LayerUp
Jan 27 12:15:38 batmen mpd: [B2] ххх.ххх.ххх.хх -> ххх.ххх.ххх.х
Jan 27 12:15:38 batmen mpd: [B2] IFACE: Up event
Jan 27 12:16:07 batmen mpd: [L1] LCP: no reply to 1 echo request(s)
Jan 27 12:16:17 batmen mpd: [L1] LCP: no reply to 2 echo request(s)
Jan 27 12:16:27 batmen mpd: [L1] LCP: no reply to 3 echo request(s)
Jan 27 12:16:37 batmen mpd: [L1] LCP: no reply to 4 echo request(s)
Jan 27 12:16:47 batmen mpd: [L1] LCP: no reply to 5 echo request(s)
Jan 27 12:16:47 batmen mpd: [L1] LCP: peer not responding to echo requests
Jan 27 12:16:47 batmen mpd: [L1] LCP: state change Opened --> Stopping
Jan 27 12:16:47 batmen mpd: [L1] Link: Leave bundle "B1"
Jan 27 12:16:47 batmen mpd: [B1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Jan 27 12:16:47 batmen mpd: [B1] IPCP: Close event
Jan 27 12:16:47 batmen mpd: [B1] IPCP: state change Opened --> Closing
Jan 27 12:16:47 batmen mpd: [B1] IPCP: SendTerminateReq #8
Jan 27 12:16:47 batmen mpd: [B1] IPCP: LayerDown
Jan 27 12:16:47 batmen mpd: [B1] IFACE: Down event
Jan 27 12:16:47 batmen mpd: [B1] IPCP: Down event
Jan 27 12:16:47 batmen mpd: [B1] IPCP: LayerFinish
Jan 27 12:16:47 batmen mpd: [B1] Bundle: No NCPs left. Closing links...
Jan 27 12:16:47 batmen mpd: [B1] IPCP: state change Closing --> Initial
Jan 27 12:16:47 batmen mpd: [L1] LCP: SendTerminateReq #17
Jan 27 12:16:47 batmen mpd: [L1] LCP: LayerDown
Jan 27 12:16:49 batmen mpd: [L1] LCP: SendTerminateReq #18
Jan 27 12:16:51 batmen mpd: [L1] LCP: state change Stopping --> Stopped
(10:19:43)</> #ifconfig
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:04:61:51:77:ff
inet 192.168.1.143 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
pfsync0: flags=0<> metric 0 mtu 1460
syncpeer: 224.0.0.240 maxupd: 128
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33200
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1460
inet 194.хх.ххх.хх --> 192.168.101.1 netmask 0xffffffff
ng1: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1460
inet 194.хх.ххх.хх --> 192.168.101.1 netmask 0xffffffff
(10:20:20)</> #ping meta.ua
ping: cannot resolve meta.ua: Host name lookup failure
(10:20:25)</> #netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.101.1 UGS 0 5 ng0
127.0.0.1 link#3 UH 0 457036 lo0
192.168.1.0/24 link#1 U 2 113245039 nfe0
192.168.1.143 link#1 UHS 0 0 lo0
192.168.101.1 link#6 UH 0 0 ng0 =>
192.168.101.1 link#7 UH 0 0 ng1
194.44.101.44 link#6 UHS 0 0 lo0
194.44.101.60 link#7 UHS 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%lo0/64 link#3 U lo0
fe80::1%lo0 link#3 UHS lo0
ff01:3::/32 fe80::1%lo0 U lo0
ff02::%lo0/32 fe80::1%lo0 U lo0
(10:20:29)</> #ping meta.ua
ping: cannot resolve meta.ua: Host name lookup failure
(10:20:42)</> #
lehisnoe писал(а):должен ли работать в такой схеме еще один линк ng1 с rl1 к томуже роутеру или нет?
Если адреса выдаются статично - то при условии захода под другим логином - да, под тем же - нет (из-за проблемы, связанной с присвоением одного и того же адреса на два разных интерфейса).
Если динамично - то, по идее, возможно даже под тем же логин/паролем.
ЗЫ: Только реши, что ты будешь делать с дефолт-роутом: два дефолта в одной fib-таблице пока не могут быть
Только реши, что ты будешь делать с дефолт-роутом: два дефолта в одной fib-таблице пока не могут быть ;-)
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set ipcp ranges 0.0.0.0/0 1.1.1.1/32
set ipcp ranges 0.0.0.0/0 1.1.1.2/32
lehisnoe писал(а):Заменив секции pppoe_client: на
- Код: Выделить всё
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
- Код: Выделить всё
set ipcp ranges 0.0.0.0/0 1.1.1.1/32
и в pppoe_client1: на
- Код: Выделить всё
set ipcp ranges 0.0.0.0/0 1.1.1.2/32
После чего оба туннеля у тебя должны подняться.
ЗЫ: после подъема обоих туннелей можешь озадачиваться проблемой "А что же мне с ними делать?"
Feb 25 18:19:04 batmen mpd: [L1] CHAP: Using authname "admirals"
Feb 25 18:19:04 batmen mpd: [L1] CHAP: sending RESPONSE #1 len: 62
Feb 25 18:19:04 batmen mpd: [L1] CHAP: rec'd SUCCESS #1 len: 46
Feb 25 18:19:04 batmen mpd: [L1] MESG: S=B364333CA9643DE44C7979D7DEDB6EA49038B546
Feb 25 18:19:04 batmen mpd: [L1] LCP: authorization successful
Feb 25 18:19:04 batmen mpd: [L1] Link: Matched action 'bundle "B1" ""'
Feb 25 18:19:04 batmen mpd: [L1] Link: Join bundle "B1"
Feb 25 18:19:04 batmen mpd: [B1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Feb 25 18:19:04 batmen mpd: [B1] IPCP: Open event
Feb 25 18:19:04 batmen mpd: [B1] IPCP: state change Initial --> Starting
Feb 25 18:19:04 batmen mpd: [B1] IPCP: LayerStart
Feb 25 18:19:04 batmen mpd: [B1] IPCP: Up event
Feb 25 18:19:04 batmen mpd: [B1] IPCP: state change Starting --> Req-Sent
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigReq #1
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 0.0.0.0
Feb 25 18:19:04 batmen mpd: [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Request #1 (Req-Sent)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 192.168.101.1
Feb 25 18:19:04 batmen mpd: [B1] NAKing with 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigNak #1
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 1.1.1.1
Feb 25 18:19:04 batmen mpd: [L1] rec'd unexpected protocol CCP, rejecting
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Reject #1 (Req-Sent)
Feb 25 18:19:04 batmen mpd: [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigReq #2
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 0.0.0.0
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Request #2 (Req-Sent)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 192.168.101.1
Feb 25 18:19:04 batmen mpd: [B1] NAKing with 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigNak #2
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Nak #2 (Req-Sent)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 194.хх.ххх.хх
Feb 25 18:19:04 batmen mpd: [B1] 194.хх.ххх.хх is OK
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigReq #3
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 194.хх.ххх.хх
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Request #3 (Req-Sent)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 192.168.101.1
Feb 25 18:19:04 batmen mpd: [B1] NAKing with 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigNak #3
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Ack #3 (Req-Sent)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 194.хх.ххх.хх
Feb 25 18:19:04 batmen mpd: [B1] IPCP: state change Req-Sent --> Ack-Rcvd
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Request #4 (Ack-Rcvd)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 192.168.101.1
Feb 25 18:19:04 batmen mpd: [B1] NAKing with 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigNak #4
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Request #5 (Ack-Rcvd)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 192.168.101.1
Feb 25 18:19:04 batmen mpd: [B1] NAKing with 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigNak #5
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Request #6 (Ack-Rcvd)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 192.168.101.1
Feb 25 18:19:04 batmen mpd: [B1] NAKing with 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigNak #6
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Request #7 (Ack-Rcvd)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 192.168.101.1
Feb 25 18:19:04 batmen mpd: [B1] NAKing with 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigNak #7
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Request #8 (Ack-Rcvd)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 192.168.101.1
Feb 25 18:19:04 batmen mpd: [B1] NAKing with 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: SendConfigNak #8
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: rec'd Configure Request #9 (Ack-Rcvd)
Feb 25 18:19:04 batmen mpd: [B1] IPADDR 192.168.101.1
Feb 25 18:19:04 batmen mpd: [B1] NAKing with 1.1.1.1
Feb 25 18:19:04 batmen mpd: [B1] IPCP: not converging
Feb 25 18:19:04 batmen mpd: [B1] IPCP: parameter negotiation failed
Feb 25 18:19:04 batmen mpd: [B1] IPCP: state change Ack-Rcvd --> Stopped
Feb 25 18:19:04 batmen mpd: [B1] IPCP: LayerFinish
Feb 25 18:19:04 batmen mpd: [B1] Bundle: No NCPs left. Closing links...
Feb 25 18:19:04 batmen mpd: [B1] Bundle: closing link "L1"...
Feb 25 18:19:04 batmen mpd: [L1] Link: CLOSE event
Feb 25 18:19:04 batmen mpd: [L1] LCP: Close event
Feb 25 18:19:04 batmen mpd: [L1] LCP: state change Opened --> Closing
Feb 25 18:19:04 batmen mpd: [L1] Link: Leave bundle "B1"
Feb 25 18:19:04 batmen mpd: [B1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Feb 25 18:19:04 batmen mpd: [B1] IPCP: Close event
Feb 25 18:19:04 batmen mpd: [B1] IPCP: state change Stopped --> Closed
Feb 25 18:19:04 batmen mpd: [B1] IPCP: Down event
Feb 25 18:19:04 batmen mpd: [B1] IPCP: state change Closed --> Initial
Feb 25 18:19:04 batmen mpd: [L1] LCP: SendTerminateReq #13
Feb 25 18:19:04 batmen mpd: [L1] LCP: LayerDown
Feb 25 18:19:04 batmen mpd: [L1] LCP: rec'd Terminate Ack #13 (Closing)
Feb 25 18:19:04 batmen mpd: [L1] LCP: state change Closing --> Closed
адреса статические
lehisnoe писал(а):адреса статические
Пардон, пропустил вчера эту фразу.
Тогда никак Второй туннель сможешь поднять, только зайдя под другим логин/паролем (изменения в ipcp тут не помогут, т.к. тебе на обоих туннелях будет выдаваться один и тот же IP, кот. не может быть присвоен разным интерфейсам)
/usr/libexec/pppoed -a mega-office -p "*" -l pppoe em0
pppoe:
allow mode direct
set cd 5
enable lqr echo chap chap81 MSCHAPv2 mssfixup ipcp
disable pap deflate pred1 acfcomp protocomp
deny deflate pred1 acfcomp
set timeout 0
set lqrperiod 30
set mtu 1492
set mru 1492
set dns 8.8.8.8 1.1.1.1
accept lqr dns
47711-1 vvvvv 192.168.121.182 * *
47711-2 vvvv 192.168.121.183 * *
default:
load pppoe_client
load pppoe_client1
pppoe_client:
create bundle static B1
set ipcp ranges 0.0.0.0/0 1.1.1.1/32
create link static L1 pppoe
set link enable multilink
set link action bundle B1
set auth authname "47711-1"
set auth password "vvvvv"
set link max-redial 10
set link mtu 1492
set link keep-alive 10 60
set pppoe iface msk0
set pppoe service ""
open
pppoe_client1:
create bundle static B2
set ipcp ranges 0.0.0.0/0 1.1.1.2/32
create link static L2 pppoe
set link enable multilink
set link action bundle B2
set auth authname "47711-2"
set auth password "vvvv"
set link max-redial 10
set link mtu 1460
set link keep-alive 10 60
set pppoe iface msk0
set pppoe service ""
open
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
inet 192.168.121.182 --> 1.1.1.1 netmask 0xffffffff
ng1: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1460
inet 192.168.121.183 --> 1.1.1.2 netmask 0xffffffff
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 32