MAC addresses, hostnames, and DHCP

Neil Joseph Schelly neil at jenandneil.com
Thu Dec 1 11:38:01 EST 2005


On Thursday 01 December 2005 09:25 am, klussier at comcast.net wrote:
> Hi All,
>
> I'm setting up a DHCP server to give out specific ip addresses to certain
> hosts based on MAC address. However, some machines, usually laptops (one
> wireless, one wired), have 2 NICs and 2 MAC addresses. Hoever, the machine

I just set my dhcpd.conf file to assign the same address to both MACs:

host neilmobilewired {
  hardware ethernet 00:40:F4:12:54:96;
  fixed-address neilmobile.jenandneil.com;
}
host neilmobile {
  hardware ethernet 00:11:95:04:db:45;
  fixed-address neilmobile.jenandneil.com;
}

After that, I just don't connect both NICs at once - not usually a problem 
really.  Any reason that doesn't work in your case?
-Neil



More information about the gnhlug-discuss mailing list