Hello.
I have SRX220H, JUNOS 12.1X46-D55.3. My ISP uses DHCPv6 PD with DUID-LL.
I cannot get IPv6.
My config:
# show interfaces ge-0/0/7 description ISP; unit 0 { family inet6 { dhcpv6-client { client-type statefull; client-ia-type ia-pd; client-ia-type ia-na; update-router-advertisement { interface ge-0/0/0.2 { max-advertisement-interval 10; min-advertisement-interval 5; } } client-identifier duid-type duid-ll; } } }
Current status dhcpv6 client:
> show dhcpv6 client binding detail Client Interface: ge-0/0/7.0 Hardware Address: 3c:8a:b0:5e:bd:1f State: SELECTING(DHCPV6_CLIENT_STATE_SELECTING) ClientType: STATEFUL Bind Type: IA_NA IA_PD Client DUID: LL0x3-3c:8a:b0:5e:bd:1f Rapid Commit: Off Server Ip Address: ::/0 Client IP Address: ::/0 Client IP Prefix: ::/0
On interface:
> show interfaces ge-0/0/7 terse Interface Admin Link Proto Local Remote ge-0/0/7 up up ge-0/0/7.0 up up inet X.X.X.X/XX inet6 fe80::3e8a:b0ff:fe5e:bd1f/64
But in wireshark I see different Link-Local Address and DUID
Frame 319: 112 bytes on wire (896 bits), 112 bytes captured (896 bits) on interface 0 Ethernet II, Src: JuniperN_5e:bd:1f (3c:8a:b0:5e:bd:1f), Dst: IPv6mcast_01:00:02 (33:33:00:01:00:02) Internet Protocol Version 6, Src: fe80::3e8a:b0ff:fe5e:bd1f, Dst: ff02::1:2 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 58 Next header: UDP (17) Hop limit: 255 Source: fe80::3e8a:b0ff:fe5e:bd1f [Source SA MAC: JuniperN_5e:bd:1f (3c:8a:b0:5e:bd:1f)] Destination: ff02::1:2 [Source GeoIP: Unknown] [Destination GeoIP: Unknown] User Datagram Protocol, Src Port: 546 (546), Dst Port: 547 (547) DHCPv6 Message type: Solicit (1) Transaction ID: 0xe79a44 Client Identifier Option: Client Identifier (1) Length: 10 Value: 000300013c8ab05ec71f DUID: 000300013c8ab05ec71f DUID Type: link-layer address (3) Hardware type: Ethernet (1) Link-layer address: 3c:8a:b0:5e:c7:1f Identity Association for Prefix Delegation Option: Identity Association for Prefix Delegation (25) Length: 12 Value: 00000000ffffffffffffffff IAID: 00000000 T1: infinity T2: infinity Identity Association for Non-temporary Address Option: Identity Association for Non-temporary Address (3) Length: 12 Value: 00000000ffffffffffffffff IAID: 00000000 T1: infinity T2: infinity
In config Client DUID: LL0x3-3c:8a:b0:5e:bd:1f but in request DUID: 000300013c8ab05ec71f.
With OpenWRT 15.05 with same MAC I see correct DUID in DHCPv6 request and get IPv6 from ISP.
I did not find the informationwhy mySRXgeneratesDHCPrequest exactly.