User Manual

Driver FeaturesRev 2.1-1.0.6
Mellanox Technologies
58
To run the DHCP server from the command line, enter:
Example:
4.3.3.1.2 DHCP Client (Optional)
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:
Example of a configuration file for the ConnectX (PCI Device ID 26428), called
dhclient.conf:
Example of a configuration file for InfiniHost III Ex (PCI Device ID 25218), called
dhclient.conf:
In order to use the configuration file, run:
dhcpd <IB network interface name> -d
host1# dhcpd ib0 -d
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)”.
dhclient –cf <client conf file> <IB network interface name>
# 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;
}
# 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;
}
host1# dhclient –cf dhclient.conf ib1