I'm trying to set up a virtual lab to test network services. The topology looks like
vm-dhcp-server vm-client
| |
-- eth0 ---------- vmnet2 ------------ eth0 --
| |
-- eht1 ---------- vmnet3 ----------- eth1 --
eth0 = public net
eth1 = private net
I want to serve dhcp from vm-dhcp-server over the private net and pxe boot machines while the public net has NAT on the host.
The problem is if I serve dhcp on both interfaces, it messes up the pxe booting. My understanding is this should be possible since each interface is on its on network. The problem occurs whether I serve both dhcpd's from the vm-dhcp-server or only serve the pxe dhcp from the vm-dhcp-server and one from vmware.
Is this possible or am I missing something?