Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Routing subnet of delegated ipv6 subnet (Alan White)
   2. Re: Routing subnet of delegated ipv6 subnet (Erik Muller)


----------------------------------------------------------------------

Message: 1
Date: Sun, 3 May 2020 22:47:01 +0100
From: Alan White <a...@whitemail.net>
To: dhcp-users@lists.isc.org
Subject: Routing subnet of delegated ipv6 subnet
Message-ID: <84d142d7-cde8-4800-9b8f-7339e547d...@whitemail.net>
Content-Type: text/plain;       charset=utf-8

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




------------------------------

Message: 2
Date: Sun, 3 May 2020 19:42:52 -0400
From: Erik Muller <er...@buh.org>
To: dhcp-users@lists.isc.org
Subject: Re: Routing subnet of delegated ipv6 subnet
Message-ID: <08a22703-dbd8-82c9-5314-b803b8809...@buh.org>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 5/3/20 17:47 , Alan White wrote:
> 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.

It should be fairly simple to do what you want, but (at least a few years 
ago when I last researched it, and I don't think it's changed since), 
there's no automagic way to do that completely internal to dhclient. 
You'll need to supply a hook script to set up the internal side according 
to your local policies.  Something like this: 
https://gist.github.com/jayeye/689cb1de2275798659c58c62ab92cfaa should be a 
good starting point. (disclaimer: not my code, but I've been using a mildly 
customized variant of that for years with both ATT UVerse and Google Fiber)

HTH,
-e


------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 139, Issue 2
******************************************

Reply via email to