The dhcp option121 route command allocates static routes to domain users.
The undo dhcp option121 route command cancels the static routes allocated to domain users.
By default, no static routes are configured for domain users.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
ip-addr |
Specifies the destination IP address. |
The value is in dotted decimal notation. |
mask |
Specifies the mask length. |
The value is an integer that ranges from 0 to 32. |
gateway-address |
Specifies the IP address of the gateway. |
The value is in dotted decimal notation. |
Usage Scenario
Option 121 allows a DHCP server to allocate static routes to DHCP clients.
When clients access certain servers, you can run the dhcp option121 route command for the user domain to allocate static routes to clients and adjust routes. When a DHCP user goes online, the BRAS encapsulates static route information into DHCP Option 121 and sends the information to a client. When a PPPoE user goes online, the BRAS encapsulates static route information into PPPoE PADN Tag 0x121 IP_ROUTE_ADD and sends the information to a client if you configure the client-option82 version1 command on the BAS interface to enable static route allocation for PPPoE users. When both PPPoE PADM and PADN packets need to be sent to a client, PADN packets are sent first. A maximum of 24 routes can be configured for a domain. DHCP clients will perform addressing based on the delivered static routes.Precautions
In VS mode, this command is supported only by the admin VS.