Solved

Routing ina virtual PC

Posted on 2009-07-04
11
319 Views
Last Modified: 2012-05-07
Hi

I have set up a virtual PC for testing purposes have given it a different subnet address from the Host system

The Virtual PC is a server and I dont want it to be on the same subnet as my host system.

I do however want to contact the host LAN to map a drive - get internet access ocassionaly and so on.

I tried to set up a VPN which failed on error 800

I was wondering if anyone could suggest a means to do this please, ie would a static route work.

The host system is in on a 192.168.0 range

And the Virtual system which will become a small test network is on 192.168.5  range

Could anyone help please

Thanks
0
Comment
Question by:daly29
  • 7
  • 4
11 Comments
 
LVL 9

Expert Comment

by:jfer0x01
ID: 24777275
Hello,

Do you have Windows servers at both subnets?

If so,setup a RRAS on both ends, and configure default gateways to each other on both ends

http://foss.aueb.gr/images/7/74/Intro_to_net.pdf

see slide 8

Although it's a Linux network example, the routing you desire is the same

All you pretty much need is a Routing application service in between both ends

Jfer
0
 
LVL 9

Expert Comment

by:jfer0x01
ID: 24777319
You can probably even get away with just

route -p ADD 192.168.5.1 MASK 255.255.0.0 192.168.0.1

and vice-versa at other end

route -p ADD 192.168.0.1 MASK 255.255.0.0 192.168.5.1
0
 

Author Comment

by:daly29
ID: 24777677
Thanks for that

I will have a go at that when I am in the office on Monday

Will keep you updated

thanks Again
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 9

Expert Comment

by:jfer0x01
ID: 24819928
Any progress?
0
 

Author Comment

by:daly29
ID: 24821799
Thanks for your message The Guy I am working on this with is off sick this week so I will hopefully get a chance to test it on Monday, I will keep you informed of how this goes

Thank you once again
0
 
LVL 9

Expert Comment

by:jfer0x01
ID: 24845845
Sure Thing
0
 

Author Comment

by:daly29
ID: 24876399
Hi tried the route add way which I prefer to do. I am getting bad mask errors  - what I want is to route from server machine which has ip 192.168.5.5 to the other subnet to get to the internet and the file server. the gateway on that subnet is 192.168.0.2 and the fileserver is 192.168.0.5

As you may gather routing is not my strongest point

Thank you
0
 
LVL 9

Expert Comment

by:jfer0x01
ID: 24891120
try these, replace the gateway ip with the ip of the router you have that divides the network

the second ip block is the gateway device ip, modify it if .5.1 is not the ip of the device that routes on that lan

route add 192.168.5.0 MASK 255.255.255.0 192.168.0.2 metric 1
route add 192.168.0.0 MASK 255.255.255.0 192.168.5.1 metric 1

0
 
LVL 9

Accepted Solution

by:
jfer0x01 earned 500 total points
ID: 24891178
0
 
LVL 9

Expert Comment

by:jfer0x01
ID: 25047937
Any advancements?
0
 

Author Comment

by:daly29
ID: 25072003
Thank you for your help we decided against linking the networks but I really appreciate the imput and help with routing from you
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

809 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