dhcpcd-discuss

Re: 6rd option support for dhcpcd

Roy Marples

Mon Dec 05 14:43:46 2011

Hi Jeroen

On Fri, 02 Dec 2011 16:36:09 +0100, Jeroen Vreeken wrote:
Recently my ISP began IPv6 trials using 6rd.
They use the relatively new 6rd dhcp option for this.
I attached a patch against dhcpcd 5.2.12 to add support for this option. For example in my case I now get the following 6rd variable for my hooks:

new_6rd='16 40 2a01:0670:6d00:0000:0000:0000:0000:0000 88.159.90.37'

The patch looks fine and I'm happy to commit it aside from one minor detail.
Shell variables cannot start with a number, so maybe call it sixrd?
Yes, I know it's prefixed with new_, but that's lost when you're printing lease information which is also shell parse-able.

If you want to submit a new patch or just indicate you're happy with sixrd then I'll commit it.


I also created a hook called '40-6rd' to handle the option and bring
up (or change) an 6rd tunnel.
I didn't  include it in the patch since it depends on a few tools of
my own. (You can find them at http://video.vreeken.net/sixcalc/ )

You may want to at least post it to this list so others can use it :)

Thanks

Roy

Follow-Ups:
Re: 6rd option support for dhcpcdJeroen Vreeken
References:
6rd option support for dhcpcdJeroen Vreeken
Archive administrator: postmaster@marples.name