Configures a default router or gateway IP address for the network pool
After a DHCP client has booted, the client begins sending packets to its default router. Set the IP address of one or a group of routers the controller uses to map host names into IP addresses available to DHCP supported clients. Up to 8 default router IP addresses are supported.
default-router [<IP>|<HOST-ALIAS-NAME>] {<IP1>|<HOST-ALIAS-NAME1>}
default-router [<IP>|<HOST-ALIAS-NAME>] {<IP1>|<HOST-ALIAS-NAME1>}
[<IP>|<HOST-ALIAS- NAME>] |
Configures the primary default router, using one of the following options:
|
{<IP1>|<HOST-ALIAS- NAME1>} |
Optional. Configures the secondary default router, using one of the following options:
Note: A
network host alias maps a name to a single network
host. For example, ‘alias host $HOST 1.1.1.100‘. In
this example the host alias is ‘$HOST‘ and it maps to
a single host ‘1.1.1.100‘. For more information, see
alias.
Note: A maximum of 8 default routers can be configured..
|
The IP address of the router should be on the same subnet as the client subnet.
nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#default-router 192.168.13.8 192.168.13.9
nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#show context dhcp-pool testPool address 192.168.13.4 class dhcpclass1 ddns server 192.168.13.9 ddns domainname WID ddns multiple-user-class bootfile test.txt default-router 192.168.13.8 192.168.13.9 nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#
no |
Removes the default router settings |