Article

Solution for Duplicate Address Assignment Problem in PXE Boot Workstations

Author Info

17 April 2009 - 1:33pm
Submitted by: dshruthy

article
Reads:

1302

Score:
0
0
 
Comments:

0

Authors:
Shruthy Devendra
Sulabh Sharma

Usage of dhcpClass to overcome the duplicate address assignment problem in PXE boot workstations

The Preboot execution environment is an environment to boot computers using a network interface independently using the available data storage devices (like hard disks) or installed operating systems.

If the workstation is PXE boot, then it gets an address from the dhcp server. During the PXE boot, the client-identifier is not sent to the dhcp server. So the server creates a lease entry without the client-identifier value.

After the client loads up the operating system, the dhcp server again gives away the IP to the client. Thus for every single workstation, two IP addresses are offered. Hence, sometimes all the IP's get exhausted although effectively only half are being used.

To over come this, a solution is proposed as below:

  1. Create a class using iManager or Java console. For Example: PXE
  2. Click modify class option and type the following in the conditional expression field:
    match if option dhcp-client-identifier = null

    iManager

    Java Console

  3. Create 2 pools. Example: Pool1 and Pool2.
  4. Select any pool. Example: Pool1.
  5. Set the default lease time to double the time taken by the client to boot.
  6. (Server renews the leases after half the default-lease-time).

  7. Select the other Pool. Example: Pool2.
  8. Add the class PXE in the denied classes section of this pool.

This achieves the following functionality:

  1. During PXE boot, Pool2 never leases any IP. So this pool remains intact to serve the normal (non pxe boot) clients.
  2. Only Pool1 leases IPs during PXE boot and the lease expires soon after the client boots up. Hence these IPs are available soon.

Author Info

17 April 2009 - 1:33pm
Submitted by: dshruthy




User Comments

© 2009 Novell, Inc. All Rights Reserved.