dhcpd assign duplicated IP address

Jeffrey Goldberg jeffrey at goldmark.org
Thu Apr 19 02:43:38 UTC 2007


On Apr 18, 2007, at 9:24 PM, Zhang Weiwu wrote:

> I am not sure if I understood DHCP correctly. I have this  
> configuration
> in my /usr/local/etc/dhcpd.conf (Using FreeBSD 6.1):
>
> subnet 218.193.55.192 netmask 255.255.255.192 {
>   range 218.193.55.194 218.193.55.254;
>   option routers 218.193.55.193;
> }
>
> [snip]
>
> host sappho.realss.com {
>   hardware ethernet 80:00:20:B0:99:31;
>   fixed-address 218.193.55.196;
>   option routers 218.193.55.193;
> }
>
> And I think this means the DHCP server should not assign IP address
> 218.193.55.196 to any hosts that do not have MAC address of
> "80:00:20:B0:99:31".

No, it doesn't mean that.  You have configured dhcpd to have two ways  
of assigning the address 218.193.55.196.  One is through the dynamic  
mechanism and the other is through the fixed address.

You should set your fixed address to be outside of your dynamic pool  
range.

Cheers,

-j


-- 
Jeffrey Goldberg                        http://www.goldmark.org/jeff/



More information about the freebsd-questions mailing list