Fix IP address based on the Option 82 info

Bruce Hudson Bruce.Hudson at Dal.Ca
Wed Apr 12 13:19:58 UTC 2006


>  In the conf file below I have tried allocating a range, this I did just
> for testing, I would ideally like to allocate a fixed address. 

    A fixed address can be just a range with only a single address. 

> class "port1"{
> 	match pick-first-value (concat(option agent.remote-id,option
> agent.circuit-id));
> 
> 	option host-name "port1";
> 	option root-path "192.168.1.200:/usr/ethernet/";
> 	filename "port1.xml";
> }

    You have "pick-first-value" with only a single parameter. That is
adding unnecessary complexity.
 
 
> No.     Time        Source                Destination           Protocol
> Info
>       1 0.000000    0.0.0.0               255.255.255.255       DHCP
> DHCP Discover - Transaction ID 0xb6b27336
>       2 0.013368    192.168.1.40          192.168.1.200         DHCP
> DHCP Discover - Transaction ID 0xb6b27336
>       3 0.314180    192.168.1.200         192.168.1.40          DHCP

    You are seeing the request from the client twice, once directly to
the broadcast address and once via a relay agent at 192.168.1.200. You
neither need nor want a relay when then the server is in the same
broadcast domain as the clients. 

    That is probably why you are seeing NAKs. 
--
Bruce A. Hudson				| Bruce.Hudson at Dal.CA
UCIS, Networks and Systems		|
Dalhousie University			|
Halifax, Nova Scotia, Canada		| (902) 494-3405


More information about the dhcp-users mailing list