Installing portmap – Sun Microsystems Sun Fire V40z User Manual

Page 58

Advertising
background image

52

Sun Fire V20z and Stinger4 Servers Linux Operating System Installation Guide • May, 2004

4. Set up your DHCP configuration file (for example,

/etc/dhcpd.conf

) so that

only PXEClient requests receive PXEClient responses.

Add the following entry to the DHCP configuration file. Refer to the

dhcp.conf

man page for more information.

class "PXE" {match if substring(option vendor-class-identifier,

0, 9) ="PXEClient"; option vendor-class-identifier

"PXEClient";}

Note –

You can start with a sample DHCP configuration file in

/tmp/sles8-pxefiles

or

/tmp/suse9-pxefiles

directory.

5. For SUSE Linux Professional 9.0 only: Edit the

/etc/sysconfig/dhcpd

file and

be sure the

DHCPD_INTERFACE

is set to the interface that is connected to the

network you are planning to run the PXE server.

For example, if you are using Ethernet interface 0, the

DHCPD_INTERFACE

variable

would be set as follows:

DHCPD_INTERFACE="eth0"

6. Start the DHCP service by typing the following command:

# /etc/init.d/dhcpd start

7. Configure the server to always start DHCP by typing the following command:

# chkconfig dhcpd on

Installing Portmap

Complete the following steps on your DHCP server.

1. Determine whether the portmap server package is already installed on the server

by typing the following command:

# rpm -qa | grep portmap

2. If portmap is not listed, install the package using yast with the following

command:

# yast -i portmap

Advertising