1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Networking with wrt54g and adsl modem/router

Discussion in 'Cisco/Linksys Wireless Routers' started by Whitman, Apr 5, 2005.

  1. Whitman

    Whitman Network Guru Member

    In my network I've currently got an ADSL modem/router connected to a switch into which my computers are connected. The router is pretty good but has some annoyances such as needing to be reset when changing a setting, such as a port forward.
    Now, I'll soon be getting a spare WRT54G router and I was wondering if the following setup would work.
    I'd like to substitute the switch in the old setup for the WRT54G, so that the network would look like

    <ADSL modem/router> <----> <WRT54G> <-----> <Computers on network>

    In this setup I'd like to use the WRT54G as the router. My thoughts on how to do this are like so:
    Plug the existing ADSL modem/router into the "Internet" port of the WRT54G.
    Assign a static ip on the "wan" side of the WRT54G and assign the gateway to the adsl modem/router.
    Assign the "wan" ip of the WRT54G to be in the DMZ of the ADSL modem/router.
    Assign another static ip on the "lan" side of the WRT54G and use that as the gateway for the computers on the network.

    So, would this work? I'm not sure about subnet masks, would I have to change these around?

  2. TazUk

    TazUk Network Guru Member

    You will have problems running them like that :( If you leave the WRT54G setup in gateway mode then youll be running double NAT i.e. the WRT54G will be doing network address translation as well as the ADSL router. If you switch the WRT54G to router mode then I don't think you'll be able to do port forwarding. The least problematic way of setting it up would be to connect the WRT54G to the ADSL router by one of it's LAN ports, it will then act as a 4 port switch/access point and the ADSL router will continue working as before. If you really do want the WRT54G to act as a router then you will need to replace the ADSL router with an ADSL modem that supports ethernet, there are a few of these around.
  3. Whitman

    Whitman Network Guru Member

    Thanks for the reply.

    Wouldn't putting the WRT54G in the DMZ of the modem/router solve the double NAT problem?

    I was planning on using using the WRT54G as a switch/access point before I came up with this crazy idea so I don't neccessarily mind.
  4. TazUk

    TazUk Network Guru Member

    Not really, putting something in the DMZ is like creating a port forwarding rule but including all ports/protocols, the packets still need to have the private IP translated into the public IP.
  5. Whitman

    Whitman Network Guru Member

    Ahh yes. Nevermind then.
    Think I might purchase another ADSL modem then, maybe the Linksys one so that I can stack it with the WRT54G and switches.

Share This Page