This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking [2011/09/11 21:09] walter [dns resolution] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Interfaces ====== | ||
- | |||
- | <file|/etc/network/interfaces> | ||
- | auto lo | ||
- | iface lo inet loopback | ||
- | auto eth0 | ||
- | iface eth0 inet dhcp | ||
- | 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.6 | ||
- | </file> | ||
- | ====== testing ====== | ||
- | ping google.com | ||