34-2
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 34 Configuring Static IP Unicast Routing
Understanding IP Routing
Figure 34-1
Routing Topology Example
When Host A in VLAN 10 needs to communicate with Host B in VLAN 10, it sends a packet addressed
to that host. Switch A forwards the packet directly to Host B, without sending it to the router.
When Host A sends a packet to Host C in VLAN 20, Switch A forwards the packet to the router, which
receives the traffic on the VLAN 10 interface. The router uses the routing table to finds the correct
outgoing interface, and forwards the packet on the VLAN 20 interface to Switch B. Switch B receives
the packet and forwards it to Host C.
When static routing is enabled on Switch A and B, the router device is no longer needed to route packets.
Types of Routing
Routers and Layer 3 switches can route packets in these ways:
•
Using default routing to send traffic with a destination unknown to the router to a default outlet
or destination
•
Using static routes to forward packets from predetermined ports through a single path into and out
of a network
•
Dynamically calculating routes by using a routing protocol
The switch supports static routes and default routes, It does not support routing protocols.
IP Routing and Switch Stacks
A switch stack appears to the network as a single switch, regardless of which switch in the stack is
connected to a peer. For additional information about switch stack operation, see
Stack master functions:
•
The MAC address of the stack master is used as the router MAC address for the whole stack, and
all outside devices use this address to send IP packets to the stack.
•
All IP packets that require software forwarding or processing go through the CPU of the stack
master.
Stack members functions:
•
Act as routing standby switches, taking over if elected as the new stack master when the stack master
fails.
•
Program the routes into hardware.
If a stack master fails, the stack detects that the stack master is down and elects a stack member to be
the new stack master. Except for a momentary interruption, the hardware continues to forward packets.
18071
A
B
C
Host
Host
Host
Switch A
Switch B
VLAN 10
VLAN 20
ISL Trunks
Содержание 2975 - Catalyst LAN Base Switch
Страница 36: ...Contents xxxvi Catalyst 2975 Switch Software Configuration Guide OL 19720 02 ...
Страница 40: ...xxxviii Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Preface ...
Страница 62: ...1 22 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 1 Overview Where to Go Next ...
Страница 398: ...13 30 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 13 Configuring VLANs Configuring VMPS ...
Страница 424: ...15 18 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 15 Configuring VTP Monitoring VTP ...
Страница 628: ...26 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 26 Configuring UDLD Displaying UDLD Status ...
Страница 660: ...28 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 28 Configuring RMON Displaying RMON Status ...
Страница 888: ...38 32 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 38 Troubleshooting Troubleshooting Tables ...