|
|
This chapter describes the required and optional tasks for configuring routing between VLANs with IEEE 802.1Q encapsulation. For a complete description of VLAN commands used in this chapter, refer to the "Cisco IOS Switching Commands" chapter in the Cisco IOS Switching Services Command Reference. For documentation of other commands that appear in this chapter, you can use the command reference master index or search online.
The IEEE 802.1Q protocol is used to interconnect multiple switches and routers, and for defining VLAN topologies. IEEE 802.1Q support is currently available for Fast Ethernet interfaces.
You can configure routing between any number of VLANs in your network. This section documents the configuration tasks for each protocol supported with IEEE 802.1Q encapsulation. The basic process is the same, regardless of the protocol being routed. It involves:
The configuration processes documented in this chapter include the following:
AppleTalk can be routed over virtual LAN (VLAN) subinterfaces using the IEEE 802.1Q VLAN encapsulation protocol. AppleTalk Routing provides full-feature Cisco IOS software AppleTalk support on a per-VLAN basis, allowing standard AppleTalk capabilities to be configured on VLANs.
To route AppleTalk over IEEE 802.1Q between VLANs, you need to customize the subinterface to create the environment in which it will be used. Perform these tasks in the order in which they appear:
To enable AppleTalk routing on IEEE 802.1Q interfaces, use the following command in global configuration mode:
| Command | Purpose |
|---|---|
appletalk routing [eigrp router-number] | Enables AppleTalk routing globally. |
![]() |
NoteFor more information on configuring AppleTalk, see the "Configuring AppleTalk" chapter in the Cisco IOS AppleTalk and Novell IPX Configuration Guide. |
After you enable AppleTalk globally and define the encapsulation format, you need to enable it on the subinterface by specifying the cable range and naming the AppleTalk zone for each interface. To enable the AppleTalk protocol on the subinterface, use the following commands in interface configuration mode:
To define the VLAN encapsulation format as IEEE 802.1Q, use the following commands in interface configuration mode:
IP routing over IEEE 802.1Q extends IP routing capabilities to include support for routing IP frame types in VLAN configurations using the IEEE 802.1Q encapsulation.
To route IP over IEEE 802.1Q between VLANs, you need to customize the subinterface to create the environment in which it will be used. Perform these tasks in the order in which they appear:
IP routing is automatically enabled in the Cisco IOS software for routers. To reenable IP routing if it has been disabled, use the following command in global configuration mode:
| Command | Purpose |
|---|---|
ip routing | Enables IP routing on the router. |
Once you have IP routing enabled on the router, you can customize the characteristics to suit your environment. If necessary, refer to the IP configuration chapters in the Cisco IOS IP and IP Routing Configuration Guide for guidelines on configuring IP.
To define the encapsulation format as IEEE802.1Q, use the following commands in interface configurationmode:
An interface can have one primary IP address. To assign a primary IP address and a network mask to a network interface, use the following command in interface configuration mode:
| Command | Purpose |
|---|---|
ip address ip-address mask | Sets a primary IP address for an interface. |
A mask identifies the bits that denote the network number in an IP address. When you use the mask to subnet a network, the mask is then referred to as a subnet mask.
IPX Routing over IEEE802.1Q VLANs extends Novell NetWare routing capabilities to include support for routing Novell Ethernet_802.3 encapsulation frame types in VLAN configurations. Users with Novell NetWare environments can configure Novell Ethernet_802.3 encapsulation frames to be routed using IEEE802.1Q encapsulation across VLAN boundaries.
To configure Cisco IOS software on a router with connected VLANs to exchange IPX Novell Ethernet_802.3 encapsulated frames, perform these tasks in the order in which they are appear:
To enable IPX routing on IEEE802.1Q interfaces, use the following command in global configuration mode:
| Command | Purpose |
|---|---|
ipx routing [node] | Enables IPX routing globally. |
To define the encapsulation format as IEEE802.1Q, use the following commands in interface configurationmode:
After you enable NetWare globally and define the VLAN encapsulation format, you may need to enable the subinterface by specifying the NetWare network number. Use this command in interface configuration mode:
| Command | Purpose |
|---|---|
ipx network network | Specifies the IPX network number. |
This section provides configuration examples for each of the protocols described in this feature guide. It includes these examples:
This configuration example shows AppleTalk being routed on VLAN 100.
! appletalk routing ! interface fastethernet 4/1.100 encapsulation dot1q 100 appletalk cable-range 100-100 100.1 appletalk zone eng !
This configuration example shows IP being routed on VLAN 101.
! ip routing ! interface fastethernet 4/1.101 encapsulation dot1q 101 ip addr 10.0.0.11 255.0.0.0 !
This configuration example shows IPX being routed on VLAN 102.
! ipx routing ! interface fastethernet 4/1.102 encapsulation dot1q 102 ipx network 100 !
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Jul 17 17:22:32 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.