VMware Communities
fbawany
Contributor
Contributor

how to connect Host-Only network to the internet

How can I connect the Host-Only network to the Internet without exposing it to my production network and vice versa?

0 Kudos
3 Replies
KevinG
Immortal
Immortal

Host-Only networking allows networking between the host and guest only.

Sounds like you want to use NAT virtual networking.

0 Kudos
fbawany
Contributor
Contributor

If I connect virtual machines to VMnet1(NAT), would they be compeletly isolated from the physical prodcution network?

Could I setup multiple VMnet(NAT) and setup routing between them?

Basically I am trying setup multiple virtual networks with-in my desktop to create a virtual WAN and I would like to connect these networks to the internet without exposing them to the pyhsical production network. I like to use the Windows DHCP and Windows DNS in each of my virtual network.

0 Kudos
jsg1
Contributor
Contributor

Sounds like you want multiple machines on different networks to talk to each other and have a route to the internet without your corporate LAN seeing the internal machines.

This would be accomplished by using multiple host-only networks and one nat cart with each host have a default route.

For example, say you want Win98PC <-> RHE1 <-> RHE2 -> internet

In this case, you'd need:

one nic on Win98PC (connected to vmnet1 - hostonly)

two nics on RHE1 (vmnet1 and vmnet2 - both hostonly)

two nics on RHE2 (vmnet2 hostonly and vmnet8 Nat)

You can setup many ways, but you could have a DHCP server on RHE1 on the vnmet1 side with iptables in NAT mode to forward win98 requests to RHE2 and you could do the same on RHE2.

0 Kudos