[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Route to different subnets from different IP with one NIC

Posted on 2010-01-05
Medium Priority
Last Modified: 2012-05-08
I have interesting problem:
I have windows computer with 1 NIC and two static IP addresses and need to configure it that one IP would be for all trafic and another IP from same subnet to route to different subnet.
On the same NIC: with default gateway for all network usage
and (it is set as secondary IP) to subnet from gateway
Second gateway allows trafic only from 0.20 IP.
I tried route command, but as I have only one interface, I can not specify than to subnet .1.0 it should go via .0.20 IP
Question by:Vaidas911
  • 3

Author Comment

ID: 26178592
Linux has virtual interface, if I could get virtual interface in Windows and set IP and route it to subnet, I think my problem would be solved

Expert Comment

ID: 26182817
I hope I'm wrong but I don't believe this is possible. You want to subnet 1 Windows interface to 2 separate subnets. To make this work you would need route commands to point them like vlans on a switch.

I don't think Windows has this functionality. There maybe a software that will do it but I don't know what it is.

Author Comment

ID: 26185325
DjArioch - I think the same, just wanted to make sure. It's not the problem in linux though - you can have one NIC with virtual interfaces and route them as you like. If I just could have diferent "local area connections" from one network card in windows...
LVL 78

Accepted Solution

Rob Williams earned 2000 total points
ID: 26186857
The simple solution is to add a second NIC. Then use the existing with a default gateway and the second with a static route.

Author Closing Comment

ID: 31672820
I think I have no choice, just to add one more NIC. Thanks.

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question