Default Gateway for a system v/s Default gateway per Interface
Patrick Williams
patrick at stwcx.xyz
Sat Apr 25 01:21:20 AEST 2020
On Fri, Apr 24, 2020 at 08:36:26PM +0530, Ratan Gupta wrote:
> ~~~~~~~~~~~~~
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt
> Iface
> 0.0.0.0 19.168.2.1 0.0.0.0 UG 0 0 0
> eth0
> 0.0.0.0 10.10.10.1 0.0.0.0 UG 0 0 0
> eth1
> ~~~~~~~~~~~~~~
>
> Kernel will first try using the default gateway having higher metric
> value and then fall back to the lower.
I'm not seeing us with an interface to adjust the metric for an
interface. I think we need to add that at the same time? Otherwise, I
don't think we have a way to specify which interface outside-the-subnet
should go (vs today we can set the default-gateway to the desired
interface's gateway).
--
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200424/e21c9725/attachment.sig>
More information about the openbmc
mailing list