IPoE does not sending IPv6 default-gateway

IPoE related questions
Post Reply
uesleycorrea
Posts: 17
Joined: 27 Nov 2017, 13:37

IPoE does not sending IPv6 default-gateway

Post by uesleycorrea »

Hi!

I have a problem with default-gateway IPv6. In my scenario, using Fiberhome and vlan_mon, with bridged ONU. After ONU, a TP-Link or D-Link Router. The router get all IPv6 information (IPv6 EUI64, /56 prefix, DNS) but not get default-gateway. Using Mikrotik Router-OS as CPE, is running put a ULA Address a default-gateway by default. But in TP-Link or D-Link not make this. The question is: Have other option for send IPv6-Default-Gateway a slaac/DHCPv6 connection for my IPoE customers?

Regards!
Screen Shot 2017-12-16 at 09.16.35.png
Screen Shot 2017-12-16 at 09.16.35.png (17.69 KiB) Viewed 2197 times
uesleycorrea
Posts: 17
Joined: 27 Nov 2017, 13:37

Re: IPoE does not sending IPv6 default-gateway

Post by uesleycorrea »

@dmitry, have any idea?
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: IPoE does not sending IPv6 default-gateway

Post by Dmitry »

i don't know, it has to obtain default gateway by ICMPv6 Router-Advertisement
try to record traffic with tcpdump/wireshark
uesleycorrea
Posts: 17
Joined: 27 Nov 2017, 13:37

Re: IPoE does not sending IPv6 default-gateway

Post by uesleycorrea »

Hi!

In pcap, i don't find the ICMPv6 Router-Adversisement. The CPE requires router address in Router-Solicitation message but the accel-ppp (linux) is not reply.

Attached here the pcap screen.
Attachments
Screen Shot 2017-12-22 at 17.57.48.png
Screen Shot 2017-12-22 at 17.57.48.png (181.21 KiB) Viewed 2150 times
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: IPoE does not sending IPv6 default-gateway

Post by Dmitry »

is ipv6_nd present in accel-ppp.conf ?
which prefix length do you assign ?
please show accel-ppp logs
uesleycorrea
Posts: 17
Joined: 27 Nov 2017, 13:37

Re: IPoE does not sending IPv6 default-gateway

Post by uesleycorrea »

Yes, I have ipv6_nd in my conf. Bellow is the accel_ppp log:

[2017-12-23 19:55:29.988] eth2.110.90: 01C9F145369302D6: recv [DHCPv6 Solicit XID=6bc80b <Client-ID 3:0001704f574db0d7> <IA-NA 0 T1=0 T2=0> <Elapsed-Time 21037062> <Option-Request DNS> <IA-PD 1 T1=0 T2=0>]
[2017-12-23 19:55:29.988] eth2.110.90: 01C9F145369302D6: radius(1): req_enter 1
[2017-12-23 19:55:29.988] eth2.110.90: 01C9F145369302D6: send [RADIUS(1) Accounting-Request id=2 <User-Name "12/16/FHTT-11146a68"> <NAS-Identifier "IPoE01-Papucaia"> <NAS-IP-Address 100.99.0.2> <NAS-Port 184> <NAS-Port-Id "eth2.110.90"> <NAS-Port-Type Ethernet> <Calling-Station-Id "70:4f:57:4d:b0:d7"> <Called-Station-Id "eth2.110.90"> <Acct-Status-Type Alive> <Acct-Authentic RADIUS> <Acct-Session-Id "01C9F145369302D6"> <Acct-Session-Time 30> <Acct-Input-Octets 101411> <Acct-Output-Octets 159675> <Acct-Input-Packets 509> <Acct-Output-Packets 451> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 191.xxx.72.216> <Framed-Interface-Id 724f:57ff:fe4d:b0d7> <Framed-IPv6-Prefix 2804:xxxx:8013:2e::/64> <Delegated-IPv6-Prefix 2804:xxxx:8024:d00::/56>]
[2017-12-23 19:55:29.989] eth2.110.90: 01C9F145369302D6: send [DHCPv6 Advertise XID=6bc80b <Server-ID 3:001b0000000000000002> <Client-ID 3:0001704f574db0d7> <IA-NA 0 T1=150 T2=240 {IA-Addr 2804:xxxx:8013:2e:724f:57ff:fe4d:b0d7 pref_lifetime=300 valid_lifetime=300}> <DNS 2001:4860:4860::8888,2001:4860:4860::8844> <IA-PD 1 T1=150 T2=240 {IA-Prefix 2804:xxxx:8024:d00::/56 pref_lifetime=300 valid_lifetime=300}> <Preference 255>]
[2017-12-23 19:55:29.990] eth2.110.90: 01C9F145369302D6: recv [DHCPv6 Request XID=e03245 <Client-ID 3:0001704f574db0d7> <Server-ID 3:001b0000000000000002> <IA-NA 0 T1=0 T2=0 {IA-Addr 2804:xxxx:8013:2e:724f:57ff:fe4d:b0d7 pref_lifetime=300 valid_lifetime=300}> <Elapsed-Time 6> <Option-Request DNS> <IA-PD 1 T1=0 T2=0 {IA-Prefix 2804:xxxx:8024:d00::/56 pref_lifetime=300 valid_lifetime=300}>]
[2017-12-23 19:55:29.990] eth2.110.90: 01C9F145369302D6: dhcpv6: route add 2804:xxxx:8024:d00::/56 via 2804:xxxx:8013:2e:724f:57ff:fe4d:b0d7
[2017-12-23 19:55:29.990] eth2.110.90: 01C9F145369302D6: send [DHCPv6 Reply XID=e03245 <Server-ID 3:001b0000000000000002> <Client-ID 3:0001704f574db0d7> <IA-NA 0 T1=150 T2=240 {IA-Addr 2804:xxxx:8013:2e:724f:57ff:fe4d:b0d7 pref_lifetime=300 valid_lifetime=300}> <DNS 2001:4860:4860::8888,2001:4860:4860::8844> <IA-PD 1 T1=150 T2=240 {IA-Prefix 2804:xxxx:8024:d00::/56 pref_lifetime=300 valid_lifetime=300}> <Preference 255>]
[2017-12-23 19:55:29.992] eth2.110.90: 01C9F145369302D6: radius(1): req_exit 0
[2017-12-23 19:55:29.992] eth2.110.90: 01C9F145369302D6: recv [RADIUS(1) Accounting-Response id=2]
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: IPoE does not sending IPv6 default-gateway

Post by Dmitry »

did you enable ipv6 in ipoe section ?
[ipoe]
ipv6=1
Post Reply