Pools and IPv6

Paolo Prandini prandini at spe.net
Mon Nov 15 18:57:17 UTC 2010


I am trying to use pools in IPv6 because I want to have a failover peer.
Unfortunately if I define a pool and then specify a range6 like:

subnet6 2a00:19a8::/64 {

         option dhcp6.name-servers       2a00:19a8::6, 2a00:19a8::7;

         default-lease-time 1800;
         max-lease-time 3600;

         pool {
                 failover peer "dhcp-failover";
                 range6 2a00:19a8:1::1;
         }

}

I get an error:

Nov 15 19:51:33 dns1 dhcpd: /etc/dhcp/dhcpd6.conf line 31: range6 declaration not allowed here.
Nov 15 19:51:33 dns1 dhcpd:             range6
Nov 15 19:51:33 dns1 dhcpd:                  ^
Nov 15 19:51:33 dns1 dhcpd: /etc/dhcp/dhcpd6.conf line 32: Pool declaration with no address range.
Nov 15 19:51:33 dns1 dhcpd:     }
Nov 15 19:51:33 dns1 dhcpd:          ^
Nov 15 19:51:33 dns1 dhcpd: Pool declarations must always contain at least
Nov 15 19:51:33 dns1 dhcpd: one range statement.

But if I don't use a pool I cannot have failover peers!
Do you have any idea?
Thanks a lot for your help
Paolo




More information about the dhcp-users mailing list