In a dual NIC configuration, use eth1 for routing

The NIC with the lowest metric is used for routing, while the NIC with
the highest index is used for DNS. Set the metric of eth1 to 199, so it
is higher-priority than eth0, so we use eth1 for everything in a dual
NIC configuration.

Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
David Scott 2016-04-18 18:45:32 +01:00
parent 18745f6b76
commit 47ff9eb817

View File

@ -8,3 +8,4 @@ iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
udhcpc_opts -T 1 -A 3
metric 199