<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Load Balancer, Static Route not working….]]></title><description><![CDATA[<p dir="auto">I have 2 DSL lines that both reside in the same subnet as eachother. The problem that I am experiencing, FreeBSD keeps determining that it should be using an incorrect interface for the route to my DNS server, which it pings for the load balancing. Below is my following configuration.</p>
<p dir="auto">Interfaces:<br />
WAN = bfe0<br />
WAN2 = rl0</p>
<p dir="auto">WAN:<br />
IP: 76.196.29.110<br />
Subnet: 255.255.255.0<br />
Gateway: 76.196.29.111</p>
<p dir="auto">WAN2:<br />
IP: 76.196.29.102<br />
Subnet: 255.255.255.0<br />
Gateway: 76.196.29.103</p>
<p dir="auto">Static Routes:<br />
WAN, 206.81.96.55/32, 76.196.29.111<br />
WAN2, 206.81.96.15/32, 76.196.29.103</p>
<p dir="auto">Route Table:<br />
206.81.96.55/32, 76.196.29.111, rl0<br />
206.81.96.15/32, 76.196.29.103, rl0</p>
<p dir="auto">As you can see, even though I have the static route set correctly, both networks are still going out one interface. This makes the load balancing fail when WAN2 goes down since it can no longer ping either DNS servers. This is usually the interface that came up first and FreeBSD decided to use. When I try to manually add a route on the box through SSH, it does not let me specify a gateway and an interface device at the same time. FreeBSD is suppose to determine the best interface to use when I specify the gateway, yet it keeps choosing the wrong one.</p>
<p dir="auto">How would I got about forcing FreeBSD to use a specific gateway and interface for a route?</p>
]]></description><link>https://forum.netgate.com/topic/12794/load-balancer-static-route-not-working</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 17:05:09 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/12794.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Jan 2009 18:07:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Load Balancer, Static Route not working…. on Thu, 15 Jan 2009 01:15:03 GMT]]></title><description><![CDATA[<p dir="auto">Ahh good idea. Though I do not want to put another device in front of the pfsense box, that gave me an idea. My speedstreams have the option to give public or a private IP, I can just enabled private IP on one device and should be good to go.</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.netgate.com/post/188450</link><guid isPermaLink="true">https://forum.netgate.com/post/188450</guid><dc:creator><![CDATA[Shanlar]]></dc:creator><pubDate>Thu, 15 Jan 2009 01:15:03 GMT</pubDate></item><item><title><![CDATA[Reply to Load Balancer, Static Route not working…. on Wed, 14 Jan 2009 20:05:11 GMT]]></title><description><![CDATA[<p dir="auto">Ah yes i didnt read right and ignored the 1 before the 02 and 03 ^^"<br />
Well in this case it's not so easy.</p>
<p dir="auto">Basically you need a cheap broadband router to put before one of the WAN's to emulate a different subnet.<br />
There is currently no way to have the same subnet on two WANs.</p>
]]></description><link>https://forum.netgate.com/post/188423</link><guid isPermaLink="true">https://forum.netgate.com/post/188423</guid><dc:creator><![CDATA[GruensFroeschli]]></dc:creator><pubDate>Wed, 14 Jan 2009 20:05:11 GMT</pubDate></item><item><title><![CDATA[Reply to Load Balancer, Static Route not working…. on Wed, 14 Jan 2009 19:23:36 GMT]]></title><description><![CDATA[<p dir="auto">Yup, these are static IPs.</p>
<p dir="auto">If I do /29 then the gateway IP will become the broadcast.</p>
<p dir="auto">IP: 76.196.29.102<br />
Subnet: 255.255.255.248<br />
Host Range: 76.196.29.97 - 76.196.29.102<br />
Broadcast: 76.196.29.103</p>
]]></description><link>https://forum.netgate.com/post/188421</link><guid isPermaLink="true">https://forum.netgate.com/post/188421</guid><dc:creator><![CDATA[Shanlar]]></dc:creator><pubDate>Wed, 14 Jan 2009 19:23:36 GMT</pubDate></item><item><title><![CDATA[Reply to Load Balancer, Static Route not working…. on Wed, 14 Jan 2009 19:11:07 GMT]]></title><description><![CDATA[<p dir="auto">Are these IP's static?<br />
If they are you could change both subnets to /29 .</p>
]]></description><link>https://forum.netgate.com/post/188419</link><guid isPermaLink="true">https://forum.netgate.com/post/188419</guid><dc:creator><![CDATA[GruensFroeschli]]></dc:creator><pubDate>Wed, 14 Jan 2009 19:11:07 GMT</pubDate></item></channel></rss>