Commit | Line | Data |
---|---|---|
1 | # This file describes the network interfaces available on your system | |
2 | # and how to activate them. For more information, see interfaces(5). | |
3 | ||
4 | # The loopback network interface | |
5 | auto lo | |
6 | iface lo inet loopback | |
7 | ||
8 | # The primary network interface | |
9 | auto eth0 | |
10 | iface eth0 inet dhcp | |
11 | pre-up ip addr flush dev eth0 | |
12 | post-up ip route add default dev eth0 | |
13 | ||
14 | auto eth1 | |
15 | iface eth1 inet dhcp | |
16 | pre-up ip addr flush dev eth1 | |
17 |