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
174 Chapter 9: Basic IP Routing BMD00113, September 2009
Using DCHP Option 82 Agent Identifiers
Virtual MAC Identifiers
In the following examples, virtual MAC addresses are used to assign IP addresses to ports 1 and 7
for a switch with base MAC address of 00:13:0a:4f:7c:00.
Using DHCP Option 61 Client Identifiers
Note – Note that there is a type byte (0x01) in front of the virtual MAC address in the client
identifier.
class "class-Blade-port1" {
match if option agent.remote-id = 0:0:0:0:01 and
option agent.circuit-id = "BladeS1";
}
class "class-Blade-port7" {
match if option agent.remote-id = 0:0:0:0:07 and
option agent.circuit-id = "BladeS1";
}
subnet 172.31.0.0 netmask 255.255.0.0 {
pool {
allow members of "class-Blade-port1";
range 172.31.160.161;
}
pool {
allow members of "class-Blade-port7";
range 172.31.160.167;
}
}
group {
host BntHost1 {
option dhcp-client-identifier 01:0:13:0a:4f:7c:41;
fixed-address 172.31.160.161;
}
host BntHost7 {
option dhcp-client-identifier 01:0:13:0a:4f:7c:47;
fixed-address 172.31.160.167;
}
host BntHost12 {
option dhcp-client-identifier 01:0:13:0a:4f:7c:4c;
fixed-address 172.31.160.172;
}
}