This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
networking [2009/10/31 01:51] hef created |
networking [2009/10/31 04:21] hef |
||
---|---|---|---|
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 static | ||
address 172.29.0.11 | address 172.29.0.11 | ||
netmask 255.255.255.0 | 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> | ||
+ | |||
+ | ====== dns resolution ====== | ||
+ | this is not needed on machines that get dhcp settings | ||
+ | <file|/etc/resolv.conf> | ||
+ | nameserver 172.29.0.1 | ||
+ | </file> | ||
+ | ====== testing ====== | ||
+ | ping google.com | ||
+ |