Hello, I am trying to set up a DHCP server in ESXi 6.5. My plan is the server connect to a physical switch via uplink port(vmnic2) and provide DHCP IP to other computers. It sort of acts like a router.
Please see the picture of the topology. The virtual server is a CentOS 7 and I set DHCP and routing already. It has another virtual network interface connected to vmnic1 and that interface can go to Internet. There is a virtual machine windows 7 connected and it can get DHCP and use Internet via CentOS server. The physical adapters (vmnic2) connects to a switch. A laptop (Windows 7) also connects to the same switch. But the laptop doesn't get any IP. The laptop can ping the CentOS if I set a static IP in the same network. What can I do to make the laptop receive DHCP IP and use Internet like the virtual windows 7. Thank you.