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
166 Chapter 9: Basic IP Routing BMD00113, September 2009
DHCP Server Configuration
To modify the DHCP server configuration, open the configuration file (dhcpd.conf), and add new
classes for server ports. Then define an IP address for each class.
For Linux DHCP servers, option 82 information is referenced by the following variables:
option agent.circuit-id
option agent.remote-id
You can use these variables in any expression allowed within a DHCP configuration file. To declare
an explicit chassis, configure the chassis ID in agent.circuit-id.
This configuration declares a class for the server connected to port 2 of a switch in slot 1 of chassis
55:53:45:36:33:35:31:4d:34:36:00:00:00:00:00:00
This configuration associates an IP address with the class declared above.
class "class-chassis1-slot1-port2"
{
match if option agent.circuit-id =
55:53:45:36:33:35:31:4d:34:36:00:00:00:00:00:00
and option agent.remote-id = 01:0:0:0:02; }
subnet 10.70.70.0 netmask 255.255.255.0 {
pool
{
allow members of " chass_a _sw_1_port_2"; range 10.70.70.10; }
}