jkyle wrote:
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
Is this possible or am I missing something?
Yes, that's possible. You should put your VMs, both vm-dhcp-server and vm-client in bridged network.
Open your vm network adapter settings and check the radio button next to your eth0(Ethernet perhaps), do the same step for your vm-dhcp-server and vm-client.
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.
If you want your two VM network adapters in your VM have different network, your should bridged the two VM network adapters to different Ethernet card on your Mac OS, say you could connect your eth0 to Ethernet and your eth1 to USB Ethernet.
Here is a setup for your fererences:
vm-dhcp-server vm-client
| |
-- eth0 ---------- Ethernet ------------ eth0
| |
-- eht1 ---------- USB Ethernet ----------- eth1