option33 route

Function

The option33 route command configures a user route.

The undo option33 route command deletes a user route.

By default, no user route is configured for an address pool.

Format

option33 route dest-ip gateway

undo option33 route dest-ip gateway

Parameters

Parameter Description Value
dest-ip

Specifies a destination IP address.

The value is in dotted decimal notation.

gateway

Specifies a gateway address.

The value is in dotted decimal notation.

Views

IP address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

After the option router disable command is executed for network security purposes, the DHCP server does not send a gateway address to DHCP clients any more. To ensure that the DHCP clients can access some application servers, run the option33 route command to configure a user route. The DHCP server can send the user route to DHCP clients through Option 33, and DHCP clients can obtain the route towards the target network using Option 33.

Precautions

A maximum of eight user routes can be configured in an address pool.

Example

# Configure a user route with the destination IP address as 10.23.2.0 and gateway address as 1.1.1.1 for Option 33 in an address pool named huawei.
<HUAWEI> system-view
[~HUAWEI] ip pool huawei server
[~HUAWEI-ip-pool-huawei] option33 route 10.23.2.0 1.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >