background image
284 Chapter 5: Network Protocols
The router has routes to subnets 10.1.2.0/24 and 10.1.7.0/24, so it can forward packets to each
subnet. The router also can receive packets from hosts in one subnet and can forward the
packets to the other subnet using the same interface.
IP Addressing with Frame Relay Subinterfaces
Frame Relay configuration can be accomplished with or without the use of subinterfaces. If
subinterfaces are not used, then all router interfaces attached to this same Frame Relay cloud
should be configured with IP addresses in the same subnet. In other words, treat the Frame
Relay cloud as any other multiaccess medium (such as a LAN). However, Frame Relay
configuration without subinterfaces introduces some routing protocol issues when there is not
a full mesh of virtual circuits (VCs) between each pair of routers. Subinterfaces allow distance
vector routing protocols to work well because individual VCs can be considered as separate
interfaces. This allows the routing protocol to maintain its split-horizon feature to defeat routing
loops.
Example 5-8
Secondary IP Addressing Configuration and show ip route Command on Yosemite
! Excerpt from show running-config follows...
Hostname Yosemite
ip domain-lookup
ip name-server 10.1.1.100 10.1.2.100
interface ethernet 0
ip address 10.1.7.252 255.255.255.0 secondary
ip address 10.1.2.252 255.255.255.0
interface serial 0
ip address 10.1.128.252 255.255.255.0
interface serial 1
ip address 10.1.129.252 255.255.255.0
Yosemite#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 4 subnets
C 10.1.2.0 is directly connected, Ethernet0
C 10.1.7.0 is directly connected, Ethernet0
C 10.1.129.0 is directly connected, Serial1
C 10.1.128.0 is directly connected, Serial0
Yosemite#
ch05.fm Page 284 Monday, March 20, 2000 5:06 PM