Table of Contents

DHCP

Client

Auto

The client network configuration should all be managed in a single file.

  • Debian: /etc/network/interfaces, e.g.:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
auto eth1
##auto eth0

iface lo inet loopback

iface eth0 inet dhcp
#iface eth0 inet static
#address 192.168.22.1
#netmask 255.255.255.0

iface eth1 inet dhcp
wireless-essid any

Manual

  • sudo [dhclient|dhclient3] eth0 should work, it has for me at least
    • there may also be a dhcpcd alternative
  • Restart networking with sudo /etc/init.d/networking [stop|start]
  • change startup timeout for DHCP acknowledgement
    • Edit /etc/dhcp3/dhclient.conf to read “timeout 20” for 20sec instead of “#timeout 60”
 
howto/dhcp.txt · Last modified: 2006/05/20 13:38 by 24.6.69.68
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki