JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Server X2-8 (formerly Sun Fire X4800 M2) Installation Guide for Linux Operating Systems     Sun Server X2-8 (formerly Sun Fire X4800 M2) Documentation Library
search filter icon
search icon

Document Information

Using This Documentation

Sun Server X2-8 Name Change

Product Downloads

Documentation and Feedback

About This Documentation

Change History

Linux Installation Task Map

Oracle Hardware Installation Assistant (OHIA)

Task Overview

Obtaining OHIA

Preparing for OS Installation

How to Erase Your Boot Hard Disk

Creating a Virtual Disk

About Using the x2APIC Option

Selecting a Media Delivery Method

Local Installation by Accessing the Console Using the Serial or Video Port

Remote Installation by Accessing the Console Using Oracle ILOM

Installing Oracle Linux

Installing Oracle Linux From Distribution Media

Updating Oracle Linux

Installing Red Hat Enterprise Linux

Installing RHEL From Distribution Media

Updating RHEL

Installing SUSE Linux Enterprise Server

Installing SLES From Distribution Media

Updating SLES

Configuring a Linux Server to Support PXE Installation

Overview of PXE

How to Install and Configure a DHCP Server for PXE

How to Install Portmap on Your PXE Server

How to Configure the TFTP Service on Your PXE Server

How to Configure PXELINUX on Your PXE Server

How to Configure the NFS Service on Your PXE Server

Disabling the Firewall

How to Disable the Firewall for SUSE Linux

How to Disable the Firewall for Oracle Linux or Red Hat Enterprise Linux

How to Create a PXE Installation Image for Oracle Linux

How to Create a PXE Installation Image for RHEL

How to Create a PXE Installation Image for SLES

How to Create a PXE Installation Image for Oracle VM

How to Install Linux From a PXE Server

Identifying Logical and Physical Network Interface Names for Linux OS Configuration

How to Identify Installed Network Ports

How to Identify Logical and Physical Network Interface Names While Installing Oracle Linux or RHEL

How to Identify Logical and Physical Network Interface Names While Installing SLES

Index

How to Install and Configure a DHCP Server for PXE

Although you can configure a separate server for PXE images, the following example uses a Linux DHCP server as the PXE server. Complete the following steps to set up the DHCP server.


Caution

Caution - Do not set up a new DHCP server if your network already has one because this can cause conflicts and prevent PXE booting.


  1. Turn on the server and log in as superuser.
  2. Determine whether the DHCP server package is already installed on the server. Type:
    # rpm -qa | grep dhcp-
  3. If the DHCP server is not listed, install it from the Linux distribution media (you can use grep to find the rpm).
  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 dhcpd.conf man page for more information):

    class "PXE" {
        match if substring(option vendor-class-identifier, 0, 9) ="PXEClient"; 
        option vendor-class-identifier "PXEClient"; 
        vendor-option-space PXE; 
        next-server n.n.n.n;
        filename = "pxelinux.0";

    where n.n.n.n is the IP address of the DHCP/PXE server.

  5. In the DHCP configuration file, edit the server-identifier entry:

    server-identifier n.n.n.n

    where n.n.n.n is the IP address of the DHCP/PXE server.

  6. Also in the DHCP configuration file, find the following subnet entry fields:
    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 according to the DHCP/PXE server’s network configuration.

  7. Start the DHCP service.
    • For Oracle Linux or RHEL, type the service dhcp start command:

      # service dhcpd start
    • For SLES, use YaST to start the services.

  8. Configure the server to always start DHCP.
    • For Oracle Linux or RHEL, type:

      # chkconfig dhcpd on
    • For SLES, use YaST to configure the services to start at bootup. For example:

      # yast > system > Runlevel Editor