User Tools

Site Tools


networking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
networking [2009/10/31 01:51]
hef created
networking [2011/09/11 21:09]
walter [dns resolution]
Line 1: Line 1:
 +====== Interfaces ======
 +
 <​file|/​etc/​network/​interfaces>​ <​file|/​etc/​network/​interfaces>​
 auto lo auto lo
 iface lo inet loopback iface lo inet loopback
-auth eth0 +auto eth0 
-iface eth0 inet static +iface eth0 inet dhcp
-        address 172.29.0.11 +
-        netmask 255.255.255.0 +
-        gateway 172.29.0.1+
 auto eth1 auto eth1
 iface eth1 inet static iface eth1 inet static
         address 131.193.35.155         address 131.193.35.155
         netmask 255.255.255.0         netmask 255.255.255.0
-        gateway 131.193.25.1+        gateway 131.193.35.1 
 +</​file>​ 
 +note that only the public interface has a default gateway set. 
 + 
 +====== dns resolution ====== 
 +this is not needed on machines that get dhcp settings 
 +<​file|/​etc/​resolv.conf>​ 
 +nameserver 172.29.0.6
 </​file>​ </​file>​
 +====== testing ======
 +  ping google.com
 +