IBM Partner Pavilion BMD00082 Switch User Manual


 
SmartConnect User’s Guide
40
Chapter 3: Switch Virtualization BMD00082, February 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
These variables can be used 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 8 of a switch in slot 1 of
chassis 5949 00C1 565F 11DB A8DD CAD0 A4B3 DE4A
This configuration associates an IP address with the class declared above.
class “class-chassis1-slot1-port8”
{
match if option agent.circuit-id =
59:49:00:c1:56:5f:11:db:a8:dd:ca:d0:a4:b3:de:4a
and option agent.remote-id = 01:0:0:0:08; }
subnet 10.70.70.0 netmask 255.255.255.0 {
pool
{
allow members of "class-chassis1-slot1-port8"; range 10.70.70.10; }
}