BLADE OS™ Application Guide HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Version 5.1 Advanced Functionality Software

Table Of Contents
BLADE OS 5.1 Application Guide
BMD00113, September 2009 Chapter 9: Basic IP Routing 165
DHCP Relay Agent Configuration
To enable the GbE2c to be the BOOTP forwarder, you need to configure the DHCP/BOOTP server
IP addresses on the switch. Generally, you should configure the switch IP interface on the client side
to match the client’s subnet, and configure VLANs to separate client and server subnets. 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 19 DHCP Relay Agent Configuration
In the GbE2c 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 provide
failover redundancy. However, no health checking is supported.
Use the following commands to configure the switch as a DHCP relay agent:
Additionally, DHCP Relay functionality can be assigned on a per interface basis. Use the following
command to enable the Relay functionality:
Blade Chassis
Blade Chassis
DHCP
Server
Switch
>> # /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)
>> # /cfg/l3/if <interface number>/relay ena