daly29
asked on
Routing ina virtual PC
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
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
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
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
ASKER
Thanks for that
I will have a go at that when I am in the office on Monday
Will keep you updated
thanks Again
I will have a go at that when I am in the office on Monday
Will keep you updated
thanks Again
Any progress?
ASKER
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
Thank you once again
Sure Thing
ASKER
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
As you may gather routing is not my strongest point
Thank you
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Any advancements?
ASKER
Thank you for your help we decided against linking the networks but I really appreciate the imput and help with routing from you
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