Configuring forwarding policies
After configuring the BootP/DHCP relay on an IP interface, you can configure forwarding policies to indicate where packets are to be forwarded. The forwarding policies are based on the type of packet and where the packet is received.
To set up a forwarding policy for BootP/DHCP packets received on a virtual interface (brouter or VLAN) enabled for DHCP relaying:
- From the Device Manager menu bar, choose IP Routing > DHCP.
| The DHCP dialog box opens. |
- Click Insert.
| The DHCP, Insert dialog box opens. |
Table 99 describes the items in the DHCP, Insert dialog box.
AgentAddr
|
IP address of the input interface (agent) on which the relaying of received BootP/DHCP packets must be enabled.
|
ServerAddr
|
This parameter is either the IP address of the BootP/DHCP server or the address of another local interface of the switch.
- If it is the address of the BootP/DHCP server, then the request is unicast to the server's address.
- If the address is one of the IP addresses of an interface on the switch, then the BootP/DHCP requests will be broadcast out of that local interface.
|
Enable
|
Enables BootP/DHCP relay on the routing switch.
|
Mode
|
Specifies the type of messages relayed:
- None
- Only BootP
- Only DHCP
- Both types of packets.
|
- In the AgentAddr box, type in the agent address.
| This parameter specifies the IP address of the IP interface on which the BootP/DHCP request packets are received for forwarding. This address is the IP address of either a brouter port or a VLAN for which forwarding is enabled. |
- In the ServerAddr list, type in the server address.
| This parameter is either the IP address of the BootP/DHCP server or the address of another local IP interface of the switch. If it is the address of the BootP/DHCP server, then the request is unicast to the server's address. If the address is one of the IP addresses of an interface on the switch, then the BootP/DHCP requests will be broadcast out of that local interface. |
- Click Enable to turn on BootP/DHCP relay, or click Enable to clear the option.
| Each agent server forwarding policy can be enabled or disabled. The default is enabled. |
- In the Mode field, select the type of messages to be relayed.
| What determines which packets get forwarded is both the mode setting for the DHCP interface and the mode setting for the agent interface. The default is to forward both BootP and DHCP messages. |
- Click Insert.