This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking [2009/10/31 04:25] hef |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Interfaces ====== | ||
- | |||
- | <file|/etc/network/interfaces> | ||
- | auto lo | ||
- | iface lo inet loopback | ||
- | auto eth0 | ||
- | iface eth0 inet static | ||
- | address 172.29.0.11 | ||
- | netmask 255.255.255.0 | ||
- | auto eth1 | ||
- | iface eth1 inet static | ||
- | address 131.193.35.155 | ||
- | netmask 255.255.255.0 | ||
- | 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.1 | ||
- | </file> | ||
- | ====== testing ====== | ||
- | ping google.com | ||