where n.n.n.n is the PXE/DHCP server’s IP address.
Also in the DHCP conguration le, nd the following subnet entry elds:
subnet 1.2.3.0 netmask 255.255.255.0 {
range dynamic-bootp 1.2.3.100 1.2.3.200;
option routers 1.2.3.1;
option broadcast-address 1.2.3.225;
}
Edit the subnet, range, router and broadcast-address entries to match the PXE/DHCP
server’s network conguration.
Start the DHCP service.
■
For Red Hat, type the service dhcp start command.
# service dhcpd start
■
For SUSE, use YaST to start the services.
Congure the server to always start DHCP.
■
For Red Hat, type:
# chkconfig dhcpd on
■
For SUSE, use YaST to congure the services to start at bootup. For example:
# yast > system > Runlevel Editor
“How to Install Portmap on Your DHCP Server” on page 44
▼
How to Install Portmap on Your DHCP Server
If your server does not include a portmap server, you need to install it.
Determine whether the portmap server package is already installed on the server. Type:
# rpm -qa | grep portmap
If portmap is not listed, install it as follows:
a. Mount the CD/DVD drive.
# mount /dev/cdrom /mnt/cdrom
b. Install the portmap server.
■
For RHEL 4.8, insert the DVD or CD2 and type:
# rpm -Uvh /mnt/cdrom/RedHat/RPMS/portmap-*
6
7
8
Next Steps
1
2
Overview of PXE Servers
Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -1244