Configuring Dhcp-Based Autoconfiguration; Dhcp Server Configuration Guidelines; Configuring The Tftp Server - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 4
Assigning the Switch IP Address and Default Gateway
The DHCP server sends the client a DHCPNAK denial broadcast message, which means that the offered
configuration parameters have not been assigned, that an error has occurred during the negotiation of the
parameters, or that the client has been slow in responding to the DHCPOFFER message (the DHCP
server assigned the parameters to another client).
A DHCP client might receive offers from multiple DHCP or BOOTP servers and can accept any of the
offers; however, the client usually accepts the first offer it receives. The offer from the DHCP server is
not a guarantee that the IP address is allocated to the client; however, the server usually reserves the
address until the client has had a chance to formally request the address. If the switch accepts replies
from a BOOTP server and configures itself, the switch broadcasts, instead of unicasts, TFTP requests to
obtain the switch configuration file.

Configuring DHCP-Based Autoconfiguration

These sections describe how to configure DHCP-based autoconfiguration.
If your DHCP server is a Cisco device, or if you are configuring the switch as a DHCP server, see the
"IP Addressing and Services" section in the Cisco IOS IP and IP Routing Configuration Guide for Cisco
IOS Release 12.1 for additional information about configuring DHCP.

DHCP Server Configuration Guidelines

Follow these guidelines if you are configuring a device as a DHCP server:
The switch can act as both the DHCP client and the DHCP server. By default, the Cisco IOS DHCP
server and relay agent features are enabled on your switch.
The DHCP server feature is only available on Catalyst 2955 switches.
Note
You should configure the DHCP server with reserved leases that are bound to each switch by the switch
hardware address.
If you want the switch to receive IP address information, you must configure the DHCP server with these
lease options:
78-11380-12
DHCP Server Configuration Guidelines, page 4-5
Configuring the TFTP Server, page 4-6
Configuring the DNS, page 4-6
Configuring the Relay Device, page 4-7
Obtaining Configuration Files, page 4-8
Example Configuration, page 4-9
IP address of the client (required)
Subnet mask of the client (required)
DNS server IP address (optional)
Router IP address (default gateway address to be used by the switch) (required)
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
Assigning Switch Information
4-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents