Configuring dhcp – Dell Emulex Family of Adapters User Manual

Page 1735

Advertising
background image

Boot Version 10.2 for NIC, iSCSI, FCoE, and RoCE Protocols User Manual

P010097-01B Rev. A

Appendix C. Examples for Configuring and Booting UEFI NIC

UEFI NIC Server Configuration Script for RHEL 6.x

1735

initrd /initrd.im

Configuring DHCP

[root@orleans ~]# cat /etc/dhcpd.conf

#

# DHCP Server Configuration file.

# see /usr/share/doc/dhcp*/dhcpd.conf.sample

ddns-update-style interim;

ignore client-updates;

#allow booting;

#allow bootp;

subnet 192.168.1.0 netmask 255.255.255.0 {

range 192.168.1.50 192.168.1.90;

default-lease-time 3600;

max-lease-time 4800;

option subnet-mask 255.255.255.0;

# option router 192.168.1.1;

option domain-name "pxe_text";

# option name-server 192.168.1.20;

option time-offset -8;

}

host bglinux45{

next-server 192.168.1.1; #### IP address of PXE server interface connected

back to back to PXE client interface

hardware ethernet 00:00:C9:BB:C7:8F; #### MAC address of PXE client interface

fixed-address 192.168.1.60; #### IP address to be assigned to PXE client

interface

option host-name "linux-test";

filename "bootx64.efi";

}

#### Restart DHCP service

[root@orleans ~]# service dhcpd restart

Shutting down dhcpd: [ OK ]

Starting dhcpd: [ OK ]

Note: Reboot your system under test and boot from the PXE client interface.

Advertising