TechSpot

Can you set up Static Routes in Windows ?

By VicRic
Feb 22, 2007
  1. Hi.

    Is it possible in Windows to set up additional routes, or say, 'extra default gateways' ?

    In Red Hat Linux you have an option to set up 'static routes' for any of your networking ports (i.e. eth0).

    Take a look of this:

    http://www.labtestproject.com/linnet/routing.html

    So, for instance in my case, I have at home 2 little routers:
    - 1 wireless router (192.168.1.1) that connects to the internet; and
    - 1 Linux machine (192.168.1.2) that works as a gateway to a local network (192.168.0.x)

    I'm setting up another Fedora machine (192.168.1.10) to use:
    - a 'Static Route' of 192.168.1.2 when it needs to access addresses in the 192.168.0.x range, and
    - a 'Default Gateway' of 192.168.1.1 for all the rest of addresses, v.g. access to the internet.

    Does Windows allow you to do this ?

    Thnx
     
  2. jobeard

    jobeard TS Ambassador Posts: 9,330   +622

    this is an INTERFACE (nic), not a port :)

    XP/Pro will allow ROUTE ADD to effech changes in the routing, but changing
    the subnet mask will suffice AND it is host OS independent

    see this article

    edit: and yes, you can set static IP addresses to a NIC
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...