Which part of the network assigns an IP address?
the device's NIC based on the MAC address
the gateway/router using DHCP
the modem using TCP/IP protocol
IP addresses are always assigned manually