Difference between revisions of "10.0.1.101"

From Wiki2
(Created page with "===static ip address=== edit /etc/network/interfaces <pre> # remove the above line if you edit this file auto lo iface lo inet loopback auto eth0 iface eth0 inet static addr...")
(No difference)

Revision as of 17:34, 5 December 2012

static ip address

edit /etc/network/interfaces

# remove the above line if you edit this file

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.0.1.101
netmask 255.255.255.0
gateway 10.0.1.1
dns-nameservers 8.8.8.8 8.8.8.4.4

auto eth1
iface eth1 inet dhcp