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

Basic Questions I'm to stupid to figure out

Discussion in 'Tomato Firmware' started by Porktree, Sep 12, 2008.

  1. Porktree

    Porktree Addicted to LI Member

    I replace a D-Link 524 with a Linksys WRT54GL1.1, I did this so I could use Tomato.

    I have an ATT DSL account, and my dsl modem handles the ppoe connection. The modem is a Motorola single port, and acts like a router (supplies an ip address and dns to whatever connects to the single ethernet port). I connect WRT54GL to the modem.

    My first question - the router didn't draw dns from the modem - I had put the att dns servers into the basic network configuration myself. Is this expected behavior or have I misconfigured Tomato?

    In order for my pc's (and other devices) to see the internet I had to change the mode from Router to Gateway. Is this correct?

    I connect (wired) an xbox360 and a PS3, I have upnp on, the 360 is drawing dynamically, and shows an open nat. But if I statically assign an address to the 360 the nat type it detects changes to strict?

    The ps3 shows a nat 3 (??), as I understand it a wired ps3 with upnp should show a nat 1, even if I put hte ps3 on the dmz, it stays at nat 3. I've tried statically assigning an ip to the ps3 and forwarding all the tcp and udp ports, but still get a nat 3.

    Is this related to the router/gateway setting? If I've got that messed up I'd assume port forwarding and upnp would be essentially ignored.

    Thanks for the help.
     
  2. baldrickturnip

    baldrickturnip LI Guru Member

    I have my DSL modem configured as a pure bridge and it is connected to my 54GL's WAN port - I then have all my PPPoE settings and connection done by the 54GL

    my 54 GL is set up as a gateway
     
  3. HennieM

    HennieM Network Guru Member

    @Porktree: You have probably connected your WRT's WAN port to your modem. This is not desired, as your modem is acting as a smart modem/router, and you ae doing NAT in the modem/router, and NAT again in the WRT. For correct functioning of this setup (where the modem is smart), connect a WRT LAN port to the modem, set the WRT to Router mode, and disable the WAN on the WRT. Also disable the DHCP server on Tomato. Your WRT is now just functioning as a Wireless Access Point (AP) and a normal network switch.

    Your modem/router is still doing the connecting to the internet, supplies DNS (and probably DHCP) to your private LAN, etc. - the WRT has nothing to do with that. It is thus normal to have to specify the DNS server address (which should be the private address of your modem), gateway (which should also be the private address of your modem) manually in Tomato.

    The NAT things reported by the M$ box(es) are probably just understood by the clever-people-at-M$-that-gives-a-silly-name-to-everything. However, the NAT things your boxes are seeing, are probably the combined effect of NAT on Tomato and NAT on your modem. If you correct your setup as indicated above (so only your modem does NAT), you should see the actual "NAT experience" of your XBox trying to get onto the internet
     
  4. Porktree

    Porktree Addicted to LI Member

    Ok, I've done all this, and I can see that devices are getting ip assignments from the modem, is the downside to this that I no longer have the ability to use the qos and port forwarding abilities of tomato? No more DMZ? The modem is a Motorola Netopia 2210-02 ADSL Modem.
    As smart as the modem is, I don't think it does any NAT, or any configurable NAT.

    Would I be better off putting the modem in bridge mode? If I do that, other than turning on ppoe in tomato, would I leave the router mode on? (I know I'd have to turn DHCP back on).

    Which way is the better way?

    edit: Whoa, turns out with this configuration only one computer can use the internet at a time, the 'smart' modem only assigns the same ip to every computer.
     
  5. bripab007

    bripab007 Network Guru Member

    Yes, I would put the modem in bridge mode and let Tomato/WRT54G handle all the NAT, firewalling, port forwarding, DHCP'ing, PPoE'ing, etc.
     
  6. Porktree

    Porktree Addicted to LI Member

    And doing this I'd go back to plugging into the wrt's wan port?
     
  7. HennieM

    HennieM Network Guru Member

    If you keep your modem smart, you could turn off the DHCP server on the modem, and turn Tomato's DHCP server on to get proper addresses on your PCs.

    However, as your modem seems smart but made stupid by configuration limited firmware, the much better option is:
    Modem in bridge/dumb mode.
    Tomato-WAN to modem.
    Tomato in gateway mode.
    All configuration (PPPoE, DHCP server, firewall rules, NAT, etc.) in Tomato.

    This way, the modem does NOT get an IP address from your ISP - the modem only supplies the modulation to speak DSL on the phone line; i.e. establish a pathway for communication. The actual communication is done by Tomato, so Tomato controls the connection (and and other things).
     
  8. bguy00

    bguy00 Guest

    The thing is the Motorola 2210 isn't a router, it only does PPPoE and basically DMZ NAT for 1 device (PC or router). You can bridge it as suggested, in advanced - PPP location, and change location to computer. Or you can just change the IP it serves with DHCP from private (default) to public in the advanced configuration. I'd suggest bridging it and doing PPPoE on Tomato.

    Bradley
     
  9. Porktree

    Porktree Addicted to LI Member

    Thanks, I put the modem in bridge mode, moved ppoe to the router, and set it to gateway mode, and it works perfectly. The 360 nat still shows open, and the ps3 is now nat 2 (whatever that means). It stays nat 2 whether assigned a static ip and dmz'd, wired, or wireless, so I think that's the best I'm going to get (sony says wired should be nat 1, but...)

    Should I enable or disable the nat helpers? I'm uncertain as to their function, but since they deal with different ports than the game boxes I wouldn't expect any difference one way or the other.
     

Share This Page