Administrator Guide
MAC-Based IP Address Assignment
To assign a fixed IP address and configuration file based on the system’s MAC address, configure the
DHCP server to deploy in BMP mode.
In this way, the same IP address is assigned and the same configuration file is retrieved when the switch
reloads.
Using a dynamic IP address assignment may cause the desired configuration to not load on the system
because the IP address changes each time the system is reloaded.
For example, on a DHCP3 server, you can configure the assignment of a fixed MAC-based IP address and
configuration file by entering the following lines of configuration parameters in the dhcpd.conf file on
the server:
host S4810 {
hardware ethernet 00:01:e8:81:e2:39;
fixed-address 20.0.0.48;
option configfile "customer.conf";
}
Class-Based Configuration
By matching a part of the string from the vendor class identifier option 60 string, the image, configuration
file, or script file is sent in the DHCP offer.
For example:
host dt-maa-z9000-11 {
hardware ethernet 00:01:e8:a9:81:a3;
fixed-address 10.16.151.175;
option tftp-server-address 10.16.151.209;
match if substring (option vendor-class-identifier,0,17) =
"TY=DELLNTW-Z9000 "; {
filename "tftp://10.16.151.209/FTOS-ZB-9.3.0.0.bin";
option configfile "ftp://anvltest:force10@10.16.151.209//
tftpboot/basic-l3-z9k <ftp://10.16.151.209//tftpboot/
basic-l3-z9k> ";
}
match if substring (option vendor-class-identifier,0,17) =
"TY=DELLNTW-s4810 "; {
filename "tftp://10.16.151.209/FTOS-SE-9.3.0.0.bin";
option configfile "ftp://anvltest:force10@13.4.4.4//
tftpboot/basic-l3-across-s6410-s4810_z9k.cfg";
}
}
Option 60 is also called vendor class identifier. It has five fixed fields that have fixed offsets. The fixed
fields are:
• TY — denotes the type of the device
• HW — denotes the version of the box
• SN — denotes the serial number of the device
• ST — denotes the service tag of the device
Bare Metal Provisioning
39