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

WRT54GL connection issue

Discussion in 'Cisco/Linksys Wireless Routers' started by arielgrin, Jan 30, 2008.

  1. arielgrin

    arielgrin LI Guru Member

    Hi everybody: I been searching a lot before posting, to try and find a solution, but couldn't find it.

    It seems many have this problem too, but nobody has been able to solve it yet.

    I'm a client of one of those crappy ISP's that handle a default gateway that falls outside the range of the public IP they assign.
    Public IP: 190.3.0.x
    Default Gateway:

    My WRT54GL gets its IP through DHCP but fails to install the route for the default gateway, and won't let me statically add it.

    According to some reading, that is a linux limitation, specifically a udhcpc one, that fails to "understand" this situation.

    I've searched too, to a not very clear answer, that DDWRT may be able to address such an issue. Can anyone confirm any of these? Thanks so much, and my apologies if this question has already been answered, but I couldn't find a conclusive answer to it, whether linksys stock firmware or ddwrt can deal with a gateway that falls outside the range of the public ip.
  2. mstombs

    mstombs Network Guru Member


    That may have even been something I wrote! Its not a fundamental Linux problem (my Linux PC works fine), it just that usually you don't need to set an explicit route to the gateway before setting the default route. As you will see windows XP doesn't mind, but accepts more via dhcp than you can manually enter in connection properties.

    The firewall script in this thread should work for you using either Hyperwrt Thibor or Tomato (copy and paste into web screen form). I believe some versions of dd-wrt and OpenWrt need something similar (from observation on my Fonera).


    if the gateway IP is static you just need the 2 route commands, if like mine it changes every time the IP changes you need a script of some form to delete the old rules before adding the new - this may happen automatically but not every time in my testing.

Share This Page