mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
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:
parent
18745f6b76
commit
47ff9eb817
@ -8,3 +8,4 @@ iface eth0 inet dhcp
|
||||
auto eth1
|
||||
iface eth1 inet dhcp
|
||||
udhcpc_opts -T 1 -A 3
|
||||
metric 199
|
||||
|
Loading…
Reference in New Issue
Block a user