Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
12Activity
0 of .
Results for:
No results containing your search query
P. 1
routing

routing

Ratings: (0)|Views: 285|Likes:
Published by api-3780069

More info:

Published by: api-3780069 on Oct 16, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

C H A P T E R
Configuring InterVLAN Routing3-1
3
Configuring InterVLAN Routing

This chapter describes how to con\ufb01gure switches and routers for inter-virtual LAN (VLAN) routing. The con\ufb01guration procedures and examples in this chapter are designed as a starting point to help you con\ufb01gure interVLAN routing for your network environment.

NoteFor complete syntax and usage information for the IOS commands used in this chapter, refer

to the software documentation for your IOS release. For complete syntax and usage information for the switch commands used in this chapter, refer to theCommand Reference for your switch software release.

These sections describe how to con\ufb01gure interVLAN routing:

\u2022Understanding How InterVLAN Routing Works, page 3-1
\u2022Con\ufb01guring VTP and VLANs on the Switch, page 3-3
\u2022Basic Router Con\ufb01guration Tasks, page 3-4
\u2022Con\ufb01guring InterVLAN Routing on the RSM, page 3-5
\u2022Con\ufb01guring InterVLAN Routing on the RSFC, page 3-7
\u2022Con\ufb01guring InterVLAN Routing on an External Cisco Router, page 3-10
\u2022Con\ufb01guring InterVLAN Routing on the Catalyst 8510 CSR, page 3-13
\u2022Con\ufb01guring Redundancy Using HSRP, page 3-15
\u2022InterVLAN Routing Con\ufb01guration Examples, page 3-16

Understanding How InterVLAN Routing Works

Network devices in different VLANs cannot communicate with one another without a router to route traf\ufb01c between the VLANs. In most network environments, VLANs are associated with individual networks or subnetworks.

For example, in an IP network, each subnetwork is mapped to an individual VLAN. In a Novell IPX network, each VLAN is mapped to an IPX network number. In an AppleTalk network, each VLAN is associated with a cable range and AppleTalk zone name.

Con\ufb01guring VLANs helps control the size of the broadcast domain and keeps local traf\ufb01c local. However, when an end station in one VLAN needs to communicate with an end station in another VLAN, interVLAN communication is required. This communication is supported by interVLAN routing. You con\ufb01gure one or more routers to route traf\ufb01c to the appropriate destination VLAN.

Understanding How InterVLAN Routing Works
Layer 3 Switching Software Configuration Guide\u2014August 1999
3-2
Figure 3-1 shows a basic interVLAN routing topology. Switch A is in VLAN 10 and Switch B is in
VLAN 20. The router has an interface in each VLAN.
Figure 3-1
Basic InterVLAN Routing Topology
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 traf\ufb01c on the VLAN 10 interface. The router checks the routing table, determines
the correct outgoing interface, and forwards the packet out the VLAN 20 interface to Switch B.
Switch B receives the packet and forwards it to Host C.

Figure 3-2 shows another common scenario, interVLAN routing over a single trunk connection to
the router. The switch has ports in multiple VLANs. InterVLAN routing is performed by a
Cisco 7505 router connected to the switch through a full-duplex Fast Ethernet trunk link.

Figure 3-2
InterVLAN Routing Over a Single Trunk Link

Multiple subinterfaces are con\ufb01gured on the physical Fast Ethernet router interface, one for each VLAN supported on the trunk. IntraVLAN traf\ufb01c (traf\ufb01c with the source and destination host in the same VLAN) is handled entirely by the switch.

InterVLAN traf\ufb01c is sent across the trunk to the router. The router checks the routing table,
determines the outgoing subinterface (destination VLAN), and sends the traf\ufb01c back over the trunk
to the switch, where it is forwarded out the appropriate switch port.
18071
AB
C
Host
Host
Host
Switch A
Switch B
VLAN 10
VLAN 20
ISL Trunks
18072
VLAN 10
VLAN 20
Trunk
link
Cisco 7505
Two subinterfaces configured
(VLAN 10 and VLAN 20)
Configuring InterVLAN Routing3-3
Configuring InterVLAN Routing
Con\ufb01guring VTP and VLANs on the Switch
To successfully con\ufb01gure a router for interVLAN routing, you must con\ufb01gure VTP and create and
con\ufb01gure VLANs on the switch.
NoteThis section describes the basics of VTP and VLAN con\ufb01guration. For detailed information
on con\ufb01guring VTP and VLANs, see theSoftware Con\ufb01guration Guide for your switch.
To con\ufb01gure VTP and VLANs on the switch, perform this task in privileged mode:
This example shows how to con\ufb01gure VTP, create two VLANs, and assign switch ports to those
VLANs:

Console> (enable)set vtp mode server
VTP domain modified
Console> (enable)set vtp domain Corp_Net
VTP domain Corp_Net modified
Console> (enable)set vlan 100
Vlan 100 configuration successful
Console> (enable)set vlan 200
Vlan 200 configuration successful
Console> (enable)set vlan 100 3/1-12
VLAN 100 modified.
VLAN 1 modified.

VLAN Mod/Ports
---- -----------------------
100
1/1-2
3/1-12

Console> (enable)set vlan 200 3/13-24
VLAN 200 modified.
VLAN 1 modified.

VLAN Mod/Ports
---- -----------------------
200
1/1-2
3/13-24
Console> (enable)
Task
Command
Step 1Specify the VTP mode.
set vtp mode{client| server| transparent}
Step 2Con\ufb01gure a VTP domain (if you con\ufb01gured the
switch as a VTP client or server).
set vtp domainname
Step 3Create VLANs on the switch.
set vlanvlan_num
Step 4Assign ports to the VLAN.
set vlanvlan_num mod_num/port_num

Activity (12)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
jdr114 liked this
arupghosh88 liked this
Zaenal Abidin liked this
Amk Fa liked this
salem636007 liked this
Slamet Riyadi liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->