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

Static routing not working on WRT54G

Discussion in 'Cisco/Linksys Wireless Routers' started by TimP87, Aug 28, 2005.

  1. TimP87

    TimP87 Network Guru Member

    I have a Linksys WRT54G router set up currently doing wired routing only with wireless disabled. I'm using the version 4.20.6 of the official firmware dated May 26th, 2005. I need to use static routing for TCP/IP on a mainframe emulator I run. I was using a Linksys BEFSR81 eight port router prior to this and never had any problems. The entry looks like this:

    Destination IP: 192.168.1.199
    Subnet Mask: 255.255.255.252
    Default Gateway: 192.168.1.120
    Interface: LAN & Wireless

    I also have the exact same settings on the working BEFSR81. When I click Save Settings and then click Show Routing Table, the route is nowhere to be found. Am I doing something wrong, is this a problem with the firmware, or should I be looking into a 3rd party solution?

    Thanks,
    Tim
     
  2. DocLarge

    DocLarge Super Moderator Staff Member Member

    Interesting...

    If would have figured your route to look more like this:

    Destination IP: 192.168.1.0
    Subnet Mask: 255.255.255.252
    Default Gateway: 192.168.1.1
    Interface: LAN & Wireless

    Doc
     
  3. TimP87

    TimP87 Network Guru Member

    Hi Doc,

    What I'm trying to do is route all internet packets for 192.168.1.199 to 192.168.1.120.
     
  4. rgward611

    rgward611 Network Guru Member

    I believe your subnet mask is incorrect. The default gateway (router address) must be in the same network as the PC. A mask of 255.255.255.252 specifies a maximum of only 2 hosts in your network therefore your router is in a different network and the PC can't talk to it. Change the subnet mask on PC and router to 255.255.255.0 (254 hosts); 192.168.1.199 and 192.168.1.120 will now be in the same network.
     
  5. TimP87

    TimP87 Network Guru Member

    When I try to set the subnet mask to 255.255.255.0 for the static route I get an error saying "Invalid LAN IP or Subnet Mask".
     
  6. rgward611

    rgward611 Network Guru Member

    timP87

    you shouldn't get that error if mask is set like this on PC and router LAN interface... Is the error msg from the router or PC?

    Destination IP: 192.168.1.199
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.1.120
     
  7. TimP87

    TimP87 Network Guru Member

    These settings did the trick:

    Destination IP: 192.168.1.128
    Subnet Mask: 255.255.255.128
    Default Gateway: 192.168.1.120
     

Share This Page