165dynamiC Host serviCe and name serviCe
get a dynamic IP address from the DHCP server in another subnet. is can be done
through the service called a DHCP relay. Using a DHCP relay is a more cost-ecient
way to assign IP addresses to computers in multiple subnets.
If a router is congured as a DHCP relay, it will pass DHCP request packets
to another network. e router is so congured that it can nd a DHCP server in
a dierent network and forward DHCP requests to that DHCP server. When the
DHCP server responds with a broadcasted packet, the router with the DHCP relay
gets the packet and forwards it to the DHCP client in another network as shown in
Figure 5.3.
Oering dynamic IP addresses to other network hosts in the network can cause
a secu ...