Need help with dual WAN/ dual LAN failover setup.



  • My primary connection is over a cable modem which is nice and fast but has been having enough problems lately that I've also installed a DSL feed so I have something to use while the cable company tries to find the source of an intermittant problem.

    What i want to accomplish is to run over the cable modem for everything and then failover to the DSL feed when the cable feed starts acting up.
    It would also be a nice feature if I was able to selectively have individual machines on my lan use the DSL feed as thier primary route to the internet.

    I'm a little lost as how to set this up though.

    I have two lans, the wired one and a wireless…

    
    LAN interface (em1)
    Status 	up
    MAC address 	00:0e:0c:cf:e0:e8
    IP address 	192.168.8.1  
    Subnet mask 	255.255.255.0
    Media 	1000baseTX <full-duplex>In/out packets 	49056/49003 (5.87 MB/10.55 MB)
    In/out errors 	0/0
    Collisions 	0
    
    WiFi interface (ral0)
    Status 	associated
    MAC address 	00:1f:1f:a8:5c:61
    IP address 	192.168.16.1  
    Subnet mask 	255.255.255.0
    Media 	autoselect mode 11g <hostap>Channel 	4
    SSID 	stomped
    In/out packets 	8802/8283 (1.72 MB/1.43 MB)
    In/out errors 	0/113
    Collisions 	0</hostap></full-duplex> 
    

    The two WAN feeds are as follows…

    WAN interface (em0)
    Status 	up
    DHCP 	up  
    MAC address 	00:0e:0c:da:31:82
    IP address 	24.179.178.233  
    Subnet mask 	255.255.255.0
    Gateway 	24.179.178.1
    ISP DNS servers 	4.2.2.2
    4.2.2.3
    Media 	100baseTX <full-duplex>In/out packets 	63911/49378 (30.54 MB/3.89 MB)
    In/out errors 	0/0
    Collisions 	0 
    
    WAN2dsl interface (vr0)
    Status 	up
    DHCP 	up  
    MAC address 	00:50:8d:7c:27:69
    IP address 	192.168.0.2  
    Subnet mask 	255.255.255.0
    Gateway 	192.168.0.1
    Media 	100baseTX <full-duplex>In/out packets 	1941/1411 (1.43 MB/211 KB)
    In/out errors 	0/0
    Collisions 	0</full-duplex></full-duplex> 
    

    Everything is working fine over the cable setup, but I'm a little bit at a loss as how to setup the load balancer pools and firewall rules because one of the feeds is acting as a bridge with a DHCP address (the cable feed) and one is through a router  with the 192.168.0.0/24 address (The DSL feed.)

    Any suggestions would be most apreciated.



  • Anyone interested in a one time consulting fee to help me get the initial configuration up and working?



  • What version of pfSense are you using?  When I set up my 1.2.3 configuration I used a tutorial that I can't find right now.  You might want to check this out:

    http://doc.pfsense.org/index.php/Multi_WAN_/_Load_Balancing  I didn't use this one but it looks similar.

    and I just found this for 2.0 which I'm going to get started on in the morning:

    http://forum.pfsense.org/index.php?topic=28121.0

    Regards,
    Michael


Log in to reply