https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162009-09-04T17:35:23ZpfSense bugtrackerpfSense - Bug #72: Configured static routes are not re-added when link from LB Pool goes down then uphttps://redmine.pfsense.org/issues/72?journal_id=1202009-09-04T17:35:23ZSeth Mosseth.mos@dds.nl
<ul></ul><p>If I understand this correctly, when a link goes physically down, freebsd will reset the routing table.<br />When the link comes back up the static routes need to be added again.</p>
<p>I think I removed the system_routing() function in the rc.newwanip at the time as it caused the filter reloads to get stuck in a loop. This was caused by apinger writing out it's configuration and immediately causing a filter reload which can be caused when a member is moving.</p> pfSense - Bug #72: Configured static routes are not re-added when link from LB Pool goes down then uphttps://redmine.pfsense.org/issues/72?journal_id=1212009-09-04T18:11:39ZGS FONgsfon00@gmail.com
<ul></ul><p>Seth Mos wrote:</p>
<blockquote>
<p>If I understand this correctly, when a link goes physically down, freebsd will reset the routing table.<br />When the link comes back up the static routes need to be added again.</p>
<p>I think I removed the system_routing() function in the rc.newwanip at the time as it caused the filter reloads to get stuck in a loop. This was caused by apinger writing out it's configuration and immediately causing a filter reload which can be caused when a member is moving.</p>
</blockquote>
<p>What I am seeing is that the link goes down, and then for some cable modems, I will get an internal ip of 192.168.100.2 but the static route to the monitor IP is not added to the routing table so now all the monitor pings are going out WAN. The system will think WAN2 is up.</p>
<p>In addition, the static routes for DNS entries are not added to the routing tables on link member changes.</p> pfSense - Bug #72: Configured static routes are not re-added when link from LB Pool goes down then uphttps://redmine.pfsense.org/issues/72?journal_id=1252009-09-05T18:09:48ZScott Ullrichsullrich@gmail.com
<ul></ul><p>Patch added to 7.2 / 2.0 and 8.0 / 2.0 that will prevent FreeBSD from removing the routes associated with a interface that is is down. This should prevent the monitoring ips from being removed, etc ensuring that we can keep correct track of links state.</p> pfSense - Bug #72: Configured static routes are not re-added when link from LB Pool goes down then uphttps://redmine.pfsense.org/issues/72?journal_id=1272009-09-05T18:31:46ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Closing this as it's a duplicate of <a class="issue tracker-1 status-3 priority-4 priority-default closed" title="Bug: Link loss can cause multi-WAN difficulties (Resolved)" href="https://redmine.pfsense.org/issues/18">#18</a>, which has a better description of the full issue.</p>