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

WRT54GL Tomato + DGN2000

Discussion in 'Networking Issues' started by xiphrex, Apr 15, 2010.

  1. xiphrex

    xiphrex Networkin' Nut Member

    Hi guys,

    Im hoping you can help me as Im really stumped and out of my depth with regards to all this.

    I'll try and be as brief as possible so not to bore you.

    I have had a number of netgear routers with combined ADSL modem and router for a long time now. Ive been using a DGN2000 for a few months now but the wireless signal is very poor so I have decided to upgrade to better hardware.

    I purchased a WRT54GL and put tomato onto it. I have ADSL that requires PPPoA by my ISP. My DGN2000 has the DGTeam firmware on it that allows it to act solely as a modem if needs be.

    I have ADSL and my ISP requires PPPoA connection, so I cant simply hook the "modem only" DGN2000 to the WAN port and use PPPoE on the WRT54GL.

    But when I use DHCP with the "modem only" DGN2000 it doesnt connect because the modem does not contain login username and password for my ADSL connection (there is no where to put that info).

    So the only way Ive managed to get everything to work is to connect the DGN2000 running in normal router + modem configuration (set to, with its wireless turned off, to the WAN port on the WRT54GL (set to And then all PCs are connected to the WRT54GL.

    However I have been told that this means the DGN2000 is being used as the router and not the WRT54GL which is upsetting as I want the superior hardware to handle everything!

    Here are my questions:

    1. Is what I have been told accurate? As I seem to be able to use QoS on the WRT54GL and it seems to be allocating IP addresses but I dont think it is port forwarding (I dont know how to check if it is).

    2, Is there a way to get the WRT54GL to do PPPoA so I can switch the DGN2000 to modem only which deactivates all the DGN2000's router capabilities?

    3. If I was to manually deactivate the firewall on the DGN2000 with my current setup, would the firewall of the WRT54GL protect my network?

    4. Is there a way to force the WRT54GL to become the sole router responsible for all router jobs?

    Many thanks for any help you can provide, as I said I am totally stumped and so much so infact that I am considering switching ISPs to one that works over PPPoE and have everything setup properly.

  2. mstombs

    mstombs Network Guru Member

    1. Yes, you are running in double-nat, port forwarding should work if you define the WRT54GL as the dmz of the DG. The only thing that will not work is apps that need the true WAN IP to be on the router, but there's also 2 sets of nat tables to have problems with.

    2. No, PPPoA has to be done in the device with the ADSL connection. Adsl PPPoE is really PPPoEoA so the modem can run in full bridge PPPoE mode and allow the PPP endpoint to be in the router.

    3 & 4, The DG needs to support one of the variants of PPP half-bridge modes, this can be setup using standard Linux routing commands, its easier if the WAN Ip is static, if dynamic need more handling of dhcp to pass on the true WAN IP using short lease times etc.
  3. xiphrex

    xiphrex Networkin' Nut Member

    Thanks for the reply.

    I have the WRT54GL as the dmz on the DG and port forwarding seems to be working but it looks like thats as far as I can get with this.

    Is there a way to have the DGN2000 act in PPP half-bridge?
  4. mstombs

    mstombs Network Guru Member

    There are various modems with half-bridge mode, Apparently a DrayTek Vigor can do a PPPoA to PPPoE bridge to make the router think it is connected to PPPoE, some SpeedTouch modems have abilty to bridge from PPPoA to PPPTP. None are perfect, those based on Linux I have studied usually patch the kernel to allow the ppp interface to have the same IP address as given to the router, and then patch pppd and udhcpd in various ways to pass on the IP address.

    I use a ppp half-bridge with PPPoA connection on a Linksys ADSL2MUE with 3rd party RouterTech firmware and a router with Tomato (the recent teddy_bear builds no longer need a firewall script). This is managed on the modem with a bash script without modifying any modem binaries, posted here if you are interested


    This only uses Linux routing commands, but has to work around the binary only "core logic" in the Ti AR7 firmware. You would need to a DG dev to do something similar with their firmware - I believe they have better access to the router control code so could do it better!

    But how easy is it to switch to an ISP that supports PPPoE?
  5. xiphrex

    xiphrex Networkin' Nut Member

    Yeah Im thinking its easier to just switch service, I was thinking of moving ISP anyway as they are expensive. I used to believe that you get what you pay for but with this ISP it seems they just give standard ADSL with no specific improvements, I mean my line speed isnt that great either considering I could get cable or ADSL2+ and get more mbps for the same price (in fact from what I can see most are cheaper!).

    Ive been looking about and it seems there are a few ISP's who support PPPoE so I think a switch is definitely on the cards.

    Much easier than having to edit firmwares or do scripting, I have no idea in any of that!

Share This Page