236
Chapter 6
Inter-VLAN Routing
It is important to think of each VLAN interface as a separate interface that
needs an IP address and a no shutdown performed, just as with any other
router interface.
You can then verify your configuration with the show running-config
command:
ToddRSM#sh run
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ToddRSM
!
interface Vlan1
ip address 172.16.1.1 255.255.255.0
!
interface Vlan2
ip address 172.16.2.1 255.255.255.0
!
interface Vlan3
ip address 172.16.3.1 255.255.255.0
!
router eigrp 10
network 172.16.0.0
To view the routing table on the internal processor, use the show ip
route
command:
ToddRSM#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M
[output cut]
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 3 subnets
C 172.16.3.0 is directly connected, Vlan3
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com