faking NAT with a VMware distributed switch across multiple hosts
Posted
by
romant
on Server Fault
See other posts from Server Fault
or by romant
Published on 2010-03-11T05:45:34Z
Indexed on
2011/11/15
1:57 UTC
Read the original article
Hit count: 302
I need to construct a NAT for certain machines within the network. Wish to do this with dvSwitch - as it seems the logical way of attacking the problem as in this scenario there's just under 30 hosts.
In order for the NAT'ed VM's to have access to the 'real' network. I am providing a 'router' VM, which will have access to the WAN/outside network, and also act as the DHCP server for the NAT'ed machines.
Problem Space
When the machines connected to the NAT interface and the router are on the same host, then they get an IP from the router VM, and work perfectly (routed outside).
Unfortunately machines on other Hosts that are connected to the dvSwitch do not get an IP and further tcpdump shows no network data getting through across the hosts within the dvSwitch.
Has anyone achieved a NAT solution using a dvSwitch before that they could share?!
Thank you.
EDIT:
Including the diagram.
© Server Fault or respective owner