We help IT Professionals succeed at work.

Routing ina virtual PC

daly29
daly29 asked
on
378 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
Comment
Watch Question

Commented:
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

Commented:
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

Author

Commented:
Thanks for that

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

Will keep you updated

thanks Again

Commented:
Any progress?

Author

Commented:
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

Commented:
Sure Thing

Author

Commented:
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

Commented:
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

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
Any advancements?

Author

Commented:
Thank you for your help we decided against linking the networks but I really appreciate the imput and help with routing from you
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.