IPv6 DHCP 4.1.0

Sasha Tchepourko s.tchepourko at griffith.edu.au
Mon May 11 07:28:06 UTC 2009


Hi,

I've spent some time on this now and can't seem to get any hosts to dhcp 
an ipv6 address...

1. my dhcpd.conf file looks very simple, like this:
+-----------------------------------------------------------------------------+
dhcpv6-lease-file-name "/var/log/dhcpd6.leases";
dhcpv6-pid-file-name "/var/run/dhcpd6.pid";

authoritative;

option dhcp-renewal-time 86400;
option dhcp-rebinding-time 43200;

subnet6 2001:388:3054:10A1::/64 {
        range6 2001:388:3054:10A1::/64;
}
+-----------------------------------------------------------------------------+

2. the router interface is setup as follows:
+-----------------------------------------------------------------------------+
interface Vlan10
 no ip address
 ipv6 address 2001:388:3054:10A1::FF/64
 ipv6 enable
 ipv6 nd managed-config-flag
 ipv6 nd other-config-flag
 ipv6 nd ra suppress
 ipv6 eigrp 1
end
+-----------------------------------------------------------------------------+


3. the dhcp server address is 2001:388:3054:10A1::1 and it's got 
connectivity on the local vlan via link-local addresses (pings local 
router and other hosts). The dhcpd is started with '-6' option for ipv6 
only. The server flavour is FreeBSD 7.0


4. 'tcpdump -nvvvi le0 -p ip6' on the server gives me the following when 
a mac osx leopard is connected to the network and trying to get an address
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
17:17:52.318277 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 
16) fe80::216:cbff:fe93:4199 > ff02::2: [icmp6 sum ok] ICMP6, router 
solicitation, length 16
      source link-address option (1), length 8 (1): 00:16:cb:93:41:99
        0x0000:  0016 cb93 4199
17:17:53.530488 IP6 (hlim 1, next-header Options (0) payload length: 32) 
fe80::216:cbff:fe93:4199 > ff02::2: HBH (padn)(rtalert: 0x0000) [icmp6 
sum ok] ICMP6, multicast listener done, length 24max resp delay: 0 addr: 
ff02::fb
17:17:54.258152 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 
16) fe80::216:cbff:fe93:4199 > ff02::2: [icmp6 sum ok] ICMP6, router 
solicitation, length 16
      source link-address option (1), length 8 (1): 00:16:cb:93:41:99
        0x0000:  0016 cb93 4199
17:17:57.065823 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 
16) fe80::216:cbff:fe93:4199 > ff02::2: [icmp6 sum ok] ICMP6, router 
solicitation, length 16
      source link-address option (1), length 8 (1): 00:16:cb:93:41:99
        0x0000:  0016 cb93 4199
17:18:01.424754 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 
16) fe80::216:cbff:fe93:4199 > ff02::2: [icmp6 sum ok] ICMP6, router 
solicitation, length 16
      source link-address option (1), length 8 (1): 00:16:cb:93:41:99
        0x0000:  0016 cb93 4199
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+


5. 'tcpdump -nvvvi le0 -p ip6' on the server gives me the following when 
a windows vista is connected to the network and trying to get an address
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
17:21:19.997957 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 
16) fe80::d0fc:f765:6bfb:bbcb > ff02::2: [icmp6 sum ok] ICMP6, router 
solicitation, length 16
      source link-address option (1), length 8 (1): 00:14:22:ee:6b:82
        0x0000:  0014 22ee 6b82
17:21:23.996086 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 
16) fe80::d0fc:f765:6bfb:bbcb > ff02::2: [icmp6 sum ok] ICMP6, router 
solicitation, length 16
      source link-address option (1), length 8 (1): 00:14:22:ee:6b:82
        0x0000:  0014 22ee 6b82
17:21:25.045250 IP6 (hlim 1, next-header UDP (17) payload length: 34) 
fe80::d0fc:f765:6bfb:bbcb.64054 > ff02::1:3.5355: [udp sum ok] UDP, 
length 26
17:21:25.152172 IP6 (hlim 1, next-header UDP (17) payload length: 34) 
fe80::d0fc:f765:6bfb:bbcb.64054 > ff02::1:3.5355: [udp sum ok] UDP, 
length 26
17:21:27.995009 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 
16) fe80::d0fc:f765:6bfb:bbcb > ff02::2: [icmp6 sum ok] ICMP6, router 
solicitation, length 16
      source link-address option (1), length 8 (1): 00:14:22:ee:6b:82
        0x0000:  0014 22ee 6b82
17:21:31.499912 IP6 (hlim 1, next-header UDP (17) payload length: 34) 
fe80::d0fc:f765:6bfb:bbcb.50110 > ff02::1:3.5355: [udp sum ok] UDP, 
length 26
17:21:31.604435 IP6 (hlim 1, next-header UDP (17) payload length: 34) 
fe80::d0fc:f765:6bfb:bbcb.50110 > ff02::1:3.5355: [udp sum ok] UDP, 
length 26
17:21:31.830029 IP6 (hlim 1, next-header UDP (17) payload length: 34) 
fe80::d0fc:f765:6bfb:bbcb.55577 > ff02::1:3.5355: [udp sum ok] UDP, 
length 26
17:21:31.947513 IP6 (hlim 1, next-header UDP (17) payload length: 34) 
fe80::d0fc:f765:6bfb:bbcb.55577 > ff02::1:3.5355: [udp sum ok] UDP, 
length 26
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+


Any ideas why none of me hosts can get an address?

Regards,

Sasha




More information about the dhcp-users mailing list