10.0.1.101

From Wiki2
Revision as of 17:34, 5 December 2012 by Tim (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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