This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
networking [2009/10/31 02:54] hef |
networking [2010/04/30 18:44] walter |
||
---|---|---|---|
Line 5: | Line 5: | ||
iface lo inet loopback | iface lo inet loopback | ||
auto 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> | </file> | ||
+ | note that only the public interface has a default gateway set. | ||
====== dns resolution ====== | ====== dns resolution ====== | ||
Line 21: | Line 19: | ||
nameserver 172.29.0.1 | nameserver 172.29.0.1 | ||
</file> | </file> | ||
+ | ====== testing ====== | ||
+ | ping google.com | ||
+ |