Recent Changes - Search:

Softwares

.

UbuntuNetworkConfiguration

Main.UbuntuNetworkConfiguration History

Hide minor edits - Show changes to output

April 14, 2007, at 01:29 AM by 61.17.224.18 -
Added lines 1-19:
*Ubuntu Network Configuration

Most ethernet configuration is centralized in a single file, /etc/network/interfaces.

To assign the IP address 192.168.0.2 to the device eth0, with the typical netmask of 255.255.255.0. Your default gateway's IP address is 192.168.0.1. You would enter something like this into /etc/network/interfaces:

iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1

*Specify your DNS servers manually in /etc/resolv.conf, which should look something like this:

nameserver 4.2.2.2


*To manage hosts:

Add, edit, or remove hosts from /etc/hosts file.
Edit - History - Print - Recent Changes - Search
Page last modified on April 14, 2007, at 01:29 AM