User Manual

Driver FeaturesRev 2.2-1.0.1
Mellanox Technologies
78
Example:
host1# dhcpd ib0 -d
4.4.3.1.2 DHCP Client (Optional)
A DHCP client can be used if you need to prepare a diskless machine with an
IB driver. See Step 8 under “Example: Adding an IB Driver to initrd (Linux)”.
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