Categories: CategoryNetwork, CategoryLinux

dhcp-server

see: * dhcp.html * samulat book. * http://ftp.gwdg.de/LDP/HOWTO/mini/DHCP/ * http://www.linux-mag.com/2000-04/networknirvana_01.html

install dhcpd. Configuration file is /etc/dhcpd.conf. Leases are stored in /var/lib/dhcp/dhcpd.leases.

Kernel must have multicast support. Check this with

$ ifconfig -a eth0

This should show you "multicast".

dhcp-client

to configure client install dhcp-client. Use etherconf to configure network automatically.

dpkg-reconfigure etherconf.

You also need multicast-support as above.

See also /usr/share/doc/pcmcia-cs/FAQ.Debian.gz for laptop configuration.

In /etc/network/interfaces make sure that you have the following two lines.

auto eth0
iface eth0 inet dhcp

Your Linux box now should be able to obtain network information via DHCP. issue /sbin/ifconfig -v to see if eth0 is okay. That's it!

The need to transfer the client name. For this you need to configure in /etc/dhclient.conf

send host-name "myhost.mydomain.org";