Saturday, November 13, 2010

Router mode vs Gateway mode in Linksys/Cisco home and small business routers

I would like to set the record straight on the router mode and gateway mode that Linksys/Cisco routers use. At first I couldn't figure out what these did exactly and I couldn't find anywhere that explained it well. I found a couple of sites that said that the WAN port wasn't used when the router mode was activated. I would like to make sure that people know that the WAN port is used when in router mode and that only functional difference with the router mode is that NAT is disabled. Router mode does not just use the switch portion of the router.

Here it is in simple terms:

Gateway mode: NAT enabled on the WAN port
Router mode: NAT is disabled on the WAN port. The WAN port is still functional.

The key to getting router mode to work is that there needs to be a static route added to the upper level routers to route the traffic back to the subnet behind the router that is in router mode. One will notice that if just the router mode is enabled that you will be able to ping all the interfaces on the router but nothing past that. One will also be able to ping anything using the diagnostic abilities of the router itself, but that nothing behind the router will be able to communicate with anything past the router. This is because the upper level routers don't have a route to the subnet behind the router mode router (unless dynamic routing protocols are used).

As far as I know this is the case with all Linksys/Cisco home and small business routers, or any router with a gateway mode or a router mode. I've only tested this on a WRT router and a RVS4000 small business router.


5 comments:

  1. You sir are a legend and a lifesaver. Your post solved a problem that was driving me nuts.

    Thanks mate!

    ReplyDelete
  2. Hi, I have just read you email and add the route to the upper linksys router without success. the upper router is connected to internet in nat mode, I imagine that it's my problem? the second one is configured well in router mode and I can ping the local lan adress behind it but not computers or other device connected to the switch.
    Thanks

    ReplyDelete
  3. This blog is very interesting forLinksys Router Technical Support
    .if you find more information

    Thankyou
    Lacy Brown

    ReplyDelete
  4. wow, just what i was looking for - the past few years! lol. big up to shaun!

    ReplyDelete