Solved

Windows 2008 - Route Add

Posted on 2011-09-08
4
663 Views
Last Modified: 2012-05-12
I am trying to do the following :

1. Access machines on a 192.168.1.0 network
2. using machines on a 10.10.10.0 network

These are virtual machines and I only have one physical nic per system. I can add several virtual nics (and i may have to). I cannot however add a virtual nic and set it to the same network as the 192.168.1.0.

These networks need to be separate

I have tried using route add 192.168.1.0 mask 255.255.255.0 gateway 10.10.10.1 metic 3 if 10 (the Virtual Nics interface) and i keep getting

bad gateway

Any Ideas?

robert
0
Comment
Question by:castellansolutions
  • 2
4 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 36507777
You need to have a device that will do the routing on the 10.10.10.x network to point to.  This device, like a router or l layer 3 switch.  Think what you do when you want to go to the internet, you put the default gateway on the same subnet that will get you to the next hop, you need to do the same here.  

0
 
LVL 6

Author Comment

by:castellansolutions
ID: 36507803
So when it says bad gateway it literally means that " this gateway does not exist" ?
0
 
LVL 42

Accepted Solution

by:
paulsolov earned 500 total points
ID: 36507833
It doesn't exist on the same subnet as the source node.

0
 
LVL 4

Expert Comment

by:pgorod
ID: 36514136
Perhaps you can solve your problem using a proxy on the VM's host computer. Something that simply grabs packets from one subnet and throws them to the other.

I'm not sure if this is good enough for your requirement of "the networks must be separate". Only people who know of the existence and address of the proxy would be able to get across. (or, the proxy could require authentication).

On a quick google search I got this:
http://www.download3k.com/Network-tools/Network-Administration/Download-Simple-Proxy-Server.html

but I haven't tested it. And you might need something more sophisticated.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

770 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