prefix-delegation

PPTP related questions
Post Reply
finn
Posts: 8
Joined: 24 Nov 2014, 15:41

prefix-delegation

Post by finn » 30 Mar 2016, 18:00

Здравствуйте.

Работает ли на pptp prefix-delegation?

Настройки прописал, но префикс не получаю, даже роут на брасе не появляется. В лога пишет что префикс делегирован

Code: Select all

[2016-03-30 20:57:00]:  info: ppp0: recv [DHCPv6 Solicit XID=8ead27 <Elapsed-Time 100728831> <Option-Request 21,22,DNS,DNSSL,31,56,64,67,82,83,94,95,96> <Client-ID 3:00015e56d5b0198f> <Reconfigure-Accept> <Option 39> <IA-NA 1000000 T1=0 T2=0> <IA-PD 1000000 T1=0 T2=0>]
[2016-03-30 20:57:00]: debug: libnetlink: RTNETLINK answers: File exists
[2016-03-30 20:57:00]:  info: ppp0: send [DHCPv6 Advertise XID=8ead27 <Server-ID 3:001b0000000000000001> <Client-ID 3:00015e56d5b0198f> <DNS 2a02:6b8::feed:ff,2001:4860:4860::8888> <IA-NA 1000000 T1=302400 T2=483840 {IA-Addr 2001:470:75ff:4000::2 pref_lifetime=604800 valid_lifetime=2592000}> <IA-PD 1000000 T1=302400 T2=483840 {IA-Prefix 2001:470:75ff:8000::/64 pref_lifetime=604800 valid_lifetime=2592000}> <Preference 255>]

Code: Select all

accel-ppp                      1.10.1
SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux
Last edited by finn on 30 Mar 2016, 18:05, edited 1 time in total.

Dmitry
Администратор
Posts: 949
Joined: 09 Oct 2014, 10:06

Re: prefix-delegation

Post by Dmitry » 30 Mar 2016, 18:05

видимо сломалось
какая версия ?

finn
Posts: 8
Joined: 24 Nov 2014, 15:41

Re: prefix-delegation

Post by finn » 30 Mar 2016, 18:06

спасибо за быстрый ответ.

accel-ppp 1.10.1
SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux

Dmitry
Администратор
Posts: 949
Joined: 09 Oct 2014, 10:06

Re: prefix-delegation

Post by Dmitry » 30 Mar 2016, 18:06

ок гляну

Dmitry
Администратор
Posts: 949
Joined: 09 Oct 2014, 10:06

Re: prefix-delegation

Post by Dmitry » 31 Mar 2016, 18:11

проверил у себя, всё работает
покажи больше логов
должна быть строчка вида: dhcpv6: route add хххх

finn
Posts: 8
Joined: 24 Nov 2014, 15:41

Re: prefix-delegation

Post by finn » 01 Apr 2016, 03:46

полный лог подключения:

Code: Select all


[2016-04-01 06:39:05]:  info: l2tp tunnel 36791-9 (178.76.235.130:1701): retransmission #5
[2016-04-01 06:39:05]:  info: l2tp tunnel 36791-9 (178.76.235.130:1701): retransmit (timeout) [L2TP tid=9 sid=0 Ns=2652 Nr=5 <Message-Type Stop-Ctrl-Conn-Notify> <Assigned-Tunnel-ID -28745> <Result-Code>]
[2016-04-01 06:39:05]:  info: l2tp tunnel 36791-9 (178.76.235.130:1701): send [L2TP tid=9 sid=0 Ns=2652 Nr=5 <Message-Type Stop-Ctrl-Conn-Notify> <Assigned-Tunnel-ID -28745> <Result-Code>]
[2016-04-01 06:39:06]: debug: connlimit: check entry 1544131923
[2016-04-01 06:39:06]: debug: connlimit: accept 1544131923
[2016-04-01 06:39:06]:  info: pptp: new connection from 83.149.9.92
[2016-04-01 06:39:06]:  info: : recv [PPTP Start-Ctrl-Conn-Request <Version 1> <Framing 3> <Bearer 3> <Max-Chan 65535>]
[2016-04-01 06:39:06]:  info: : send [PPTP Start-Ctrl-Conn-Reply <Version 1> <Result 1> <Error 0> <Framing 3> <Bearer 3> <Max-Chan 1>]
[2016-04-01 06:39:07]:  info: : recv [PPTP Outgoing-Call-Request <Call-ID d92a> <Call-Serial 0> <Min-BPS 2400> <Max-BPS 1000000000> <Bearer 3> <Framing 3> <Window-Size 50> <Delay 0>]
[2016-04-01 06:39:07]:  info: : send [PPTP Outgoing-Call-Reply <Call-ID 5> <Peer-Call-ID d92a> <Result 1> <Error 0> <Cause 0> <Speed 1000000000> <Window-Size 50> <Delay 0> <Channel 0>]
[2016-04-01 06:39:07]: debug: : lcp_layer_init
[2016-04-01 06:39:07]: debug: : auth_layer_init
[2016-04-01 06:39:07]: debug: : ccp_layer_init
[2016-04-01 06:39:07]: debug: : ipcp_layer_init
[2016-04-01 06:39:07]: debug: : ipv6cp_layer_init
[2016-04-01 06:39:07]: debug: : ppp establishing
[2016-04-01 06:39:07]: debug: : lcp_layer_start
[2016-04-01 06:39:07]:  info: : send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 2bb7929b>]
[2016-04-01 06:39:07]:  info: : recv [LCP ConfReq id=1 <mru 1400> < 2 6 0 0 0 0 > <magic 9efb17c7>]
[2016-04-01 06:39:07]:  info: : send [LCP ConfRej id=1  < 2 6 0 0 0 0 >]
[2016-04-01 06:39:07]:  info: : recv [LCP ConfReq id=2 <mru 1400> <magic 9efb17c7>]
[2016-04-01 06:39:07]:  info: : send [LCP ConfAck id=2 ]
[2016-04-01 06:39:10]: debug: : fsm timeout 9
[2016-04-01 06:39:10]:  info: : send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 2bb7929b>]
[2016-04-01 06:39:10]:  info: : recv [LCP ConfAck id=1 <auth MSCHAP-v2> <mru 1400> <magic 2bb7929b>]
[2016-04-01 06:39:10]: debug: : lcp_layer_started
[2016-04-01 06:39:10]: debug: : auth_layer_start
[2016-04-01 06:39:10]:  info: : send [MSCHAP-v2 Challenge id=1 <8a43e2bfdef0cf5981523bbef13bf4>]
[2016-04-01 06:39:10]: debug: : recv [LCP EchoReq id=0 <magic 9efb17c7>]
[2016-04-01 06:39:10]: debug: : send [LCP EchoRep id=0 <magic 2bb7929b>]
[2016-04-01 06:39:10]:  info: : recv [MSCHAP-v2 Response id=1 <a44f8c6f2775ca2f81c5a410437ef0>, <869dcc83f9fa20158ff35b03c662591ecf384da45bf062>, F=0, name="finn"]
[2016-04-01 06:39:10]:  info: ppp0: connect: ppp0 <--> pptp(83.149.9.92)
[2016-04-01 06:39:10]: debug: ppp0: ppp connected
[2016-04-01 06:39:10]:  info: ppp0: send [MSCHAP-v2 Success id=1 "S=E2D0BA49495C9312060020C6E4F417FC18350517 M=Authentication succeeded"]
[2016-04-01 06:39:10]: debug: ppp0: auth_layer_started
[2016-04-01 06:39:10]: debug: ppp0: ccp_layer_start
[2016-04-01 06:39:10]:  info: ppp0: send [CCP ConfReq id=1 <mppe +H -M +S -L -D -C>]
[2016-04-01 06:39:10]: debug: ppp0: ipcp_layer_start
[2016-04-01 06:39:10]:  info: ppp0: send [IPCP ConfReq id=1 <addr 172.16.100.1>]
[2016-04-01 06:39:10]: debug: ppp0: ipv6cp_layer_start
[2016-04-01 06:39:10]:  info: ppp0: send [IPV6CP ConfReq id=1 <addr 0:0:0:1>]
[2016-04-01 06:39:10]:  info: ppp0: finn: authentication succeeded
[2016-04-01 06:39:11]:  info: ppp0: recv [CCP ConfReq id=1 <mppe +H -M +S -L -D -C> (mppe enabled)]
[2016-04-01 06:39:11]:  info: ppp0: send [CCP ConfAck id=1]
[2016-04-01 06:39:11]:  info: ppp0: recv [CCP ConfAck id=1 <mppe +H -M +S -L -D -C>]
[2016-04-01 06:39:11]: debug: ppp0: ccp_layer_started
[2016-04-01 06:39:11]:  info: ppp0: recv [IPCP TermAck id=1]
[2016-04-01 06:39:11]:  info: ppp0: recv [IPV6CP TermAck id=1]
[2016-04-01 06:39:11]:  info: ppp0: recv [IPCP ConfReq id=1 < 2 6 0 2d f 1 > <addr 0.0.0.0> <dns1 0.0.0.0> <dns2 0.0.0.0>]
[2016-04-01 06:39:11]:  info: ppp0: send [IPCP ConfRej id=1 < 2 6 0 2d f 1 >]
[2016-04-01 06:39:11]:  info: ppp0: recv [IPV6CP ConfReq id=1 <addr 25b3:1bb4:607c:ac80>]
[2016-04-01 06:39:11]:  info: ppp0: send [IPV6CP ConfNak id=1 <addr 0:0:0:2>]
[2016-04-01 06:39:11]:  info: ppp0: recv [IPCP ConfReq id=2 <addr 0.0.0.0> <dns1 0.0.0.0> <dns2 0.0.0.0>]
[2016-04-01 06:39:11]:  info: ppp0: send [IPCP ConfNak id=2 <addr 172.16.100.2> <dns1 77.88.8.1> <dns2 8.8.8.8>]
[2016-04-01 06:39:11]:  info: ppp0: recv [IPV6CP ConfReq id=2 <addr 0:0:0:2>]
[2016-04-01 06:39:11]:  info: ppp0: send [IPV6CP ConfAck id=2]
[2016-04-01 06:39:11]:  info: ppp0: recv [IPCP ConfReq id=3 <addr 172.16.100.2> <dns1 77.88.8.1> <dns2 8.8.8.8>]
[2016-04-01 06:39:11]:  info: ppp0: send [IPCP ConfAck id=3]
[2016-04-01 06:39:11]: debug: ppp0: recv [LCP EchoReq id=1 <magic 9efb17c7>]
[2016-04-01 06:39:11]: debug: ppp0: send [LCP EchoRep id=1 <magic 2bb7929b>]
[2016-04-01 06:39:12]: debug: ppp0: recv [LCP EchoReq id=2 <magic 9efb17c7>]
[2016-04-01 06:39:12]: debug: ppp0: send [LCP EchoRep id=2 <magic 2bb7929b>]
[2016-04-01 06:39:13]: debug: ppp0: recv [LCP EchoReq id=3 <magic 9efb17c7>]
[2016-04-01 06:39:13]: debug: ppp0: send [LCP EchoRep id=3 <magic 2bb7929b>]
[2016-04-01 06:39:13]: debug: ppp0: fsm timeout 9
[2016-04-01 06:39:13]:  info: ppp0: send [IPCP ConfReq id=1 <addr 172.16.100.1>]
[2016-04-01 06:39:13]: debug: ppp0: fsm timeout 9
[2016-04-01 06:39:13]:  info: ppp0: send [IPV6CP ConfReq id=1 <addr 0:0:0:1>]
[2016-04-01 06:39:14]:  info: ppp0: recv [IPCP ConfAck id=1 <addr 172.16.100.1>]
[2016-04-01 06:39:14]: debug: ppp0: ipcp_layer_started
[2016-04-01 06:39:14]:  info: ppp0: recv [IPV6CP ConfAck id=1 <addr 0:0:0:1>]
[2016-04-01 06:39:14]: debug: ppp0: ipv6cp_layer_started
[2016-04-01 06:39:14]: debug: ppp0: pptp: ppp started
[2016-04-01 06:39:14]: debug: ppp0: recv [LCP EchoReq id=4 <magic 9efb17c7>]
[2016-04-01 06:39:14]: debug: ppp0: send [LCP EchoRep id=4 <magic 2bb7929b>]
[2016-04-01 06:39:14]:  info: ppp0: recv [DHCPv6 Solicit XID=c41e94 <Elapsed-Time 100663296> <Option-Request 21,22,DNS,DNSSL,31,56,64,67,82,83,94,95,96> <Client-ID 3:00015e56d5b0198f> <Reconfigure-Accept> <Option 39> <IA-NA 1000000 T1=0 T2=0> <IA-PD 1000000 T1=0 T2=0>]
[2016-04-01 06:39:14]: debug: libnetlink: RTNETLINK answers: File exists
[2016-04-01 06:39:14]:  info: ppp0: send [DHCPv6 Advertise XID=c41e94 <Server-ID 3:001b0000000000000001> <Client-ID 3:00015e56d5b0198f> <DNS 2a02:6b8::feed:ff,2001:4860:4860::8888> <IA-NA 1000000 T1=302400 T2=483840 {IA-Addr 2001:470:72af:4005::2 pref_lifetime=604800 valid_lifetime=2592000}> <IA-PD 1000000 T1=302400 T2=483840 {IA-Prefix 2001:470:72af:8004::/64 pref_lifetime=604800 valid_lifetime=2592000}> <Preference 255>]
[2016-04-01 06:39:15]: debug: ppp0: recv [LCP EchoReq id=5 <magic 9efb17c7>]
[2016-04-01 06:39:15]: debug: ppp0: send [LCP EchoRep id=5 <magic 2bb7929b>]
[2016-04-01 06:39:16]:  info: ppp0: recv [DHCPv6 Solicit XID=c41e94 <Elapsed-Time 100689664> <Option-Request 21,22,DNS,DNSSL,31,56,64,67,82,83,94,95,96> <Client-ID 3:00015e56d5b0198f> <Reconfigure-Accept> <Option 39> <IA-NA 1000000 T1=0 T2=0> <IA-PD 1000000 T1=0 T2=0>]
[2016-04-01 06:39:16]: debug: libnetlink: RTNETLINK answers: File exists
[2016-04-01 06:39:16]:  info: ppp0: send [DHCPv6 Advertise XID=c41e94 <Server-ID 3:001b0000000000000001> <Client-ID 3:00015e56d5b0198f> <DNS 2a02:6b8::feed:ff,2001:4860:4860::8888> <IA-NA 1000000 T1=302400 T2=483840 {IA-Addr 2001:470:72af:4005::2 pref_lifetime=604800 valid_lifetime=2592000}> <IA-PD 1000000 T1=302400 T2=483840 {IA-Prefix 2001:470:72af:8004::/64 pref_lifetime=604800 valid_lifetime=2592000}> <Preference 255>]
[2016-04-01 06:39:17]: debug: ppp0: recv [LCP EchoReq id=6 <magic 9efb17c7>]
[2016-04-01 06:39:17]: debug: ppp0: send [LCP EchoRep id=6 <magic 2bb7929b>]
[2016-04-01 06:39:18]: debug: ppp0: recv [LCP EchoReq id=7 <magic 9efb17c7>]
[2016-04-01 06:39:18]: debug: ppp0: send [LCP EchoRep id=7 <magic 2bb7929b>]
[2016-04-01 06:39:18]:  info: ppp0: recv [DHCPv6 Solicit XID=c41e94 <Elapsed-Time 100676865> <Option-Request 21,22,DNS,DNSSL,31,56,64,67,82,83,94,95,96> <Client-ID 3:00015e56d5b0198f> <Reconfigure-Accept> <Option 39> <IA-NA 1000000 T1=0 T2=0> <IA-PD 1000000 T1=0 T2=0>]
[2016-04-01 06:39:18]: debug: libnetlink: RTNETLINK answers: File exists
[2016-04-01 06:39:18]:  info: ppp0: send [DHCPv6 Advertise XID=c41e94 <Server-ID 3:001b0000000000000001> <Client-ID 3:00015e56d5b0198f> <DNS 2a02:6b8::feed:ff,2001:4860:4860::8888> <IA-NA 1000000 T1=302400 T2=483840 {IA-Addr 2001:470:72af:4005::2 pref_lifetime=604800 valid_lifetime=2592000}> <IA-PD 1000000 T1=302400 T2=483840 {IA-Prefix 2001:470:72af:8004::/64 pref_lifetime=604800 valid_lifetime=2592000}> <Preference 255>]
[2016-04-01 06:39:19]: debug: ppp0: recv [LCP EchoReq id=8 <magic 9efb17c7>]
[2016-04-01 06:39:19]: debug: ppp0: send [LCP EchoRep id=8 <magic 2bb7929b>]
[2016-04-01 06:39:20]: debug: ppp0: recv [LCP EchoReq id=9 <magic 9efb17c7>]
[2016-04-01 06:39:20]: debug: ppp0: send [LCP EchoRep id=9 <magic 2bb7929b>]
[2016-04-01 06:39:21]: debug: ppp0: recv [LCP EchoReq id=a <magic 9efb17c7>]
[2016-04-01 06:39:21]: debug: ppp0: send [LCP EchoRep id=a <magic 2bb7929b>]
[2016-04-01 06:39:21]:  warn: l2tp tunnel 36791-9 (178.76.235.130:1701): no acknowledgement from peer after 5 retransmissions, deleting tunnel
[2016-04-01 06:39:21]:  info: l2tp tunnel 36791-9 (178.76.235.130:1701): deleting tunnel
[2016-04-01 06:39:21]:  info: l2tp tunnel 36791-9 (178.76.235.130:1701): tunnel destroyed
[2016-04-01 06:39:22]: debug: ppp0: recv [LCP EchoReq id=b <magic 9efb17c7>]
[2016-04-01 06:39:22]: debug: ppp0: send [LCP EchoRep id=b <magic 2bb7929b>]
[2016-04-01 06:39:22]:  info: ppp0: recv [DHCPv6 Solicit XID=c41e94 <Elapsed-Time 100712194> <Option-Request 21,22,DNS,DNSSL,31,56,64,67,82,83,94,95,96> <Client-ID 3:00015e56d5b0198f> <Reconfigure-Accept> <Option 39> <IA-NA 1000000 T1=0 T2=0> <IA-PD 1000000 T1=0 T2=0>]
[2016-04-01 06:39:22]: debug: libnetlink: RTNETLINK answers: File exists
[2016-04-01 06:39:22]:  info: ppp0: send [DHCPv6 Advertise XID=c41e94 <Server-ID 3:001b0000000000000001> <Client-ID 3:00015e56d5b0198f> <DNS 2a02:6b8::feed:ff,2001:4860:4860::8888> <IA-NA 1000000 T1=302400 T2=483840 {IA-Addr 2001:470:72af:4005::2 pref_lifetime=604800 valid_lifetime=2592000}> <IA-PD 1000000 T1=302400 T2=483840 {IA-Prefix 2001:470:72af:8004::/64 pref_lifetime=604800 valid_lifetime=2592000}> <Preference 255>]
[2016-04-01 06:39:23]: debug: ppp0: recv [LCP EchoReq id=c <magic 9efb17c7>]
[2016-04-01 06:39:23]: debug: ppp0: send [LCP EchoRep id=c <magic 2bb7929b>]
[2016-04-01 06:39:24]: debug: ppp0: recv [LCP EchoReq id=d <magic 9efb17c7>]
[2016-04-01 06:39:24]: debug: ppp0: send [LCP EchoRep id=d <magic 2bb7929b>]
[2016-04-01 06:39:25]: debug: ppp0: recv [LCP EchoReq id=e <magic 9efb17c7>]
[2016-04-01 06:39:25]: debug: ppp0: send [LCP EchoRep id=e <magic 2bb7929b>]
[2016-04-01 06:39:26]: debug: ppp0: recv [LCP EchoReq id=f <magic 9efb17c7>]
[2016-04-01 06:39:26]: debug: ppp0: send [LCP EchoRep id=f <magic 2bb7929b>]
[2016-04-01 06:39:27]: debug: ppp0: recv [LCP EchoReq id=10 <magic 9efb17c7>]
[2016-04-01 06:39:27]: debug: ppp0: send [LCP EchoRep id=10 <magic 2bb7929b>]
[2016-04-01 06:39:28]: debug: ppp0: recv [LCP EchoReq id=11 <magic 9efb17c7>]
[2016-04-01 06:39:28]: debug: ppp0: send [LCP EchoRep id=11 <magic 2bb7929b>]
[2016-04-01 06:39:29]: debug: ppp0: recv [LCP EchoReq id=12 <magic 9efb17c7>]
[2016-04-01 06:39:29]: debug: ppp0: send [LCP EchoRep id=12 <magic 2bb7929b>]
[2016-04-01 06:39:29]:  info: ppp0: recv [DHCPv6 Solicit XID=c41e94 <Elapsed-Time 100713733> <Option-Request 21,22,DNS,DNSSL,31,56,64,67,82,83,94,95,96> <Client-ID 3:00015e56d5b0198f> <Reconfigure-Accept> <Option 39> <IA-NA 1000000 T1=0 T2=0> <IA-PD 1000000 T1=0 T2=0>]
[2016-04-01 06:39:29]: debug: libnetlink: RTNETLINK answers: File exists
[2016-04-01 06:39:29]:  info: ppp0: send [DHCPv6 Advertise XID=c41e94 <Server-ID 3:001b0000000000000001> <Client-ID 3:00015e56d5b0198f> <DNS 2a02:6b8::feed:ff,2001:4860:4860::8888> <IA-NA 1000000 T1=302400 T2=483840 {IA-Addr 2001:470:72af:4005::2 pref_lifetime=604800 valid_lifetime=2592000}> <IA-PD 1000000 T1=302400 T2=483840 {IA-Prefix 2001:470:72af:8004::/64 pref_lifetime=604800 valid_lifetime=2592000}> <Preference 255>]
[2016-04-01 06:39:30]: debug: ppp0: recv [LCP EchoReq id=13 <magic 9efb17c7>]
[2016-04-01 06:39:30]: debug: ppp0: send [LCP EchoRep id=13 <magic 2bb7929b>]
[2016-04-01 06:39:30]: debug: ppp0: send [LCP EchoReq id=2 <magic 2bb7929b>]
[2016-04-01 06:39:30]: debug: ppp0: recv [LCP EchoRep id=2 <magic 9efb17c7>]
[2016-04-01 06:39:31]: debug: ppp0: recv [LCP EchoReq id=14 <magic 9efb17c7>]
[2016-04-01 06:39:31]: debug: ppp0: send [LCP EchoRep id=14 <magic 2bb7929b>]
[2016-04-01 06:39:32]: debug: ppp0: recv [LCP EchoReq id=15 <magic 9efb17c7>]
[2016-04-01 06:39:32]: debug: ppp0: send [LCP EchoRep id=15 <magic 2bb7929b>]
[2016-04-01 06:39:33]: debug: ppp0: recv [LCP EchoReq id=16 <magic 9efb17c7>]
[2016-04-01 06:39:33]: debug: ppp0: send [LCP EchoRep id=16 <magic 2bb7929b>]
[2016-04-01 06:39:34]: debug: ppp0: recv [LCP EchoReq id=17 <magic 9efb17c7>]
[2016-04-01 06:39:34]: debug: ppp0: send [LCP EchoRep id=17 <magic 2bb7929b>]
[2016-04-01 06:39:35]: debug: ppp0: recv [LCP EchoReq id=18 <magic 9efb17c7>]
[2016-04-01 06:39:35]: debug: ppp0: send [LCP EchoRep id=18 <magic 2bb7929b>]
смущает вот эта строка в логах, как раз перед попыткой добавить префикс

Code: Select all

[2016-04-01 06:39:29]: debug: libnetlink: RTNETLINK answers: File exists
[2016-04-01 06:39:29]:  info: ppp0: send [DHCPv6 Advertise XID=c41e94 <Server-ID 3:001b0000000000000001> <Client-ID 3:00015e56d5b0198f> <DNS 2a02:6b8::feed:ff,2001:4860:4860::8888> <IA-NA 1000000 T1=302400 T2=483840 {IA-Addr 2001:470:72af:4005::2 pref_lifetime=604800 valid_lifetime=2592000}> <IA-PD 1000000 T1=302400 T2=483840 {IA-Prefix 2001:470:72af:8004::/64 pref_lifetime=604800 valid_lifetime=2592000}> <Preference 255>]
должна быть строчка вида: dhcpv6: route add хххх
такую строчку ни разу в логах не встречал

Dmitry
Администратор
Posts: 949
Joined: 09 Oct 2014, 10:06

Re: prefix-delegation

Post by Dmitry » 01 Apr 2016, 04:35

а,я понял, нет DHCPv6 Request от клиента
IA-Prefix 2001:470:72af:8004::/64, а почему /64 ?
вот как должно быть:

Code: Select all

[2016-04-01 00:05:00]:  info: ppp0: recv [DHCPv6 Solicit XID=335226 <Client-ID 1:00011e904bbe525400123460> <IA-NA 1000000 T1=0 T2=0> <Elapsed-Time 419430400> <IA-PD 1000000 T1=0 T2=0>]
[2016-04-01 00:05:00]:  info: ppp0: send [DHCPv6 Advertise XID=335226 <Server-ID 3:001b0000000000000001> <Client-ID 1:00011e904bbe525400123460> <IA-NA 1000000 T1=90 T2=144 {IA-Addr 2001:470:70c9::2 pref_lifetime=180 valid_lifetime=360}> <IA-PD 1000000 T1=90 T2=144 {IA-Prefix fc00:1::/48 pref_lifetime=180 valid_lifetime=360}> <Preference 255>]
[2016-04-01 00:05:00]:  info: ppp0: recv [DHCPv6 Request XID=1e544a <Client-ID 1:00011e904bbe525400123460> <Server-ID 3:001b0000000000000001> <IA-NA 1000000 T1=0 T2=0 {IA-Addr 2001:470:70c9::2 pref_lifetime=180 valid_lifetime=360}> <Elapsed-Time 419430400> <IA-PD 1000000 T1=0 T2=0 {IA-Prefix fc00:1::/48 pref_lifetime=180 valid_lifetime=360}>]
[2016-04-01 00:05:00]:  info: ppp0: dhcpv6: route add fc00:1::/48 via 2001:470:70c9::2
[2016-04-01 00:05:00]:  info: ppp0: send [DHCPv6 Reply XID=1e544a <Server-ID 3:001b0000000000000001> <Client-ID 1:00011e904bbe525400123460> <IA-NA 1000000 T1=90 T2=144 {IA-Addr 2001:470:70c9::2 pref_lifetime=180 valid_lifetime=360}> <IA-PD 1000000 T1=90 T2=144 {IA-Prefix fc00:1::/48 pref_lifetime=180 valid_lifetime=360}> <Preference 255>]

finn
Posts: 8
Joined: 24 Nov 2014, 15:41

Re: prefix-delegation

Post by finn » 01 Apr 2016, 11:31

хм...как же тогда заставить клиента отправить реквест.
На втором конце роутер с openwrt, ipv6 включено, адрес получает

Dmitry
Администратор
Posts: 949
Joined: 09 Oct 2014, 10:06

Re: prefix-delegation

Post by Dmitry » 01 Apr 2016, 12:45

1. попробуй без IA-PD
2. попробуй делегировать более широкий префикс

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest