ISC DHCPv6 won't ignore unknown-clients

Issues related to configuring your network
Post Reply
BahamutX
Posts: 1
Joined: 2019/04/30 23:12:24

ISC DHCPv6 won't ignore unknown-clients

Post by BahamutX » 2019/04/30 23:22:00

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

aks
Posts: 2720
Joined: 2014/09/20 11:22:14

Re: ISC DHCPv6 won't ignore unknown-clients

Post by aks » 2019/05/01 19:13:10

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.

Post Reply