<div dir="ltr">Sounds good to me, we have needed this for a long time because the current gateway configuration breaks our v6 stack with multiple NICs.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 24, 2020 at 8:21 AM Patrick Williams <<a href="mailto:patrick@stwcx.xyz">patrick@stwcx.xyz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Apr 24, 2020 at 08:36:26PM +0530, Ratan Gupta wrote:<br>
> ~~~~~~~~~~~~~<br>
> Kernel IP routing table<br>
> Destination Gateway Genmask Flags MSS Window irtt <br>
> Iface<br>
> 0.0.0.0 19.168.2.1 0.0.0.0 UG 0 0 0 <br>
> eth0<br>
> 0.0.0.0 10.10.10.1 0.0.0.0 UG 0 0 0 <br>
> eth1<br>
> ~~~~~~~~~~~~~~<br>
> <br>
> Kernel will first try using the default gateway having higher metric <br>
> value and then fall back to the lower.<br>
<br>
I'm not seeing us with an interface to adjust the metric for an<br>
interface. I think we need to add that at the same time? Otherwise, I<br>
don't think we have a way to specify which interface outside-the-subnet<br>
should go (vs today we can set the default-gateway to the desired<br>
interface's gateway).<br>
-- <br>
Patrick Williams<br>
</blockquote></div>