pfSense flushes default route when second gateway is starting
-
What pfSense version is this?
-
@stephenw10 22.05-RELEASE
-
Hmm, I think I see what might have happened. Though I can't replicate. Yet.
Download the config file and look to see what's in the <gateways> section.
-
Oh actually it's probably this: https://redmine.pfsense.org/issues/12922
Did you check the routing log? Does it show those routes being passed?
-
Hmm, though that would only happen if it was actually seeing a dhcp response and the 60s delay implies it is not....
-
<gateways> <defaultgw4>UPCCABLECOM_DHCP</defaultgw4> <defaultgw6>-</defaultgw6> <gateway_item> <interface>wan</interface> <gateway>dynamic</gateway> <name>UPCCABLECOM_DHCP</name> <weight>1</weight> <ipprotocol>inet</ipprotocol> <descr><![CDATA[UPC Business Uplink]]></descr> <data_payload>0</data_payload> <latencylow>100</latencylow> <latencyhigh>250</latencyhigh> <losslow>5</losslow> <losshigh>10</losshigh> </gateway_item> <gateway_item> <interface>opt3</interface> <gateway>dynamic</gateway> <name>STARLINK_DHCP</name> <weight>1</weight> <ipprotocol>inet</ipprotocol> <descr><![CDATA[Starlink Uplink]]></descr> </gateway_item> <gateway_group> <name>UPC_Preferred</name> <item>UPCCABLECOM_DHCP|1|address</item> <item>STARLINK_DHCP|2|address</item> <trigger>downlosslatency</trigger> <descr><![CDATA[Failover between UPC Business and Starlink]]></descr> </gateway_group> <gateway_group> <name>Starlink_Preferred</name> <item>UPCCABLECOM_DHCP|2|address</item> <item>STARLINK_DHCP|1|address</item> <trigger>downlosslatency</trigger> <descr><![CDATA[Failover between Starlink and UPC Business]]></descr> </gateway_group> </gateways>
-
@stephenw10
My routing log looks quite boring....
-
@yves_ said in pfSense flushes default route when second gateway is starting:
<defaultgw6>-</defaultgw6>
That looks a bit odd. But apart from that it's almost exactly what I was testing and still haven't managed to replicate it.
Do you have any IPv6 config on either of those WANs?Steve
-
@stephenw10 I guess thats because I don't have an IPv6 gateway configured. Since I don't need it so far...
Might it be because of this dhcp lease stuff described in the problem you posted above?
-
That seemed likely since it's specific to starlink but you would see something in the routing log. And it has to actually receive a new dhcp lease to get that and your issue looks to be during the timeout where it's failing to pull a lease.
So you have no IPv6 configured on any interface? They are all set as 'none'?