Specifications
default-router
475
default-router
Sets the router option that is distributed to clients. A router option is an IP address the client
can use as a router IP address over the subnet (default router).
Syntax
To set or change information:
default-router <IP address>
To delete information:
no default-router
Input mode
(dhcp-config)
Parameters
<IP address>
Sets a router IP address for the subnet of a client (default router).
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
1.0.0.0 to 126.255.255.255, 128.0.0.0 to 223.255.255.255
The following addresses cannot be set:
- 127.0.0.0 to 127.255.255.255
Default behavior
None
Impact on communication
None
When the change is applied
The change is applied immediately after setting values are changed.
Notes
1. A maximum of one router IP address (default router) can be set for a pool.
Related commands
ip dhcp pool