Routing subnet of delegated ipv6 subnet

Alan White alan at whitemail.net
Sun May 3 21:47:01 UTC 2020


Folks

I’m struggling to find the right syntax in the ISC dhclient and server for the following scenario, which I thought should be fairly common, but I’m new to ipv6 so maybe I’m about to find out it’s not a good use case.

I have a dual homed host, the wlan interface is being allocated a global ipv6 address fine by the ISP’s router. The host also has a hardwired connection to a gigE switch which has a number of other single-homed hosts hanging off it. I would like the interfaces on all hosts on the private gigE switch to be allocated global IPv6 addresses. I’d like them to be on a dedicated subnet so I can discover them using link local multicasts. The hosts are all workers running an identical ubuntu image that will use SLAAC to generate an address from a DP, these have no embedded identity other than their mac address. I’m trying to treat them as cattle.

ISP provides a /56 DP, leaving me with 8 bits for my own subnets. My understanding is I set up the client to request the DP with an IA that will become the subnet, eg an IA of 1 will result in the 8 bits after the /56 in the DP being set to 1, to extend the /56 to become a /64 with a subnet of 1. 

What I’d then like to do is advertise that /64 DP, ie with the locally unique subnet id of 1 on the hardwired link, so the other hosts can receive the prefix and generate ipv6 addresses.

I’m trying to avoid hardcoding the DP, i.e. just take what’s delegated, and use it as the prefix for DHCP server on the other interface.

Does it look like I’ve misunderstood how this should work, which would explain why I can’t find the right options to configure in the DHCP client and server on the dual homed host? Any and all help gratefully received.

Thanks
Alan




More information about the dhcp-users mailing list