Configure 2 wan
-
pfSense 2.0 rc2 i386
Wan ADSL /w pppoe static ip
Opt1 Cable modem /w dhcpI have some hosts that must go via adsl because of the static IP, some of the other hosts that require high bandwidth need to use the cable modem connection.
however, this is where I am stuck!
I have setup outgoing nat for the hosts that use the cable modem and they do use cable modem while the ADSL is down.
As soon as I bring up the adsl connection, everyone goes via adsl.
I just can't see what I am doing wrong, some help please?
Mark
-
you need to create gateway groups (system –> routing)
then you can assign the gateway group you want to the corresponding firewall rule
so in firewall rule you say that packets from source: 192.168.0.0/24 have to use gateway-group 1
packets from source: 192.168.1.0/24 have to use gateway-group 2depending on how you setup the gateway groups you can setup loadbalance or fail-over
-
Thanks, you are da man!
I was really tearing my hair out there!
I just made a gateway group with the cable interface in it and made a lan rule with the gateway set to the same group and up it came.
I do hope it fails over though, but its working and I have a more pressing internal routing issue to tend to.
thanks again!
-
to create fail over you need to set multiple gateways in a gateway-group and set them to different 'tiers'
for example:
gateway1 = tier1
gateway2 = tier2this way gateway1 is your primary way out, if this fails you move to gateway2
-
Hey Heper,
I did try that first off, however it didn't work.
So I just went with the one host.
But I did learn today I must flush the tables after doing radical changes…
I'll have a stab at it later on when it gets quiet, and flush the tables after..
Many thanks,
marki