5.1   Introduction

This section describes the protocols used for retrieving network configuration information. These protocols are:

Both a DHCP server and a BOOTP server can supply an Internet host with an IP address and related configuration information. When a BOOTP server assigns an IP address to an Internet host, the address is permanently assigned.

A DHCP server is more flexible. It assigns an IP address on either a permanent or leased basis. Leased IP addresses are an advantage in environments where large numbers of Internet hosts join the network for sessions of limited duration. Unfortunately, predicting the duration of such sessions is not usually possible at the time the leases are assigned.

Fortunately, a DHCP client has the ability to recontact its server and renegotiate the lease on an IP address (or request a replacement address). Unlike a BOOTP client, a DHCP client must remain active for as long as the target needs a current lease on an IP address.

Also included at the end of this section is a brief description of SNMP, a separately purchasable optional networking product that is compatible with VxWorks. For detailed usage information on SNMP, see the WindNet SNMP VxWorks Optional Product Supplement.

DHCP and BOOTP are Supported for Ethernet Devices Only

Both the DHCP and BOOTP clients use broadcasts to discover an appropriate server. As a result, both protocols require network devices capable of link-layer broadcasts. In addition, the current VxWorks implementations of DHCP and BOOTP assume Ethernet. Thus, under VxWorks, DHCP and BOOTP support only Ethernet devices and the shared-memory network driver.