<?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[How to setup loadbalancing with 2 dhcp account from 1 isp]]></title><description><![CDATA[<p dir="auto">hi to all:</p>
<p dir="auto">i've manage to create myself a pfsense box from a p4 socket 478 computer, 512mb ram, and 2 intel pro nics, but just puzzled about how to setup loadbalancing with 2 isp (wireless) with dhcp. here's my setup</p>
<p dir="auto">isp1 (dynamically assigned ip via dhcp, gateway 111.222.333.444)–<br />
                                                                                          |<br />
                                                                                            ---pfsense----switch----lan<br />
                                                                                          |<br />
isp2 (dynamically assigned ip via dhcp, gateway 111.222.333.444)--</p>
<p dir="auto">my initial configuration in the loadbalancing pool (this is working)</p>
<p dir="auto">Loadbalance<br />
gateway<br />
loadbalance<br />
wan1:111.222.333.444(wan1's gateway)<br />
opt1:111.222.333.444(opt1's gateway)</p>
<p dir="auto">wan balances opt<br />
gateway<br />
failover<br />
wan1:111.222.333.444(wan1's gateway)<br />
opt1:111.222.333.444(opt'1's gateway)</p>
<p dir="auto">opt balances wan<br />
gateway<br />
failover<br />
opt1:111.222.333.444(opt1's gateway)<br />
wan1:111.222.333.444(wan1's gateway)</p>
<p dir="auto">also setup the firewall rules</p>
<ul>
<li>lan subnet * * * loadbalance</li>
<li>lan subnet * * * *</li>
</ul>
<p dir="auto">this setup is working for me as reading the multiwansetup(1.1) not the 1.2 or 1.3 in the documentation</p>
<p dir="auto">my question is<br />
1. is my setup correct, will using the same gateway in the loadbalancing pools correct?</p>
<p dir="auto">2. can i achieve correct failover while using same gateway for loadbalancing and failover pools? if not, how<br />
can i correct my setup for failover?</p>
<p dir="auto">3. obviously, been reading the multiwan-setup 1.3 in the pfsense docs, by using third party dns (opendns)<br />
in 1 isp and using internal dns of 1 isp as the other, and also setting up static routes if using opendns<br />
but really having a hard time digesting the idea, also, i would rather not use opendns as the monitor ip<br />
as pinging the gateway of the isp (111.222.333.444) is alot faster</p>
<p dir="auto">4. also one problem arises if both isp goes down (frequently), i have to reboot the pfsense box because after internet goes up, loadbalancing does not work correctly, even i filter reload...only after rebooting the<br />
pfsense box, does the loadbalancing use the 2 isps...also does pfsense "automatically detects" each interface if isp assigned an ip? like when i plug the cable to my old asus router, it "senses" if there is<br />
internet, unlike pfsense, you have to manually press the renew ip? can i mess with it and script it to<br />
automatically renew like for 5 seconds?</p>
<p dir="auto">really like pfsense for the multi wan, loadbalancing, it is the only product i know which is FREE, that uses<br />
multi-wan, loadbalancing...hope i can correct all this problems...any suggestions, help will be highly appreciated...</p>
]]></description><link>https://forum.netgate.com/topic/16382/how-to-setup-loadbalancing-with-2-dhcp-account-from-1-isp</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 19:42:44 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/16382.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Jul 2009 01:02:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to setup loadbalancing with 2 dhcp account from 1 isp on Thu, 02 Jul 2009 08:48:47 GMT]]></title><description><![CDATA[<p dir="auto">GruensFroeschli:</p>
<p dir="auto">thanks for the great explanation, sorry for the multiwanversion, that's really 1.2, sorry, anyways:</p>
<p dir="auto">loadbalancing is working perfect in my current setup, but really can't get failover to work<br />
(because of what you just explained)</p>
<p dir="auto">so, will adding a router to isp2 will solve my problem? like this?</p>
<p dir="auto">isp1 (gateway 111.222.333.444)–<strong>router</strong>–-<br />
                                                                  |<br />
                                                                    ---pfsense----switch----lan<br />
                                                                  |<br />
isp2 (gateway 111.222.333.444)-----------------</p>
<p dir="auto">is this what you are suggesting?<br />
if this is what you're suggesting, since loadbalancing is working right now without failover,<br />
i might skip this configuration because of an additional router, since failover is not really important<br />
(because if 1 isp goes down, the other goes down also, defeating the purpose because their the same isp)<br />
just asking if i can find a way to make failover to work without an additional router, since it's not<br />
possible, that'll be just the end of it...</p>
<p dir="auto">thanks for the help...pfsense is really just great</p>
<p dir="auto">and btw, i know im really breaking rules here, since i want to ask another question that's off topic</p>
<p dir="auto">can i create firewall rules that block a specific program (i.e. like windows firewall), WITHOUT squid or squidguard? just firewall rules? and do you have a good "creating firewall rules tutorial" that i can reference?<br />
just want to harden my pfsense and gain better understanding of how to create firewall rules</p>
]]></description><link>https://forum.netgate.com/post/201728</link><guid isPermaLink="true">https://forum.netgate.com/post/201728</guid><dc:creator><![CDATA[tinoy69]]></dc:creator><pubDate>Thu, 02 Jul 2009 08:48:47 GMT</pubDate></item><item><title><![CDATA[Reply to How to setup loadbalancing with 2 dhcp account from 1 isp on Thu, 02 Jul 2009 07:34:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tinoy69">@<bdi>tinoy69</bdi></a>:</p>
<blockquote>
<p dir="auto">my question is<br />
1. is my setup correct, will using the same gateway in the loadbalancing pools correct?</p>
</blockquote>
<p dir="auto">No.<br />
You cannot have the same gateway multiple times.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tinoy69">@<bdi>tinoy69</bdi></a>:</p>
<blockquote>
<p dir="auto">2. can i achieve correct failover while using same gateway for loadbalancing and failover pools? if not, how<br />
can i correct my setup for failover?</p>
</blockquote>
<p dir="auto">You could put a NATing device in front of one of the WANs.<br />
For the pfSense it appears as if one of the WANs is a different subnet (different gateway).</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tinoy69">@<bdi>tinoy69</bdi></a>:</p>
<blockquote>
<p dir="auto">3. obviously, been reading the multiwan-setup 1.3 in the pfsense docs, by using third party dns (opendns)<br />
in 1 isp and using internal dns of 1 isp as the other, and also setting up static routes if using opendns<br />
but really having a hard time digesting the idea, also, i would rather not use opendns as the monitor ip<br />
as pinging the gateway of the isp (111.222.333.444) is alot faster</p>
</blockquote>
<p dir="auto">The current multiwan guide is for 1.2.x. (1.3 doesnt exist).<br />
You can have more than 2 DNS entries.<br />
I would configure it, that you have at least one DNS bound to one WAN.<br />
Dont use OpenDNS as monitor ip.<br />
Do a traceroute from each WAN and take the next hop from your ISP.<br />
Make sure you have different monitor IPs for each WAN.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tinoy69">@<bdi>tinoy69</bdi></a>:</p>
<blockquote>
<p dir="auto">4. also one problem arises if both isp goes down (frequently), i have to reboot the pfsense box because after internet goes up, loadbalancing does not work correctly, even i filter reload…only after rebooting the<br />
pfsense box, does the loadbalancing use the 2 isps...also does pfsense "automatically detects" each interface if isp assigned an ip? like when i plug the cable to my old asus router, it "senses" if there is<br />
internet, unlike pfsense, you have to manually press the renew ip? can i mess with it and script it to<br />
automatically renew like for 5 seconds?</p>
<p dir="auto">really like pfsense for the multi wan, loadbalancing, it is the only product i know which is FREE, that uses<br />
multi-wan, loadbalancing...hope i can correct all this problems...any suggestions, help will be highly appreciated...</p>
</blockquote>
<p dir="auto">I think this is related to the fact that you connect to the same subnet.<br />
Try again after moving one of the WANs to a different subnet.</p>
]]></description><link>https://forum.netgate.com/post/201724</link><guid isPermaLink="true">https://forum.netgate.com/post/201724</guid><dc:creator><![CDATA[GruensFroeschli]]></dc:creator><pubDate>Thu, 02 Jul 2009 07:34:46 GMT</pubDate></item></channel></rss>