how do ip addresses get assigned?
IP addresses are assigned to a host either dynamically as they join the network, or persistently by configuration of the host hardware or software. ... Dynamic IP addresses are assigned by network using Dynamic Host Configuration Protocol (DHCP). DHCP is the most frequently used technology for assigning addresses.