Dhcp relay agent configuration – HP 445946-001 User Manual

Page 113

Advertising
background image

Basic IP routing

113

DHCP relay agent configuration

To enable the switch to be the BOOTP forwarder, you need to configure the DHCP/BOOTP server IP
addresses on the switch. Generally, you should configure the command on the switch IP interface closest

to the client so that the DHCP server knows from which IP subnet the newly allocated IP address should

come.
The following figure shows a basic DHCP network example:

Figure 16

DHCP relay agent configuration

In HP 10GbE switch implementation, there is no need for primary or secondary servers. The client request

is forwarded to the BOOTP servers configured on the switch. The use of two servers provides failover

redundancy. However, no health checking is supported.
Use the following commands to configure the switch as a DHCP relay agent:

>> # /cfg/l3/bootp

>> Bootstrap Protocol Relay# addr (Set IP address of BOOTP server)

>> Bootstrap Protocol Relay# addr2 (Set IP address of 2nd BOOTP server)

>> Bootstrap Protocol Relay# on (Globally turn BOOTP relay on)

>> Bootstrap Protocol Relay# off (Globally turn BOOTP relay off)

>> Bootstrap Protocol Relay# cur (Display current configuration)

Additionally, DHCP Relay functionality can be assigned on a per interface basis. Use the following

command to enable the Relay functionality:

>> # /cfg/l3/if <1-249>/relay ena

Advertising