Configuring Address Resolution Methods - Cisco WS-C3020 Software Configuration Manual

Catalyst blade switch for hp
Table of Contents

Advertisement

Chapter 34
Configuring IP Unicast Routing
To prevent the switch from forwarding packets destined for unrecognized subnets to the best supernet
route possible, you can disable classless routing behavior.
Beginning in privileged EXEC mode, follow these steps to disable classless routing:
Command
Step 1
configure terminal
Step 2
no ip classless
Step 3
end
Step 4
show running-config
Step 5
copy running-config startup-config
To restore the default and have the switch forward packets destined for a subnet of a network with no
network default route to the best supernet route possible, use the ip classless global configuration
command.

Configuring Address Resolution Methods

You can control interface-specific handling of IP by using address resolution. A device using IP can have
both a local address or MAC address, which uniquely defines the device on its local segment or LAN,
and a network address, which identifies the network to which the device belongs.
The local address or MAC address is known as a data link address because it is contained in the data link
layer (Layer 2) section of the packet header and is read by data link (Layer 2) devices. To communicate
with a device on Ethernet, the software must learn the MAC address of the device. The process of
learning the MAC address from an IP address is called address resolution. The process of learning the
IP address from the MAC address is called reverse address resolution.
The switch can use these forms of address resolution:
The switch also uses the Reverse Address Resolution Protocol (RARP), which functions the same as
ARP does, except that the RARP packets request an IP address instead of a local MAC address. Using
RARP requires a RARP server on the same network segment as the router interface. Use the ip
rarp-server address interface configuration command to identify the server.
For more information on RARP, see the Cisco IOS Configuration Fundamentals Configuration Guide,
Release 12.2 under Documentation > Cisco IOS Software > 12.2 Mainline > Configuration Guides
from the Cisco.com page.
OL-8915-03
Address Resolution Protocol (ARP) is used to associate IP address with MAC addresses. Taking an
IP address as input, ARP learns the associated MAC address and then stores the IP address/MAC
address association in an ARP cache for rapid retrieval. Then the IP datagram is encapsulated in a
link-layer frame and sent over the network. Encapsulation of IP datagrams and ARP requests or
replies on IEEE 802 networks other than Ethernet is specified by the Subnetwork Access Protocol
(SNAP).
Proxy ARP helps hosts with no routing tables learn the MAC addresses of hosts on other networks
or subnets. If the switch (router) receives an ARP request for a host that is not on the same interface
as the ARP request sender, and if the router has all of its routes to the host through other interfaces,
it generates a proxy ARP packet giving its own local data link address. The host that sent the ARP
request then sends its packets to the router, which forwards them to the intended host.
Purpose
Enter global configuration mode.
Disable classless routing behavior.
Return to privileged EXEC mode.
Verify your entry.
(Optional) Save your entry in the configuration file.
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
Configuring IP Addressing
34-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3020

Table of Contents