After installing the base version of DHCPv6 (4.2.5 currently) using "yum install dhcp" on CentOS 7 I've successfully configured a DHCPv6 server with serveral subnet6 groups. Several hosts have been created as well. However, I'd like all subnets to ignore any solicit messages unless a host is specifically listed. Unfortunately I've hit two different errors.
1. If under subnet6 I immediately specify a range6 and "ignore unknown-clients", then ignore has no effect and the DHCP server provides an IP address from the range
subnet6 2012:0:0:104::0/64 {
range6 2012:0:0:104::2 2012:0:0:104::255;
ignore unknown-clients; #<< this line appears to have no effect, offer is sent from pool
}
2. If I attempt to specify a pool6, the DHCP reports an error on startup stating a semicolon is expected on line 54.
subnet6 2012:0:0:104::0/64 {
pool6 { << #error reports semicolon expected here
range6 2012:0:0:104::2 2012:0:0:104::255;
ignore unknown-clients;
}
}
Thanks,
Steve
ISC DHCPv6 won't ignore unknown-clients
Re: ISC DHCPv6 won't ignore unknown-clients
How about changing ignore unknown-client to deny unknown-clients; in the pool?
I'm just guessing here, because I've used ignore.. in IPv6.
Also don't forget that DHCPv6 doesn't use the MAC address in the same way - it's all mixed up, so it's not like in IPv4.
I'm just guessing here, because I've used ignore.. in IPv6.
Also don't forget that DHCPv6 doesn't use the MAC address in the same way - it's all mixed up, so it's not like in IPv4.