VMware Communities
tps800
Contributor
Contributor

Catch all network setup for guests

Hi!

I am trying to set up a "catch all" private, NATed network for VMware Workstation. I've had some success, but ...

here is what I want to have:

Network 10.169.19.0/24, router 10.169.19.254 (is it possible to move the router address to something I'd like to have with vmware at all?)

This network shall be "invisible" to the host! If I ping, say 10.169.19.22 I suppose the packets going to the default router configured on my workstation, not to the defined subnet!

Now, if I have a guest running, I'd like to set "route add 10.169.19.22 mask 255.255.255.255 192.168.141.1". After having done it, pinging the same address again the local running guest is pinged and answers.

At the moment I have to set up the guest too:

route del default

route add -host 192.168.141.1 dev eth0

route add default 192.168.141.2 gw 192.168.141.1

But I'd like to have some setup avoiding this additional step, because I have to have access to the guests console - this is normaly not the case. Only ssh is allowed.

Thus I am searching for a setup allowing to copy/download a VM from the main server to my local workstation, then test various things within this local environment, without changing anything on the guest, only adding the host route to my host (loosing connection to the "real" vm running on the server.

Any idea how I could set this up??

0 Kudos
0 Replies