Dhcp server configuration – Dell Emulex Family of Adapters User Manual

Page 1731

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 SLES11 SPx

1731

100005 1 tcp 831 mountd

100005 2 udp 828 mountd

100005 2 tcp 831 mountd

100005 3 udp 828 mountd

DHCP Server Configuration

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

1. Install the following RPMs in the server if not installed:

[root@bglinux156 ~]# rpm -qa | grep dhcp

dhcpv6-client-1.0.10-18.el5

dhcp-devel-3.0.5-23.el5

dhcp-3.0.5-23.el5

2. Make the following entry in /etc/dhcpd.conf file:

#

# DHCP Server Configuration file.

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

#

ddns-update-style interim;

#ignore client-updates;

subnet 192.168.47.0 netmask 255.255.255.0 {

range 192.168.47.50 192.168.47.100;

default-lease-time 3600;

max-lease-time-4800;

option subnet-mask 255.255.255.0;

option domain-name "pxe_test";

option time-offset -8; # Eastern Standard Time

}

# we want the nameserver to appear at a fixed address

host orleansrhel5564 {

next-server 192.168.47.1;#IP of the NFS Server

hardware ethernet 00:00:c9:5b:a5:26;#mac address of

#the client

#machine

fixed-address 192.168.47.60; #IP assigned to the

#client machine

option host-name "linux-test";

filename "bootx64.efi"; #Used for UEFI boot

}

###This sets up a DNS server that will assign IP Address 192.168.47.60

###to the client machine that has MAC Address "00:00:c9:5b:a5:26"

###assigned to a PXE(UEFI) capable NIC

###The only thing that needs to be changed in the above, is the MAC

Advertising