A DHCP server can allocate an IP address based on a host’s MAC address or the port of access switch the host connect to.