mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-01 06:58:56 +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
d7b363d348
commit
a3f10d9841
@ -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