NDVR2200F
Installation Guide & User’s
1/8/2008
20/66
5.3. Building BOOTP Environment
5.3.1. The necessary of setting BOOTP
This is a protocol required in order to get an IP assigned for a system. IP is assigned to BOOTP
and DHCP. Among these, programs such as boot loader use BOOTP as it is a very simple
protocol to run.
5.3.2. BOOTP
BOOTP is an UDP-based protocol to get an IP using the MAC address of the Ethernet adapter.
The client sends a broadcast of its own Ethernet MAC address in order to receive an IP address.
The host that provide BOOTP services send an IP address corresponding to the Ethernet MAC
address after receiving the broadcast. The client receives and sets the IP. The information that
the host sends to the client through BOOTP includes the filename of a boot image as well as IP
address because a combination of BOOTP and TFTP is commonly used for network booting.
BOOTP provides the following benefits:
- Automatic assignment and allocation of IP addresses.
- Linked with TFTP, network booting requiring no memory allocation can be done
Things to keep in mind when using BOOTP
- Improper IP addresses can be set as the same MAC address is provided by multiple servers.
- It is not as convenient as using a fixed IP at time of development.
5.3.3. Configuring the Host BOOTP Environment
On Linux, a daemon called bootpd is run to support BOOTP. This daemon has the configuration
file named /etd/bootptab.
Edit the /etc/xinetd.d/bootp file as follows to use BOOTP:
service bootps
{
disable
= no
socket_type = dgram
protocol
= udp
wait
= yes
user
= root
server
= /usr/sbin/bootpd
}