From a3f10d9841d5684d5445121bb370e19c6536f8c9 Mon Sep 17 00:00:00 2001 From: David Scott Date: Mon, 18 Apr 2016 18:45:32 +0100 Subject: [PATCH] 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 --- alpine/etc/network/interfaces | 1 + 1 file changed, 1 insertion(+) diff --git a/alpine/etc/network/interfaces b/alpine/etc/network/interfaces index 79c0fa716..786503a5e 100644 --- a/alpine/etc/network/interfaces +++ b/alpine/etc/network/interfaces @@ -8,3 +8,4 @@ iface eth0 inet dhcp auto eth1 iface eth1 inet dhcp udhcpc_opts -T 1 -A 3 + metric 199