Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2007 21:43:35 -0500
From:      Jeffrey Goldberg <jeffrey@goldmark.org>
To:        Zhang Weiwu <zhangweiwu@realss.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dhcpd assign duplicated IP address
Message-ID:  <625B8AEB-6D1E-4B5C-BA14-A021F92427E6@goldmark.org>
In-Reply-To: <1176949451.7739.15.camel@joe.realss.com>
References:  <1176949451.7739.15.camel@joe.realss.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?625B8AEB-6D1E-4B5C-BA14-A021F92427E6>