Users Guide

Table Of Contents
Broadcom NetXtreme-E-UG304-2CS
85
NetXtreme-E User Guide User Guide for Dell Platforms
10.4.1 DHCP Configuration for PXE/iPXE
To add the DHCP feature on the PXE server, use the following command:
yum install dhcpd
NOTE: All IP addresses mentioned in this section are for illustration purposes only. They can be modified to match the
subnet that the PXE server is configured in.
10.4.1.1 IPv4 DHCP Configuration
To configure an interface with static network settings using ifcfg files, for an interface with the name p1p1, create a file
with name ifcfg-p1p1 in the /etc/sysconfig/network-scripts/ directory as follows:
DEVICE=p1p1
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
IPADDR=174.30.10.10
NETMASK=255.255.0.0
10.4.1.1.1 iPXE
To run iPXE, in the /etc/dhcp/dhcpd.conf file, make the following changes:
NOTE: The IP addresses used in this section are for examples only.
option ipxe.no-pxedhcp 1;
subnet 174.30.10.0 netmask 255.255.0.0 {
option routers 174.30.10.10;
range 174.30.10.11 174.30.10.50;
next-server 174.30.10.10;
option subnet-mask 255.255.0.0;
default-lease-time 3600;
max-lease-time 4800;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
if not exists ipxe.bus-id {
next-server 174.30.10.10;
if option arch = 00:06 {
filename "ipxe/ipxe-x86.efi";
} elsif option arch = 00:07 {
filename "ipxe/ipxe.efi"; # iPXE.efi built with support for Broadcom adapters
} elsif option arch = 00:00 {
filename "ipxe/ipxe.pxe"; # iPXE.pxe built with support for Broadcom adapters
}
} else {
next-server 174.30.10.10;
filename "ipxe/menu.ipxe"; # iPXE boot menu
}
}
}