set multiple gateways

Discussion in 'DD-WRT Firmware' started by trekuhl, Oct 9, 2007.

  1. trekuhl

    trekuhl Network Guru Member

    is there a way to set more than one gateway for redundancy? for LAN setup can only set one in web interface. perhaps by command line?

  2. ifican

    ifican Network Guru Member

    I dont know for sure but if there is you need to also figure out how the firmware handles it. For instance most routers do equal cost load balancing and if the firmware also does this you will end up with intermittant issues or stange goofyness. Also I am now wondering how you plan to connect it or accomplish the above? Do you have dual Isp's?
  3. humba

    humba Network Guru Member

  4. trekuhl

    trekuhl Network Guru Member

    im setting a single IP for LAN with dual gateways (to different routers, one on T1 other on DSL) so if one cannot be reached it will rollover to next. i am not trying to balance the load or anything real fancy. all the clients here are windows XP and DHCP on server2003 that pushes both gateways with DHCP. so if i unplug one router it just simply rolls to next gateway. there is no load balancing involved.

    all my APs are simply APs, they dont do DHCP or anything else they are setup radius wpa to a radius server with ldap authentication.
  5. ifican

    ifican Network Guru Member

    If i had to guess at this point i would say no, as you need one to use pppoe and the other to not. And that is assuming the T1 is already teminated via a cpe and has a single ethernet connection out.
  6. trekuhl

    trekuhl Network Guru Member

    i have 16 live IPs off my T1, but im going thru a cisco 871. my DSL goes thru a pix 506. at any client machine, i can set both as gateways; so for example i will set

    client PC
    DEF GTWY:,

    now i want to do the same for my IP in DDWRT, just set two gateways. then if the first fails it simply rolls over to the next one.

    this works great on client PC, i can unplug the first gateway and there might be a slight lag at first, but can surf web just fine. obviously xlate from first cisco device doesnt transfer to second so some connections have to be re-established. but it provides redundancy so network doesnt go completely down.

    being that the ports on router are basically NICs, there must be some way to simply set a second gateway. im currently assigning WAN to LAN because they are just APs not doing gateway function themselves. DHCP/DNS all resolve to internal servers on my network.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice