warn: dhcpv6: invalid packet received

IPoE related questions
Post Reply
leosixers
Posts: 5
Joined: 29 Jul 2019, 20:12

warn: dhcpv6: invalid packet received

Post by leosixers » 01 Aug 2019, 17:23

I have a issue using option82 on my GPON System. When I activate it the system starts to insert circuit-id inside dhcp4 packets and it also inserts the Interface-Id (ipv6 option 18) on ipv6 dhcp solict packets.

Using tcpdump at the QinQ interface I canse the DHCP solicit comming and the following log is printed to Accel logs:

warn: dhcpv6: invalid packet received

My TCPDUMP:

13:20:55.881310 IP6 (hlim 1, next-header UDP (17) payload length: 149) fe80::1a0d:2cff:fe33:bff2.546 > ff02::1:2.547: [udp sum ok] dhcp6 relay-fwd (linkaddr= fe80::b0b:1:47b9:f029 peeraddr=fe80::b0b:1:47b9:f029 (relay-message (dhcp6 solicit (xid=c3e571 (client-ID hwaddr/time type 1 time 9141130 180d2c33bff2) (IA_N A IAID:2 T1:0 T2:0) (elapsed-time 49200) (option-request DNS-server) (IA_PD IAID:2 T1:0 T2:0))) (interface-ID 3139322e3136382e3130...))
0x0000: 3333 0001 0002 180d 2c33 bff2 86dd 6000 33......,3....`.
0x0010: 0000 0095 1101 fe80 0000 0000 0000 1a0d ................
0x0020: 2cff fe33 bff2 ff02 0000 0000 0000 0000 ,..3............
0x0030: 0000 0001 0002 0222 0223 0095 fc33 0c01 .......".#...3..
0x0040: fe80 0000 0000 0000 0b0b 0001 47b9 f029 ............G..)
0x0050: fe80 0000 0000 0000 0b0b 0001 47b9 f029 ............G..)
0x0060: 0009 0042 01c3 e571 0001 000e 0001 0001 ...B...q........
0x0070: 008b 7b8a 180d 2c33 bff2 0003 000c 0000 ..{...,3........
0x0080: 0002 0000 0000 0000 0000 0008 0002 c030 ...............0
0x0090: 0006 0002 0017 0019 000c 0000 0002 0000 ................
0x00a0: 0000 0000 0000 0012 0021 3139 322e 3136 .........!192.16
0x00b0: 382e 3130 2e31 3a31 2d31 2d31 2d32 3538 8.10.1:1-1-1-258
0x00c0: 2d67 706f 6e70 6f72 742d 31 -gponport-1

Client is not able to recevei dhcp reply from Accel.

I believe that the problem is that Accel is not able to parse the DHCP packet with the Relay-Forw and the Interface-Id. Can you please help me with that? I am not able to turn off the relay-forw or interfa-id on my system.

Thanks

Leonardo

dimka88
Posts: 564
Joined: 13 Oct 2014, 05:51
Contact:

Re: warn: dhcpv6: invalid packet received

Post by dimka88 » 03 Aug 2019, 05:41

Hello leosixers, can you capture for me 1-2 minutes traffic and save to cap file when client starting?

leosixers
Posts: 5
Joined: 29 Jul 2019, 20:12

Re: warn: dhcpv6: invalid packet received

Post by leosixers » 05 Aug 2019, 11:50

Hello Dmitri,

I have attached the pcap file from client start session. Please let me know if you need anything else.

Thanks

Leonardo
Attachments
accelIPV6.zip
(1.45 KiB) Downloaded 4 times

leosixers
Posts: 5
Joined: 29 Jul 2019, 20:12

Re: warn: dhcpv6: invalid packet received

Post by leosixers » 16 Aug 2019, 14:34

Hi Dimitri,

Were you able to look at this?

Thanks

Leonardo

dimka88
Posts: 564
Joined: 13 Oct 2014, 05:51
Contact:

Re: warn: dhcpv6: invalid packet received

Post by dimka88 » 19 Aug 2019, 05:46

Hi, I agree, exist some problem with option 82 and ipv6 in accel-ppp. Do you really need option 82 for ipv6?

leosixers
Posts: 5
Joined: 29 Jul 2019, 20:12

Re: warn: dhcpv6: invalid packet received

Post by leosixers » 19 Aug 2019, 11:23

Hi Dimitri,

I don't need it, but I am also not able to turn it off on my system. When I enable option 82 it starts to work for ipv4 and ipv6. I have talked to the manufacturer and this is a discontinued product that they won't provide support anymore.

Is this to much codding to make it work? Or is there a turn arround which I could make?

maybe a minor modification at the *parse_option funcition that could bypass the packet.

dimka88
Posts: 564
Joined: 13 Oct 2014, 05:51
Contact:

Re: warn: dhcpv6: invalid packet received

Post by dimka88 » 19 Aug 2019, 15:16

I think we need same functionality in eve-ng, for reproduce this. I try to find device

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

Re: warn: dhcpv6: invalid packet received

Post by Dmitry » 19 Aug 2019, 18:59

try attached patch
Attachments
dhcpv6-relay.patch.gz
(2.13 KiB) Downloaded 2 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest