Ubuntu:Network config

From Define Wiki
Jump to navigation Jump to search

Network Config

Interface configuration is done in the /etc/netowrk/interfaces file. The file below configures the loopback interface and sets eth0 to use DHCP.

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp