PXE BOOT


PXE Boot Server

#yum install tftp*

first copy all source DVD in /var/ftp/pub

now

#cp -avrf /var/ftp/pub/isolinux/*  /tftpboot

#cp -r /usr/lib/syslinux/pxelinux.0 /tftpboot

#mkdir /tftpboot/pxelinux.cfg

#cp -r /tftpboot/isolinux.cfg /tftpboot/pxelinux.cfg/default

now configure DHCE to boot Pxe

vim /etc/dhcpd.conf

subnet 10.10.10.0 netmask 255.255.255.0 {

# — default gateway
#       option routers                  10.10.10.75;
#       option subnet-mask              255.255.255.0;

#       option nis-domain               “example.com”;
#       option domain-name              “example.com”;
#       option domain-name-servers      10.10.10.75;

option time-offset              -18000; # Eastern Standard Time
#       option ntp-servers              192.168.1.1;
#       option netbios-name-servers     192.168.1.1;
# — Selects point-to-point node (default is hybrid). Don’t change this unless
# — you understand Netbios very well
#       option netbios-node-type 2;

range dynamic-bootp 10.10.10.130 10.10.10.135;
default-lease-time 21600;
max-lease-time 43200;

# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 207.175.42.254;
}

host ns2  {
next-server 10.10.10.75;
hardware ethernet 00:19:D1:67:F0:C1;
fixed-address 10.10.10.132;
filename “pxelinux.0”;
}

and save the file ……….

now client side install from network boot and chose ftp option………..

2 Responses to “PXE BOOT”

  1. rhcekapil29@gmail.com November 7, 2012 at 4:38 pm #

    Thnaks Dude but i don,t understand why you gave filename “peelinux.0” in dhcp file

    • Vishal Vyas November 8, 2012 at 4:52 am #

      Hi,
      pxelinux.0 means that the PXE client will ask the DHCP server for an IP. The server will give it his IP.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: