kamene
kamene copied to clipboard
DHCP6OptIAAddress may create DHCP option data
Type the command was shown below to create a dhcpv6 reply packet.
dhcpv6Reply=Ether(type=34525, dst='00:e0:4c:36:00:db', src='00:0c:29:10:0d:12')/IPv6(nh=17, src='fe80::20c:29ff:fe10:d12', fl=0, tc=0, dst='fe80::ade6:e8b1:d7da:dff2', version=6, hlim=64)/UDP(sport=547, dport=546)/DHCP6_Reply(msgtype=7, trid=4692328)/DHCP6OptIA_NA(T2=0, optcode=3, ianaopts=[DHCP6OptIAAddress(optcode=5, addr='2001:db8:0:1::253', preflft=375, validlft=600)], T1=0, iaid=738254924)/DHCP6OptClientId(optcode=1, duid=DUID_LLT(type=1, lladdr='38:2c:4a:c9:3d:a4', timeval=474539933, hwtype=1))/DHCP6OptServerId(optcode=2, duid=DUID_LLT(type=1, lladdr='00:0c:29:10:0d:12', timeval=492749262, hwtype=1))
Send this packet and capture this packet by Wireshark.

In red block, the DHCP option was created but the command doesn't include any DHCPv4 options. For windows 7 DHCPv6 client, it looks like cannot be received. The IPv6 will be released..