Can't seem to make dhcrelay or dhcpd working(receive) for DHCPv6

George Sheng georgesheng14 at gmail.com
Fri Dec 16 01:57:25 UTC 2016


I'm playing with the ISC dhcp 4.3.5 code, on centos 6 and 7 hosts.

client                           relay or server
 host1 <-- ethernet --> host2
      vlan20                 vlan20

I can see the dhclient send out solicit packets from host1, and
tcpdump on host2 prints out it gets the packets:

tcpdump -i enp3s0.20 udp -vv:

17:44:23.377713 IP6 (hlim 1, next-header UDP (17) payload length: 71)
fe80::211:2fff:fe85:8cf4.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum
ok] dhcp6 solicit (xid=8cb62a (client-ID hwaddr/time type 1 time 535166114
00112f858cf4) (option-request DNS-server DNS-search-list) (elapsed-time
709) (Client-FQDN) (IA_NA IAID:797281524 T1:3600 T2:5400))

17:44:31.365915 IP6 (hlim 1, next-header UDP (17) payload length: 71)
fe80::211:2fff:fe85:8cf4.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum
ok] dhcp6 solicit (xid=8cb62a (client-ID hwaddr/time type 1 time 535166114
00112f858cf4) (option-request DNS-server DNS-search-list) (elapsed-time
1508) (Client-FQDN) (IA_NA IAID:797281524 T1:3600 T2:5400))


But the dhcrelay never receives any packet on the vlan20 interface:


relay/dhcrelay -6 -d -l enp3s0.20 -u e3s0.10

[sudo] password for naiming:

Internet Systems Consortium DHCP Relay Agent 4.3.5

Copyright 2004-2016 Internet Systems Consortium.

All rights reserved.

For info, please visit https://www.isc.org/software/dhcp/

Bound to *:547

Listening on Socket/enp3s0.10

Sending on   Socket/enp3s0.10

Listening on Socket/enp3s0.20

Sending on   Socket/enp3s0.20


I have debugs inside the socket code trying to see if there is any
receiving packet, no.


Has anyone have experience on this DHCPv6 setup? maybe this is particular
to vlan?

thanks.


George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20161215/3a01d419/attachment.html>


More information about the dhcp-users mailing list