197k views
3 votes
Which set of commands will configure a router as a DHCP server that will assign IPv4 addresses to the 192.168.100.0/23 LAN while reserving the first 10 and the last addresses for static assignment?

User Freethrow
by
5.9k points

1 Answer

4 votes

Answer:

Service DHCP

IP DHCP excluded-address 192.168.100.1

IP dhcp pool pool-lan-1

Network 192.168.100.0 255.255.254.0

Default-router 192.168.100.1

End

Step-by-step explanation:

Configuring a router as a DHCP server invikves specifying a pool of network addresses from the workstations in the network. The configuration is a global and not specific to an interface.

The DHCP protocol is enable first, if necessary, then addresses meant to be assigned to administrative interfaces like router and VLANs are excluded from the pool. The pool is name and the network range is configured. The default router command points to the network the pool is meant for.

User Henry Boisgibault
by
6.1k points