beautypg.com

2 preparing a dhcp server for network boot, Dhcp configuration and network boot – Artesyn Centellis 2000 Shelf Release 3.0 Installation and Use (May 2014) User Manual

Page 168

background image

DHCP Configuration and Network Boot

Centellis 2000 Shelf Release 3.0 Installation and Use (6806800L99G)

168

Example:
/tftpboot/pxelinux.cfg> ln –s default.7150 01-00-80-42-18-
34-a0

9.2.2

Preparing a DHCP Server for Network Boot

Install a DHCP server on the host computer and configure it as follows.

Preparing a DHCP Server for Network Boot

To prepare a DHCP server, proceed as follows:

1. Adapt the DHCP configuration file /etc/dhcpd.conf. The following snippet

shows a DHCP configuration for two boards with fixed MAC to IP address
assignment and two network interfaces each. Fixed assignment means that a
specific client will receive the same IP address at each issued DHCP request.

subnet 192.168.9.0 netmask 255.255.255.0 {

default-lease-time 43200;

max-lease-time 86400;

// address of the server from which to upload the sources

// (here the tftp-server)

next-server 192.168.9.55;

group {

// configuration for Board 1 - Interface 1

host board_1_1 {

// MAC Address of the board received in the dhcp-

request,

// e.g.

hardware ethernet 00:80:42:26:79:9e;

// fixed IP address which will be assigned to the client

// according to the network addressing scheme

fixed-address 192.168.9.111;

// initial boot file which is to be loaded by the client

filename "pxelinux.0";

}