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

default gateway on LAN interface

Discussion in 'Cisco/Linksys Wireless Routers' started by beeblebrox, May 4, 2005.

  1. beeblebrox

    beeblebrox Network Guru Member

    I just bought a WRT54G. v3.03.1
    I dont want to use NAT at all (I have 32 public IPs). I have given it a public IP.
    It seems that NAT is impossible to turn off on the WAN port. So I try to use the
    LAN port instead. But I cant set a default gateway on the LAN & Wireless interface!

    Right now my routing table looks like this:

    Destination LAN IP Subnet Mask Gateway Interface
    194.145.250.64 255.255.255.224 0.0.0.0 LAN & Wireless
    194.145.250.64 255.255.255.224 0.0.0.0 WAN (Internet)
    0.0.0.0 0.0.0.0 194.145.250.65 WAN (Internet)

    ... so it cant talk to the internet because the default gateway is on the wrong
    interface. How do I fix this? I would prefer if it can be fixed without flashing
    it. Right now Im not interested to do anything else with it (like playing with
    cool firmwares), I just need it to work... so my sister can get internet :)

    If I need to flash it to get it to work, which firmware should I use?
    There is like gallions homemade firmwares for this AP. I dont want to take
    a chance and flash it and destroy it. So if a firmware flash is needed I really
    need to know which one and which version that I should use.

    Thanks.
     
  2. DennisI

    DennisI Network Guru Member

    Well I only have five public IPs and I have the WRT54GX, but the ideas should be the same.

    setup the WAN side of your router with "The" public IP address you were given. (you did not post that). Usually you are given "one" acutal public IP address that is in your DSL modem. The ISP routes the additional addresses to this address. It is usually a different scheme from the addresses they give you to use internally.

    the 194.145.250.65 should be the gateway on the LAN side of the router.

    Setup your DHCP to give address in the range of 250.64 - 250.96.
    With the 250.65 gateway.

    If you did an IPconfig /all command on a windows pc on the network you would see an IP address of 194.145.250.64 with a gateway of 205.65

    hope that helps.

    DennisI
     
  3. beeblebrox

    beeblebrox Network Guru Member

    No, I got 32 real public IPs. 194.145.250.65 is my gateway computer. All my
    computers are connected to a switch and that switch is also connected to
    the gateway computer... It looks like this: http://www.flashdance.cx/pics/flashdance-LAN.png
    The AP is connected to the switch as well... Right now the AP got IP .77

    So its my gateway computer that routes my entire network, 194.145.250.64/27
    to be exact.

    I dont want to use DHCP. The computers on the wlan will all have static public
    IPs. I dont need the built in switch in the WRT56G as I already got one.
     
  4. beeblebrox

    beeblebrox Network Guru Member

    fixed the problem

    I called linksys support. They helped me \o/ ... If I wrote:
    Router IP Local IP Address: 194.145.250.65
    instead of ip .77 (the WRT's IP) it worked.
    .65 is my gateway. It then removes the default gateway and just works as a ethernet bridge... i.e. just like I wanted.

    so.. case closed.
     

Share This Page