On 7/18/06, Dave Gloez <[EMAIL PROTECTED]> wrote:
I have a soekris box where dhcpd is running to give ip addresses for clients, 
now i was thinking is it possible to give clients a static ip based on which 
interface it is connected, so when i plug the network cable to specified 
network port on soekris it would always give the same ip address no matter what.

Put this in your dhcpd.conf:

host joe {
hardware ethernet 08:00:2b:4c:29:32;
fixed-address 10.0.0.1;
}

More info @ : 
http://www.openbsd.org/cgi-bin/man.cgi?query=dhcpd.conf&sektion=5&arch=i386&apropos=0&manpath=OpenBSD+Current

Reply via email to