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

my ip and gateway aren't in the same subnet mask

Discussion in 'Networking Issues' started by khungus, Dec 22, 2005.

  1. khungus

    khungus Network Guru Member

    i got a WRT54G this morning. just using the default firmware to start with. (v1.00.1, i think)

    now, to get all connected to the internet normally, i have the following set up:

    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . : 10.11.66.11
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 195.229.13.45

    but when i go to enter this into the static ip in the web-based config on the linksys, it gets all bitchy and says the ip and gateway aren't in the same subnet mask. obviously, this is true, but just as obviously it works fine in windows.

    so why doesn't the router like that, and is there anything i can do to get connected to the internet with this router with the default firmware, or am i going to have to take more drastic measures?
     
  2. Mr_X

    Mr_X Network Guru Member

    Windows doesn't check if gateway IP meets subnet mask.
    You have to use a larger mask under linux.
     
  3. xrattiracer

    xrattiracer Network Guru Member

    I am trying to understand why you would want or need a gateway that is not in the local subnet... please explain your network topology and route information.
    it should NOT work in windows either, the fact that it does is showing that windows is doing something behind the scenes that it shouldnt, or it is not configured as you think it is (ipconfig /all?).
     
  4. khungus

    khungus Network Guru Member

    well the deal is this is some hokey dsl setup. these are the settings they gave me, and although it seemed a little strange, they work.

    windows _thinks_ it's configured this way:

    C:\>ipconfig /all

    Windows 2000 IP Configuration

    Host Name . . . . . . . . . . . . : machine
    Primary DNS Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No

    Ethernet adapter Local Area Connection:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Intel(R) PRO/100+ Management Adapter

    Physical Address. . . . . . . . . : <my mac>
    DHCP Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 10.11.66.11
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 195.229.13.45
    DNS Servers . . . . . . . . . . . : 195.229.24.50
    195.229.24.34
     
  5. xrattiracer

    xrattiracer Network Guru Member

    yeah that is definantly hokey, the techs at your dsl provider need to be slapped around a bit and forced to read some rfc's on how routing works...
    there has to be a 10.11.66.xx router in there somewhere, even if wondows isnt showing it to you. if you do a traceroute out to something from the windows box, does it show anything between you and 195.229.13.45?
     

Share This Page