User guide

9gPXE
Preparing the DHCP Server in Linux
9-4 IB0054606-02 A
Configuring DHCP
1. From the client host, find the GUID of the HCA by using p1info or look at
the GUID label on the IB adapter.
2. Turn the GUID into a MAC address and specify the port of the IB adapter
that is going to be used at the end, using b0 for port0 or b1 for port1.
For example for a GUID that reads 0x00117500005a6eec, the MAC
address would read: 00:11:75:00:00:5a:6e:ec:b0
3. Add the MAC address to the DHCP server.
The following is the sample /etc/dhcpd.conf file that specifies the HCA
GUID for the hardware address:
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
ddns-update-style none;
subnet 10.252.252.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
range dynamic-bootp 10.252.252.100 10.252.252.109;
host hl5-0 {
hardware unknown-32 00:11:75:00:00:7e:c1:b0;
option host-name "hl5";
}
host hl5-1 {
hardware unknown-32 00:11:75:00:00:7e:c1:b1;
option host-name "hl5";
}
filename
"http://10.252.252.1/images/uniboot/uniboot.php";
}
In this example, host hl5 has a dual port IB adapter. hl5-0 corresponds to
port 0, and hl5-1 corresponds to port 1 on the adapter.