<div dir="ltr">Hi there. I'm a college student using ISC DHCP for our lab project (IPv6 Network test for PCs & smart Phones).<br>Now I got problems when implement DHCPv6-PD...<br><br>Environment:<br><br>VM1 (DHCPv6 Server): Ubuntu 12.04.3 x64 server / ISC DHCP Server 4.1-ESV-R4 / RADVD 1.8.3<br>
VM2 (DHCPv6-PD Client): Ubuntu 12.04.3 x64 desktop / ISC DHCP Client 4.1-ESV-R4 / RADVD 1.8.3<br>VM3 (IPv6 Host): Ubuntu 12.04.3 x64 desktop<br><br>all VMs in a VMware ESXi system<br><br>simple network topo:<br><br> VM1 ------ (eth0)VM2(eth1) ------ VM3<br>
<br>[Server] config:(/etc/dhcp/dhcpd6.conf)<br>---------------------<br>default-lease-time 600;<br>max-lease-time 7200;<br>log-facility local7;<br><br># Server IP: 2001:db8:20:1::1<br>subnet6 2001:db8:20:1::/64 {<br> # Range for clients<br>
range6 2001:db8:20:1::100 2001:db8:20:1::249;<br> # Additional options<br> option dhcp6.name-servers 2001:db8:21:1::fe;<br> # Prefix Delegation<br> prefix6 2001:db8:20:100:: 2001:db8:20:f00 /56;<br>
}<br>---------------------<br>/etc/radvd.conf<br>---------------------<br>interface eth0 {<br> AdvSendAdvert on;<br> MaxRtrAdvInterval 30;<br> AdvManagedFlag on;<br> AdvOtherConfigFlag on;<br>}<br>---------------------<br>
running: <br>/etc/init.d/radvd start<br>service isc-dhcpv6-server start<br><br>[PD-Client]:(/etc/dhcp/<div dir="ltr">dhclient6.conf)<br>---------------------<br>interface "eth0" {<br> send dhcp6.ia-na 1;<br> send dhcp6.ia-pd 1;<br>
request dhcp6.domain-search, dhcp6.name-servers;<br> script "/etc/dhcp/pd-script";<br>}<br>---------------------<br><br>/etc/dhcp/pd-script<br>---------------------<br>#!/bin/bash<br><br>if [ x"$new_ip6_prefix" != x ]; then<br>
ip addr add $new_ip6_prefix dev eth1;<br>fi<br>---------------------<br><br>/etc/radvd.conf<br>---------------------<br>interface eth1 {<br><br> AdvSendAdvert on;<br> MaxRtrAdvInterval 30;<br> AdvDefaultPreference high;<br>
AdvManagedFlag off;<br> AdvOtherConfigFlag off;<br> AdvLinkMTU 1280;<br> <br> prefix ::/64 {<br> <br> AdvOnLink on;<br> AdvAutonomous on;<br> <br> };<br> <br>};<br>---------------------<br><br>running:<br>
dhclient -cf "/etc/dhcp/dhclient6.conf" -P -N eth0 (also try: dhclient -cf "/etc/dhcp/dhclient6.conf" -P -S -nw eth0)<br>/etc/init.d/radvd start<br><br>sysctl -p:<br>net.ipv6.conf.all.forwarding = 1<br>
net.ipv6.conf.eth0.accept_ra = 2<br><br><br>But the fact this PD-Client even didn't receive any info from Server...(Could I post *.PCAPs by tcpdump to attachment?)<br><br>On the other hand, when I instead use wide-dhcpv6-client, It works OK(reference: <a href="http://www.ipcalypse.ca/?p=204">http://www.ipcalypse.ca/?p=204</a>), the host got the address as PD serves<br>
But our goal is all to use ISC DHCP (also my tutor demand), so how to solve the issue, please...</div></div>