Cisco – Does Router automatically exclude default-router address from DHCP leasing

ciscocisco-commandscisco-iosdhcprouter

I am confused with what happens to the default router adddress when we are configuring DHCP in the router.

I have the network with 253 hosts, 192.168.1.0/24, and I have configured DHCP in my network.

Now, while configuring DHCP, I have excluded the first four IP address of the network using ip dhcp exclude-address command, but I haven't excluded the address that I have used as a default-router address in DHCP configuration, which is the last address of the network, i.e. 192.168.1.254.

Now, I am confused that, since I didn't excluded that last ip address and point it to a default-router will router try to lease that address ?

If not, is it automatically excluded ? or do I have to exclude it myself to avoid any conflict ?

EDIT: default-router is pointing to another router where hosts are connected, and where ip helper-address is configured.

I am using 1841 Router in Packet Tracer.

Best Answer

A Cisco ISR router like the 1841 excludes the router's address on the subnet for which DHCP is configured if the router is performing DHCP.

If you have two routers and an FHRP on the subnet, you need to be more careful.

Related Topic