Answer:
Because the LAN has a DHCP server configured in it.
Step-by-step explanation:
DHCP stands for Dynamic Host Configuration Protocol and its a client/server protocol that assigns an IP address and other configuration parameters to automatically connect a computer to the network and start browsing the internet