ipv6 - New subnet mask too short

Chris Buxton chris.p.buxton at gmail.com
Fri Oct 26 20:14:42 UTC 2012


> So the bottom bit of the config file looks like:
> 
> # eth1 has address 2001:4d48:ad51:2f00::5:1/112
> subnet6 2001:4d48:ad51:2f00::/112 {
> 
>        range6 2001:4d48:ad51:2f00::5:8000 2001:4d48:ad51:2f00::5:c000;
> 
>        option dhcp6.name-servers 2001:4d48:ad51:2f00::5:1;
> 
> }
> 
> # Where the server is to listen for requests - on br0, address 2001:4d48:ad51:2f00::6:1/112:
> subnet6 2001:4d48:ad51:2f00::/112 {
>        option dhcp6.name-servers 2001:4d48:ad51:2f00::6:1;
> 
>        range6 2001:4d48:ad51:2f00::6:8000 2001:4d48:ad51:2f00::6:c000;
> }

You need three more sections in your subnets.

2001:4348:ad51:2f00::/112 is the same between these two. But these would be distinct:

2001:4d48:ad51:2f00::5:0/112
2001:4d48:ad51:2f00::6:0/112

Or you could write them as:

2001:4348:ad51:2f00:0:0:5::/112
2001:4348:ad51:2f00:0:0:6::/112

Does that do what you want? I've personally never seen DHCP6 used with a netmask larger than /64 (i.e. a subnet smaller than a /64 subnet).

Chris Buxton
BlueCat Networks


More information about the dhcp-users mailing list