Solved

Routing ina virtual PC

Posted on 2009-07-04
11
308 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
 
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now