CLI - This example sets a primary IP address for VLAN 1, and then adds
a secondary IP address for a different subnet also attached to this router
interface.
Console(config)#interface vlan 1
Console(config-if)#ip address 10.1.0.253 255.255.255.0
Console(config-if)#ip address 10.1.9.253 255.255.255.0 secondary
Console(config-if)#
Address Resolution Protocol
If IP routing is enabled (page 17-5), the router uses its routing tables to
make routing decisions, and uses Address Resolution Protocol (ARP) to
forward traffic from one hop to the next. ARP is used to map an IP
address to a physical layer (i.e., MAC) address. When an IP frame is
received by this router (or any standards- based router), it first looks up the
MAC address corresponding to the destination IP address in the ARP
cache. If the address is found, the router writes the MAC address into the
appropriate field in the frame header, and forwards the frame on to the
next hop. IP traffic passes along the path to its final destination in this way,
with each routing device mapping the destination IP address to the MAC
address of the next hop toward the recipient, until the packet is delivered
to the final destination.
If there is no entry for an IP address in the ARP cache, the router will
broadcast an ARP request packet to all devices on the network. The ARP
request contains the following fields similar to that shown in this example:
Table 17-1 Address Resolution Protocol
destination IP address
destination MAC
address
source IP address
source MAC address
A
R
DDRESS
10.1.0.19
?
10.1.0.253
00-00-ab-cd-00-00
P
ESOLUTION
ROTOCOL
36-4
17-9
Need help?
Do you have a question about the TigerStack II SMC8848M and is the answer not in the manual?
Questions and answers