My dhcp server using isc dhcpd v4.3.6,dhcpd6.conf file:
subnet6 2001:xx:xxx:xxx::/64 {
range6 2001:xx:xxx:xxx::10 2001:xx:xxx:xxx::ffff;
option dhcp6.name-servers 2001:xxx:xx::131;
default-lease-time 3600;
max-lease-time 3600;
always-broadcast on;
}
Step1:When PC and dhcpv6 server in the same subnet: PC can get a ipv6 address from dhcpv6 server pool.I can see solicit,advertise,request and reply packet,everything is fine.
Step2:When PC and dhcpv6 server NOT in the same subnet: My network is PC-Router-dhcp server,the router is huawei or H3C router. The router conf is:
interface Vlanif200
ipv6 enable
ipv6 address 2001:xx:xx:xx:xxx::1/64
ipv6 nd ra prefix 2001:xx:xx:xx::/64 28800 28800
undo ipv6 nd ra halt
ipv6 nd autoconfig managed-address-flag
ipv6 nd autoconfig other-flag
dhcpv6 relay destination 2001:xx:xxx:xx:xxx
The PC can't get ipv6 address from dhcpv6 server.Capture packet on pc,i just saw PC sent a solicit packet and got a advertise packet from relay router,but the pc didn't send a request packet,Why???