Host Setup—Linux - Debian

2.3DHCPD Server Setup

Create or edit the file /etc/dhcpd.conf. The actual dhcpd.conf file may be different than this depending on the needs, however, this is a reasonable starting point.

deny unknown-clients; ddns-update-style ad-hoc; allow bootp;

subnet 192.168.0.0 netmask 255.255.255.0 {

}

group {

option broadcast-address 192.168.0.255; option domain-name "xscale-iop.net"; option routers 192.168.0.1;

option subnet-mask 255.255.255.0;

host myiop.xscale.net {

#put your MAC address here and replace 0's hardware ethernet 00:00:00:00:00:00; fixed-address 192.168.0.100;

option host-name "myiop";

option root-path "/exports/fs.xscale";

}

}

Ensure that the /var/lib/dhcp/dhcpd.leases file exists. When not, create it with the command “touch /var/lib/dhcp/dhcpd.leases”.

Start the dhcpd server. On Fedora or Mandrake systems, issue the command “/sbin/service dhcpd start”. Other platforms may invoke the rc init script for dhcpd as “/etc/init.d/dhcpd start”.

For Fedora and Mandrake host systems, ensure that the DHCP server runs automatically at boot by issuing the command “/sbin/chkconfig dhcpd on”.

Note: When using BOOTP or DHCP to assign dynamic IP addresses, use the 'fconfig' command in RedBoot to configure the board to query for an IP address. See the RedBoot User's Manual

Linux-Debian Installation Guide

Intel® I/O Processors

June 2005

 

Order Number: 306507001US

9

Page 9
Image 9
Intel I/O Processor manual Dhcpd Server Setup