User Manual

Features Overview and ConfigurationRev 2.3-1.0.1
Mellanox Technologies
128
The length of the client identifier field is not fixed in the specification. For the Mellanox OFED
for Linux package, it is recommended to have IPoIB use the same format that FlexBoot uses for
this client identifier.
3.2.5.1.2.2 DHCP Server
In order for the DHCP server to provide configuration records for clients, an appropriate config-
uration file needs to be created. By default, the DHCP server looks for a configuration file called
dhcpd.conf under /etc. You can either edit this file or create a new one and provide its full
path to the DHCP server using the -cf flag (See a file example at
docs/dhcpd.conf).
The DHCP server must run on a machine which has loaded the IPoIB module.
To run the DHCP server from the command line, enter:
dhcpd <IB network interface name> -d
Example:
host1# dhcpd ib0 -d
3.2.5.1.2.3 DHCP Client (Optional)
A DHCP client can be used if you need to prepare a diskless machine with an
IB driver.
In order to use a DHCP client identifier, you need to first create a configuration file that defines
the DHCP client identifier
.
Then run the DHCP client with this file using the following command:
dhclient –cf <client conf file> <IB network interface name>
Example of a configuration file for the ConnectX (PCI Device ID 26428), called
dhclient.conf:
# The value indicates a hexadecimal number
interface "ib1" {
send dhcp-client-identifier
ff:00:00:00:00:00:02:00:00:02:c9:00:00:02:c9:03:00:00:10:39;
}
Example of a configuration file for InfiniHost III Ex (PCI Device ID 25218), called
dhclient.conf:
# The value indicates a hexadecimal number
interface "ib1" {
send dhcp-client-identifier
20:00:55:04:01:fe:80:00:00:00:00:00:00:00:02:c9:02:00:23:13:92;
}
In order to use the configuration file, run:
host1# dhclient –cf dhclient.conf ib1
3.2.5.1.2.4 Static IPoIB Configuration
If you wish to use an IPoIB configuration that is not based on DHCP, you need to supply the
installation script with a configuration file (using the ‘-n’ option) containing the full IP configu-