2 Gateways on same subnet 1 Wan Interface
-
Hi,
pfSense-2.0.1-RELEASE-i386
i have 2 ISP's so apparently 2 modems/routers/gateways on my network
first one has 192.168.1.254 which is the Cable Provider and the 2nd 192.168.1.253 which is the DSL Provider, they are connected to a switch - so there is only one WAN interface for pfsense available. On my machine i have a vbox running with pfsense installed. So this works fine.In short 2Gateways on the same subnet but only one "WAN" Interface
I'd like to do load balancing between those 2 gateways.
Multiple gateways are supported by pfsense - says the changelog.
my pfsense setup so fare:
Routes:
GW1 - Cable - x.x.x.254
GW2 - ADSL - x.x.x.243Now if multi GW would work, i should be able to define a firewall rule to route all traffic trough GWx. Not working - I have to change the default GW within the Interface settings to get pfsense to route packages trough a particular GW.
Routing table looks like this:
IPv4
Destination Gateway Flags Refs Use Mtu Netif Expire
default 192.168.1.254 UGS 0 694 1500 em0
127.0.0.1 link#3 UH 0 63 16384 lo0
192.168.1.0/24 link#1 U 0 4996 1500 em0
192.168.1.250 link#1 UHS 0 0 16384 lo0
192.168.2.0/24 link#2 U 0 85861 1500 em1
192.168.2.250 link#2 UHS 0 0 16384 lo0So not even a sign of my 2nd Gateway at all.
Any suggestions?
-
I case u dont have a solution, a quick hint would be nice to why it would not be possible.
Just so i understand …
Virtual IP Alias = a 2nd IP adress for the Interface or what does it mean?I split the 2 Gateways into 2 seperate subnets now but they are still physicaly linked.
192.168.1.0 and 192.168.0.0
with propper routes i should be able to reach both GW now shouldnt i?pfsense IPv4 routes
Destination Gateway Flags Refs Use Mtu Netif Expire
default 192.168.1.254 UGS 0 69 1500 em0
127.0.0.1 link#3 UH 0 23 16384 lo0
192.168.0.0/24 link#1 U 0 5 1500 em0
192.168.0.250 link#1 UHS 0 0 16384 lo0
192.168.1.0/24 link#1 U 0 2 1500 em0
192.168.1.250 link#1 UHS 0 0 16384 lo0
192.168.2.0/24 link#2 U 0 5990 1500 em1
192.168.2.250 link#2 UHS 0 0 16384 lo0At least that is how it works under windows...
-
If you search the forums you will find many things on MultiWAN setups.
-
I did read every post of the past 2 Months Every … in German and Eng...
Multi Wan yes but no solution on how to get 2 gw working on 1 interface
Please constructive feedback - thanks -
That introduces all kinds of complications with traffic routing and return routing. Save yourself a lot of headaches and don't do that. Put each gateway on its own interface and subnet.