-   Linux - Server (
-   -   DHCP Fixed IP Address confusion (

noir911 03-23-2008 06:01 AM

DHCP Fixed IP Address confusion
I need to add some fixed IP in the DHCP block (or exclude some IPs so that they are not in the DHCP block) for some routers. Every time these routers boot up, they will have these same "static" IPs. If one of these routers is offline, the IP of this router will not be allocated to any other computer on the network. The IP range is from

Should I add them in in /var/dhcp/192.168.1 file, like:


host router1 {
hardware ethernet 00:03:5d:2a:bb:ca;

host router2 {
hardware ethernet 00:03:5d:2f:ba:cc;

Or this is the wrong way of doing this?

Thanks for any help.

blackhole54 03-23-2008 08:10 AM

The statements look fine to me, but they should go in the dhcpd.conf file. I have always seen this file in the /etc directory.

All times are GMT -5. The time now is 07:31 AM.