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...") |
|||
Line 1: | Line 1: | ||
===static ip address=== | ===static ip address=== | ||
edit /etc/network/interfaces | edit /etc/network/interfaces.Get rif of etho entry and add the following bit including the dns-nameserver line | ||
<pre> | <pre> | ||
# remove the above line if you edit this file | # remove the above line if you edit this file |
Latest revision as of 17:41, 5 December 2012
static ip address
edit /etc/network/interfaces.Get rif of etho entry and add the following bit including the dns-nameserver line
# 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