09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

uses both TCP and UDP for service delivery. TCP port 53 is used for server-<strong>to</strong>-server<br />

data transfers. The data consists of <strong>the</strong> forward (hostname <strong>to</strong> IP address) and<br />

reverse (IP address <strong>to</strong> hostname) translation files. Name requests are performed<br />

using UDP.<br />

RARP, BOOTP, and DHCP<br />

In order for a host <strong>to</strong> exchange data with o<strong>the</strong>r hosts, each host must have its own<br />

distinct IP address. Reverse Address Resolution Pro<strong>to</strong>col (RARP) is <strong>the</strong> simplest way<br />

<strong>to</strong> provide IP addresses <strong>to</strong> hosts. The server listens <strong>to</strong> broadcasts sent across <strong>the</strong><br />

E<strong>the</strong>rnet segment. If it receives a broadcast from a host with an E<strong>the</strong>rnet address<br />

that it knows, it responds <strong>to</strong> <strong>the</strong> broadcast with <strong>the</strong> IP address of <strong>the</strong> requesting host.<br />

This is great if all that's needed is an IP address, and if <strong>the</strong> host and server are on<br />

<strong>the</strong> same E<strong>the</strong>rnet segment. RARP's functional shortcomings leave it little place in<br />

<strong>to</strong>day's <strong>network</strong>s.<br />

BOOTP, on <strong>the</strong> o<strong>the</strong>r hand, picks up where RARP leaves off. BOOTP uses IP <strong>to</strong><br />

provide IP configuration and boot service, hence <strong>the</strong> name BOOTP, for<br />

bootstrapping pro<strong>to</strong>col. The requesting host sends a BOOTP request, which is ei<strong>the</strong>r<br />

answered by a BOOTP server that has a configuration for <strong>the</strong> requesting station, or<br />

<strong>the</strong> request is relayed <strong>to</strong> a BOOTP server on ano<strong>the</strong>r E<strong>the</strong>rnet segment that contains<br />

<strong>the</strong> host configuration information.<br />

The BOOTP server runs as a UDP service on port 68. Although <strong>the</strong>re is no interactive<br />

au<strong>the</strong>ntication, hosts must be configured in <strong>the</strong> BOOTP server database and have<br />

corresponding BOOTP images in <strong>the</strong> TFTP server for <strong>the</strong> BOOTP service <strong>to</strong> work.<br />

After <strong>the</strong> configuration information has been transferred <strong>to</strong> <strong>the</strong> host, <strong>the</strong> BOOTP<br />

server <strong>the</strong>n directs <strong>the</strong> host <strong>to</strong> <strong>the</strong> TFTP server where <strong>the</strong> actual boot file resides.<br />

This boot file is <strong>the</strong>n downloaded through TFTP and used <strong>to</strong> boot <strong>the</strong> host. BOOTP<br />

provides more services than RARP, so <strong>the</strong> two cannot be compared directly.<br />

BOOTP's capability <strong>to</strong> provide all <strong>the</strong> <strong>network</strong> configuration information (default<br />

gateway, DNS servers, and so on), its capability <strong>to</strong> boot <strong>the</strong> host from a remote<br />

server, and its capability <strong>to</strong> have service requests relayed across separate E<strong>the</strong>rnet<br />

cable segments make BOOTP more versatile than RARP. In terms of providing IP<br />

addresses <strong>to</strong> hosts, BOOTP is a better choice because it uses IP and does not have<br />

<strong>the</strong> direct hardware access requirement RARP has. BOOTP does not work well in<br />

environments that are constantly changing (in o<strong>the</strong>r words, lots of lap<strong>to</strong>ps) and<br />

where configuration information needs <strong>to</strong> be changed on a constant basis.<br />

Dynamic Host Configuration Pro<strong>to</strong>col (DHCP) provides IP host configuration services<br />

dynamically with no host configuration requirements. To use DHCP, <strong>the</strong> host's IP<br />

implementation must support configuration by DHCP. As with BOOTP, <strong>the</strong> host<br />

makes a DHCP broadcast request and <strong>the</strong> DHCP server replies with configuration

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!