DHCP configuration

Nod

Honorary Master
Joined
Jul 22, 2005
Messages
10,059
What I would like to do, is the following:
1. I have a working DHCP configuration
2. I would like to prevent certain MAC addresses from connecting

Could I add the following to the dhcpd.conf file?
group {
option routers 127.0.0.1;
range 204.254.239.10 204.254.239.30;
host hardware ethernet 00:0b:5d:9f:xx:xx;
host hardware ethernet 00:0b:5d:c7:xx:xx;
host hardware ethernet 00:0b:5d:d3:xx:xx;
host hardware ethernet 00:0b:5d:d3:xx:xx;
host hardware ethernet 00:0e:35:da:xx:xx;
host hardware ethernet 00:12:f0:59:xx:xx;
host hardware ethernet 00:12:f0:6a:xx:xx;
host hardware ethernet 00:13:02:25:xx:xx;
host hardware ethernet 00:13:02:38:xx:xx;
host hardware ethernet 00:17:42:09:xx:xx;
}
 

The_Unbeliever

Honorary Master
Joined
Apr 19, 2005
Messages
103,196
You can put said MAC addies (which you don't want to connect) on a separate subnet, or allocate them some bogus IP values :)
 

Nod

Honorary Master
Joined
Jul 22, 2005
Messages
10,059
That is the idea, yes, but I'm not sure how. Do you have an idea?
 
Top