Bit of help / guidance with a dhcpd.conf file
Japhy Bartlett
japhy at pearachute.com
Fri Jul 4 04:19:41 UTC 2008
Thanks to everyone who responded - with your help I've got things
working proper.
If you're ever in Benton Harbor, MI, I owe you all a beer :)
- Japhy
On Thu, Jul 3, 2008 at 5:18 PM, Bruce Hudson <Bruce.Hudson at dal.ca> wrote:
>
>> When I connect a laptop with the matching MAC address, I receive the
>> IP 192.168.2.2. So - how come it isn't matching?
>
> The "remote-id" sub-option is part of the "relay-agent-information"
> option. If MAY be set by a relay agent to provide additional information
> about the source of the request. You are then extracting characters 3
> through 8 (starting at 1) from this value.
>
> You normally would want to look at packet dumps of your DHCP requests
> before playing with this type of option unless you know what your gear is
> adding; and probably even then just to be sure.
>
> If all you want to match is the MAC address, you are doing far more
> work than necessary.
>
> class "known" {
> match hardware;
> }
>
> subclass "known" 1:00:1b:38:75:a5:ea;
>
> Note the "1" prepended to the client's addresses. This is the hardware
> type (1 == ethernet).
> --
> 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