You are on page 1of 40

Routing Case Study

Instructions
Configure the routers according to the above diagram and the requirements below.
Requirements
Configure the interfaces with the IP addresses shown in the diagram.
Configure R2 and R3 to be in EIGRP AS 65100. Add the entire class B
network and disable automatic summarization.
Configure OSPF area 0 on the link between R1 and R2. Do not add the
loopback interfaces on R1 into area 0.
Redistribute all R1 loopbacks and summarize the 172.16.122.0 and
172.16.123.0 loopbacks to the backbone with the most efficient mask.
Have R3 redistribute its connected routes into EIGRP.

Instructions
Configure
the
below.
Requirements

Make sure all loopback interfaces are advertised with the correct mask.
Have R2 originate a default route into the OSPF domain.
Redistribute OSPF into EIGRP.
Configure passive interfaces for EIGRP and OSPF as appropriate.
Filter out 172.16.121.0 and 172.16.121.0 from being advertised to R3.
Configure R2 and R3 in BGP AS 65100. Configure R4 in BGP AS 65400.
Peer R2 and R3 in BGP on their loopback interfaces.
Peer R3 and R4 in BGP.
Have R4 advertise its loopback interfaces into BGP.
Modify the local preference on R3 so that AS 65100 prefers the T1 link to
AS 65400 networks.
Configure R3 to filter out 172.31.8.0 and 172.31.12.0 on the inbound
updates from R4.
Configure R4 with a static route to the 172.16.0.0/16 network via R3.
Configure the IPv6 loopback and tunnel interfaces on R1 and R3.
Enable RIPng on R1 and R3 and configure the advertisement of the IPv6
loopback and tunnel networks.

routers

according

to

the

above

diagram

and

the

requirements

Configure the interfaces with the IP addresses shown in the diag Instructions
Configure the routers according to the above diagram and the requirements
below.
Requirements
Configure the interfaces with the IP addresses shown in the diagram.
Configure R2 and R3 to be in EIGRP AS 65100. Add the entire class B network
and disable automatic summarization.
2 2 CCNP: Building Scalable Internetworks v5.0 Skills-Based Assessment 2 Copyright 2006, Cisco Systems,
Inc
Configure OSPF area 0 on the link between R1 and R2. Also add the loopback
interfaces on R1 into area 0.
Have R3 redistribute its connected routes into EIGRP.
Make sure all loopback interfaces are advertised with the correct mask.
Have R2 originate a default route into the OSPF domain.
Redistribute OSPF into EIGRP.
Filter out 172.16.120.0 and 172.16.121.0 from being advertised to R3.
Configure R2 and R3 in BGP AS 65100. Configure R4 in BGP AS 65400.

Peer R2 and R3 in BGP on their loopback interfaces.


Peer R3 and R4 in BGP.
Have R4 advertise its loopback interfaces into BGP.
Configure R3 to filter out 172.31.8.0 and 172.31.12.0 on the inbound updates
from R4.
Configure R4 with a static route to the 172.16.0.0/16 network via R3.

BGP

1.IP
2.R2R3EIGRPBautosummary
3. R1R2OSPF Area 0 R1Loopback
4. Loopback
5.R3EIGRP
6.R2OSPF
7.OSPFEIGRP
8.R3.
9.BGP
10.Peer R2 and R3 in BGP on their loopback interfaces.
11.R3R4BGP
12.R4LOOPBACKBGP
13.172.31.8.0 /172.31.12.0
14.R4172.16.0.0/16

R1 Configure:

R1#show runBuilding configurationCurrent configuration : 1319 bytes!! Last configuration change at 11:40:24 UTC
Tue Sep 1 2009!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno
service password-encryption!hostname R1!boot-start-markerboot-end-marker!!no aaa new-modelmemory-size
iomem 5!!ip cefno ip domain lookup!!!!!!!!!!!!!!!!!!!!!!!interface Loopback120ip address 172.16.120.1
255.255.255.0!interface Loopback121ip address 172.16.121.1 255.255.255.0!interface Loopback122ip address
172.16.122.1 255.255.255.0!interface Loopback123ip address 172.16.123.1 255.255.255.0!interface Serial0/0ip
address 172.16.12.1 255.255.255.0serial restart-delay 0clock rate 19200!interface Serial0/1no ip
addressshutdownserial restart-delay 0!interface Serial0/2no ip addressshutdownserial restart-delay 0!interface
Serial0/3no ip addressshutdownserial restart-delay 0!router ospf 1log-adjacency-changesnetwork 172.16.12.0

0.0.0.255 area 0network 172.16.120.0 0.0.0.255 area 0network 172.16.121.0 0.0.0.255 area 0network 172.16.122.0
0.0.0.255 area 0network 172.16.123.0 0.0.0.255 area 0!ip http serverno ip http secure-server!!!!!controlplane!!!!!!!!!!line con 0exec-timeout 0 0logging synchronousline aux 0line vty 0 4!!end
R1#show run

Building configuration
Current configuration : 1319 bytes
!
! Last configuration change at 11:40:24 UTC Tue Sep 1 2009
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
!
!
!
!
!
!
interface Loopback120
ip address 172.16.120.1 255.255.255.0
!
interface Loopback121
ip address 172.16.121.1 255.255.255.0
!
interface Loopback122
ip address 172.16.122.1 255.255.255.0
!
interface Loopback123
ip address 172.16.123.1 255.255.255.0
!
interface Serial0/0
ip address 172.16.12.1 255.255.255.0
serial restart-delay 0
clock rate 19200
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown

serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 172.16.12.0 0.0.0.255 area 0
network 172.16.120.0 0.0.0.255 area 0
network 172.16.121.0 0.0.0.255 area 0
network 172.16.122.0 0.0.0.255 area 0
network 172.16.123.0 0.0.0.255 area 0
!
ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R2 Configure:
R2#show run
Building configuration
Current configuration : 1498 bytes

!
! Last configuration change at 14:49:04 UTC Tue Sep 1 2009
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
interface Loopback0
ip address 172.16.2.1 255.255.255.0
!
interface Serial0/0
ip address 172.16.12.2 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
ip address 172.16.23.2 255.255.255.0
serial restart-delay 0
clock rate 19200
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 65100
redistribute ospf 1 metric 100000 10 0 1 1500
network 172.16.0.0
distribute-list 1 out
no auto-summary
!
router ospf 1
log-adjacency-changes
redistribute eigrp 65100
network 172.16.12.0 0.0.0.255 area 0
default-information originate always
!
router bgp 65100
no synchronization
bgp log-neighbor-changes

network 172.16.2.0 mask 255.255.255.0


network 172.16.23.0 mask 255.255.255.0
neighbor 172.16.3.1 remote-as 65100
no auto-summary
!
ip http server
no ip http secure-server
!
!
!
access-list 1 deny 172.16.120.0 0.0.0.255 log
access-list 1 deny 172.16.121.0 0.0.0.255 log
access-list 1 permit any log
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R3 Configure:
R3#show run
Building configuration
Current configuration : 1662 bytes
!
! Last configuration change at 16:30:45 UTC Tue Sep 1 2009

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!

!
interface Loopback0
ip address 172.16.3.1 255.255.255.0
!
interface Serial0/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/1
ip address 172.16.23.3 255.255.255.0
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
ip address 192.168.34.3 255.255.255.0
serial restart-delay 0
clock rate 19200
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address

shutdown
serial restart-delay 0
!
router eigrp 65100
redistribute connected
network 172.16.0.0
no auto-summary
!
router bgp 65100
no synchronization
bgp log-neighbor-changes
network 172.16.3.0 mask 255.255.255.0
network 172.16.23.0 mask 255.255.255.0
neighbor 172.16.2.1 remote-as 65100
neighbor 192.168.34.4 remote-as 65400
neighbor 192.168.34.4 prefix-list filterout in
no auto-summary
!
ip http server
no ip http secure-server
!
!
!
!
ip prefix-list filterout seq 5 deny 172.31.8.0/24
ip prefix-list filterout seq 10 deny 172.31.12.0/24
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0

exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R4 Configure:
R4#show run
Building configuration
Current configuration : 1382 bytes
!
! Last configuration change at 14:46:06 UTC Tue Sep 1 2009
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!

!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback200
ip address 172.31.0.1 255.255.255.0
!
interface Loopback204
ip address 172.31.4.1 255.255.255.0
!
interface Loopback208
ip address 172.31.8.1 255.255.255.0
!
interface Loopback212
ip address 172.31.12.1 255.255.255.0
!
interface Serial0/0
ip address 192.168.34.4 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!

interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router bgp 65400
no synchronization
bgp log-neighbor-changes
network 172.31.0.0 mask 255.255.255.0
network 172.31.4.0 mask 255.255.255.0
network 172.31.8.0 mask 255.255.255.0
network 172.31.12.0 mask 255.255.255.0
neighbor 192.168.34.3 remote-as 65100
no auto-summary
!
ip http server
no ip http secure-server
!
ip route 172.16.0.0 255.255.0.0 Serial0/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!

!
end
BGP

on R1:
R1#show ip ospf 1 database
OSPF Router with ID (172.16.123.1) (Process ID 1)
Router Link States (Area 0)
Link ID

ADV Router

172.16.2.1

Age

172.16.2.1

172.16.123.1

Seq#

1545

172.16.123.1

Checksum Link count

0x8000000C 0x0078D2 2

1738

0x8000000E 0x00139C 6

Type-5 AS External Link States


Link ID

ADV Router

0.0.0.0

172.16.2.1

192.168.34.0

Age

Seq#

1282

172.16.2.1

Checksum Tag

0x8000000C 0x007E69 1

212

080000003 0x00143F 0

R1#show ip route
Gateway of last resort is 172.16.12.2 to network 0.0.0.0
172.16.0.0/24 is subnetted, 5 subnets
C

172.16.12.0 is directly connected, Serial0/0

172.16.120.0 is directly connected, Loopback120

172.16.121.0 is directly connected, Loopback121

172.16.122.0 is directly connected, Loopback122

172.16.123.0 is directly connected, Loopback123

O E2 192.168.34.0/24 [110/20] via 172.16.12.2, 00:03:59, Serial0/0


O*E2 0.0.0.0/0 [110/1] via 172.16.12.2, 02:04:43, Serial0/0
R1#show ip ospf 1 border-routers
OSPF Process 1 internal Routing Table
Codes: i Intra-area route, I Inter-area route
i 172.16.2.1 [64] via 172.16.12.2, Serial0/0, ASBR, Area 0, SPF 9
On R2:
R2#show ip ospf 1 neighbor
Neighbor ID
172.16.123.1

Pri State
0 FULL/ -

Dead Time Address


00:00:31

172.16.12.1

R2#show ip ospf 1 database router


OSPF Router with ID (172.16.2.1) (Process ID 1)
Router Link States (Area 0)
LS age: 1699
Options: (No TOS-capability, DC)
LS Type: Router Links

Interface
Serial0/0

Link State ID: 172.16.2.1


Advertising Router: 172.16.2.1
LS Seq Number: 8000000C
Checksum: 0x78D2
Length: 48
AS Boundary Router
Number of Links: 2
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 172.16.123.1
(Link Data) Router Interface address: 172.16.12.2
Number of TOS metrics: 0
TOS 0 Metrics: 64
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.12.0
(Link Data) Network Mask: 255.255.255.0
Number of TOS metrics: 0
TOS 0 Metrics: 64
LS age: 1895
Options: (No TOS-capability, DC)
LS Type: Router Links
Link State ID: 172.16.123.1
Advertising Router: 172.16.123.1
LS Seq Number: 8000000E
Checksum: 0x139C
Length: 96
Number of Links: 6
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.123.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.122.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.121.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0

TOS 0 Metrics: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.120.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 172.16.2.1
(Link Data) Router Interface address: 172.16.12.1
Number of TOS metrics: 0
TOS 0 Metrics: 64
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.12.0
(Link Data) Network Mask: 255.255.255.0
Number of TOS metrics: 0
TOS 0 Metrics: 64
R2# show ip ospf 1 database
OSPF Router with ID (172.16.2.1) (Process ID 1)
Router Link States (Area 0)
Link ID

ADV Router

172.16.2.1

Age

172.16.2.1

172.16.123.1

Seq#

1717

172.16.123.1

Checksum Link count

0x8000000C 0x0078D2 2

1912

0x8000000E 0x00139C 6

Type-5 AS External Link States


Link ID

ADV Router

0.0.0.0

172.16.2.1

192.168.34.0

Age

Seq#

1454

172.16.2.1

Checksum Tag

0x8000000C 0x007E69 1

384

080000003 0x00143F 0

R2#show ip eigrp 65100 interfaces


IP-EIGRP interfaces for process 65100
Xmit Queue Mean Pacing Time Multicast
Interface

Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes

Se0/0

0/0

Se0/1

0/0

118

Lo0

Pending

0/0

0/1

0/15
0/1

531
0

0
0

R2#show ip eigrp 65100 topology


IP-EIGRP Topology Table for AS(65100)/ID(172.16.2.1)
Codes: P Passive, A Active, U Update, Q Query, R Reply,
r reply Status, s sia Status
P 192.168.34.0/24, 1 successors, FD is 2681856
via 172.16.23.3 (2681856/2169856), Serial0/1
P 172.16.23.0/24, 1 successors, FD is 2169856

via Connected, Serial0/1


P 172.16.12.0/24, 1 successors, FD is 2169856
via Connected, Serial0/0
P 172.16.2.0/24, 1 successors, FD is 128256
via Connected, Loopback0
P 172.16.3.0/24, 1 successors, FD is 2297856
via 172.16.23.3 (2297856/128256), Serial0/1
P 172.16.123.1/32, 1 successors, FD is 28160
via Redistributed (28160/0)
P 172.16.122.1/32, 1 successors, FD is 28160
via Redistributed (28160/0)
R2#
R2#show ip bgp
BGP table version is 3, local router ID is 172.16.2.1
Status codes: s suppressed, d damped, h history, * valid, > best, i internal,
r RIB-failure, S Stale
Origin codes: i IGP, e EGP, ? incomplete
Network

Next Hop

*> 172.16.2.0/24

Metric LocPrf Weight Path

0.0.0.0

32768 i

*> 172.16.23.0/24 0.0.0.0

32768 i

Gateway of last resort is not set


172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
C

172.16.23.0/24 is directly connected, Serial0/1

172.16.12.0/24 is directly connected, Serial0/0

172.16.2.0/24 is directly connected, Loopback0

172.16.3.0/24 [90/2297856] via 172.16.23.3, 00:08:00, Serial0/1

172.16.121.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0

172.16.120.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0

172.16.123.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0

172.16.122.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0

D EX 192.168.34.0/24 [170/2681856] via 172.16.23.3, 00:08:00, Serial0/1


on R3:
R3# show ip route

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks


C

172.16.23.0/24 is directly connected, Serial0/1

172.16.12.0/24 [90/2681856] via 172.16.23.2, 00:08:17, Serial0/1

172.16.2.0/24 [90/2297856] via 172.16.23.2, 00:08:17, Serial0/1

172.16.3.0/24 is directly connected, Loopback0

D EX

172.16.123.1/32 [170/2172416] via 172.16.23.2, 00:08:17, Serial0/1

D EX

172.16.122.1/32 [170/2172416] via 172.16.23.2, 00:08:17, Serial0/1

192.168.34.0/24 is directly connected, Serial1/1

R3#
R4#sh ip route
Codes: C connected, S static, 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
i IS-IS, su IS-IS summary, L1 IS-IS level-1, L2 IS-IS level-2
ia IS-IS inter area, * candidate default, U per-user static route
o ODR, P periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
B

172.16.23.0/24 [20/0] via 192.168.34.3, 01:27:12

172.16.0.0/16 is directly connected, Serial0/0

172.16.3.0/24 [20/0] via 192.168.34.3, 01:27:12

172.31.0.0/24 is subnetted, 4 subnets


C

172.31.0.0 is directly connected, Loopback200

172.31.4.0 is directly connected, Loopback204

172.31.8.0 is directly connected, Loopback208

172.31.12.0 is directly connected, Loopback212

192.168.34.0/24
is
directly
connected,
Serial0/0ram.
to be in EIGRP AS 65100. Add the entire class B network
and
disable
automatic
summarization.
2 2 CCNP: Building Scalable Internetworks v5.0 Skills-Based Assessment 2 Copyright 2006, Cisco Systems,
Inc
Configure OSPF area 0 on the link between R1 and R2. Also add the loopback
interfaces
on
R1
into
area
0.
Have
R3
redistribute
its
connected
routes
into
EIGRP.

Configure

R2

Make
sure
Have
R2
Redistribute
Filter
out
Configure R2
Peer
R2
Peer
Have
R4
Configure R3

and

R3

all

loopback
originate

interfaces
a

are

default

advertised
route

into

OSPF
172.16.120.0
and
and

R3

and
in
R3

R3

the

the

correct

mask.

OSPF

domain.

into
172.16.121.0

BGP

AS

in

65100.
BGP

from
on

its

EIGRP.

being

Configure

and
advertise

with

R4

their

in

BGP

to
AS

loopback

R4
loopback

advertised

in
interfaces

to
filter
out
172.31.8.0
and
172.31.12.0
from
Configure R4 with a static route to the 172.16.0.0/16 network via R3.

on

65400.
interfaces.
BGP.

into
the

R3.

inbound

BGP.
updates
R4.


BGP
1.IP
2.R2R3EIGRPBautosummary
3.

R1R2OSPF

Area

R1Loopback
Loopback

4.
5.R3EIGRP
6.R2OSPF
7.OSPFEIGRP
8.R3.
9.BGP
10.Peer R2 and
11.R3R4BGP

R3

in

BGP

on

their

loopback

interfaces.

12.R4LOOPBACKBGP
13.172.31.8.0
14.R4172.16.0.0/16
R1 Configure:
R1#show run
Building configuration
Current configuration : 1319 bytes
!
! Last configuration change at 11:40:24 UTC Tue Sep 1 2009
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!

/172.31.12.0

!
!
!
!
!
!
!
!
!
!
!
interface Loopback120
ip address 172.16.120.1 255.255.255.0
!
interface Loopback121
ip address 172.16.121.1 255.255.255.0
!
interface Loopback122
ip address 172.16.122.1 255.255.255.0
!
interface Loopback123
ip address 172.16.123.1 255.255.255.0
!
interface Serial0/0
ip address 172.16.12.1 255.255.255.0
serial restart-delay 0
clock rate 19200
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 172.16.12.0 0.0.0.255 area 0
network 172.16.120.0 0.0.0.255 area 0
network 172.16.121.0 0.0.0.255 area 0
network 172.16.122.0 0.0.0.255 area 0
network 172.16.123.0 0.0.0.255 area 0
!
ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!

!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R1#show run
Building configuration
Current configuration : 1319 bytes
!
! Last configuration change at 11:40:24 UTC Tue Sep 1 2009
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!

interface Loopback120
ip address 172.16.120.1 255.255.255.0
!
interface Loopback121
ip address 172.16.121.1 255.255.255.0
!
interface Loopback122
ip address 172.16.122.1 255.255.255.0
!
interface Loopback123
ip address 172.16.123.1 255.255.255.0
!
interface Serial0/0
ip address 172.16.12.1 255.255.255.0
serial restart-delay 0
clock rate 19200
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 172.16.12.0 0.0.0.255 area 0
network 172.16.120.0 0.0.0.255 area 0
network 172.16.121.0 0.0.0.255 area 0
network 172.16.122.0 0.0.0.255 area 0
network 172.16.123.0 0.0.0.255 area 0
!
ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0

line vty 0 4
!
!
end
R2 Configure:
R2#show run
Building configuration
Current configuration : 1498 bytes
!
! Last configuration change at 14:49:04 UTC Tue Sep 1 2009
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 172.16.2.1 255.255.255.0
!
interface Serial0/0
ip address 172.16.12.2 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
ip address 172.16.23.2 255.255.255.0
serial restart-delay 0
clock rate 19200

!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 65100
redistribute ospf 1 metric 100000 10 0 1 1500
network 172.16.0.0
distribute-list 1 out
no auto-summary
!
router ospf 1
log-adjacency-changes
redistribute eigrp 65100
network 172.16.12.0 0.0.0.255 area 0
default-information originate always
!
router bgp 65100
no synchronization
bgp log-neighbor-changes
network 172.16.2.0 mask 255.255.255.0
network 172.16.23.0 mask 255.255.255.0
neighbor 172.16.3.1 remote-as 65100
no auto-summary
!
ip http server
no ip http secure-server
!
!
!
access-list 1 deny 172.16.120.0 0.0.0.255 log
access-list 1 deny 172.16.121.0 0.0.0.255 log
access-list 1 permit any log
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R3 Configure:
R3#show run

Building configuration
Current configuration : 1662 bytes
!
! Last configuration change at 16:30:45 UTC Tue Sep 1 2009
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 172.16.3.1 255.255.255.0
!
interface Serial0/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/1
ip address 172.16.23.3 255.255.255.0
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!

interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
ip address 192.168.34.3 255.255.255.0
serial restart-delay 0
clock rate 19200
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 65100
redistribute connected
network 172.16.0.0
no auto-summary
!
router bgp 65100
no synchronization
bgp log-neighbor-changes
network 172.16.3.0 mask 255.255.255.0
network 172.16.23.0 mask 255.255.255.0
neighbor 172.16.2.1 remote-as 65100
neighbor 192.168.34.4 remote-as 65400
neighbor 192.168.34.4 prefix-list filterout in
no auto-summary
!
ip http server
no ip http secure-server
!
!
!
!
ip prefix-list filterout seq 5 deny 172.31.8.0/24
ip prefix-list filterout seq 10 deny 172.31.12.0/24
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0

exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R4 Configure:
R4#show run
Building configuration
Current configuration : 1382 bytes
!
! Last configuration change at 14:46:06 UTC Tue Sep 1 2009
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback200
ip address 172.31.0.1 255.255.255.0
!
interface Loopback204
ip address 172.31.4.1 255.255.255.0
!
interface Loopback208
ip address 172.31.8.1 255.255.255.0

!
interface Loopback212
ip address 172.31.12.1 255.255.255.0
!
interface Serial0/0
ip address 192.168.34.4 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router bgp 65400
no synchronization
bgp log-neighbor-changes
network 172.31.0.0 mask 255.255.255.0
network 172.31.4.0 mask 255.255.255.0
network 172.31.8.0 mask 255.255.255.0
network 172.31.12.0 mask 255.255.255.0
neighbor 192.168.34.3 remote-as 65100
no auto-summary
!
ip http server
no ip http secure-server
!
ip route 172.16.0.0 255.255.0.0 Serial0/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
BGP


on R1:
R1#show ip ospf 1 database
OSPF Router with ID (172.16.123.1) (Process ID 1)
Router Link States (Area 0)
Link ID
ADV Router
Age
Seq#
Checksum Link count
172.16.2.1
172.16.2.1
1545
0x8000000C 0x0078D2 2
172.16.123.1 172.16.123.1 1738
0x8000000E 0x00139C 6
Type-5 AS External Link States
Link ID
ADV Router
Age
Seq#
Checksum Tag
0.0.0.0
172.16.2.1
1282
0x8000000C 0x007E69 1
192.168.34.0 172.16.2.1
212
080000003 0x00143F 0
R1#show ip route
Gateway of last resort is 172.16.12.2 to network 0.0.0.0
172.16.0.0/24 is subnetted, 5 subnets
C
172.16.12.0 is directly connected, Serial0/0
C
172.16.120.0 is directly connected, Loopback120
C
172.16.121.0 is directly connected, Loopback121
C
172.16.122.0 is directly connected, Loopback122
C
172.16.123.0 is directly connected, Loopback123
O E2 192.168.34.0/24 [110/20] via 172.16.12.2, 00:03:59, Serial0/0
O*E2 0.0.0.0/0 [110/1] via 172.16.12.2, 02:04:43, Serial0/0
R1#show ip ospf 1 border-routers
OSPF Process 1 internal Routing Table
Codes: i Intra-area route, I Inter-area route
i 172.16.2.1 [64] via 172.16.12.2, Serial0/0, ASBR, Area 0, SPF 9
On R2:
R2#show ip ospf 1 neighbor
Neighbor ID Pri State
Dead Time Address
Interface
172.16.123.1
0 FULL/ 00:00:31 172.16.12.1 Serial0/0
R2#show ip ospf 1 database router
OSPF Router with ID (172.16.2.1) (Process ID 1)
Router Link States (Area 0)
LS age: 1699
Options: (No TOS-capability, DC)
LS Type: Router Links
Link State ID: 172.16.2.1
Advertising Router: 172.16.2.1
LS Seq Number: 8000000C
Checksum: 0x78D2
Length: 48
AS Boundary Router
Number of Links: 2
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 172.16.123.1
(Link Data) Router Interface address: 172.16.12.2
Number of TOS metrics: 0
TOS 0 Metrics: 64
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.12.0
(Link Data) Network Mask: 255.255.255.0
Number of TOS metrics: 0
TOS 0 Metrics: 64
LS age: 1895
Options: (No TOS-capability, DC)
LS Type: Router Links
Link State ID: 172.16.123.1
Advertising Router: 172.16.123.1
LS Seq Number: 8000000E
Checksum: 0x139C
Length: 96
Number of Links: 6

Link connected to: a Stub Network


(Link ID) Network/subnet number: 172.16.123.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.122.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.121.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.120.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 172.16.2.1
(Link Data) Router Interface address: 172.16.12.1
Number of TOS metrics: 0
TOS 0 Metrics: 64
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.12.0
(Link Data) Network Mask: 255.255.255.0
Number of TOS metrics: 0
TOS 0 Metrics: 64
R2# show ip ospf 1 database
OSPF Router with ID (172.16.2.1) (Process ID 1)
Router Link States (Area 0)
Link ID
ADV Router
Age
Seq#
Checksum Link count
172.16.2.1
172.16.2.1
1717
0x8000000C 0x0078D2 2
172.16.123.1 172.16.123.1 1912
0x8000000E 0x00139C 6
Type-5 AS External Link States
Link ID
ADV Router
Age
Seq#
Checksum Tag
0.0.0.0
172.16.2.1
1454
0x8000000C 0x007E69 1
192.168.34.0 172.16.2.1
384
080000003 0x00143F 0
R2#show ip eigrp 65100 interfaces
IP-EIGRP interfaces for process 65100
Xmit Queue Mean Pacing Time Multicast Pending
Interface
Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes
Se0/0
0
0/0
0
0/1
0
0
Se0/1
1
0/0
118
0/15
531
0
Lo0
0
0/0
0
0/1
0
0
R2#show ip eigrp 65100 topology
IP-EIGRP Topology Table for AS(65100)/ID(172.16.2.1)
Codes: P Passive, A Active, U Update, Q Query, R Reply,
r reply Status, s sia Status
P 192.168.34.0/24, 1 successors, FD is 2681856
via 172.16.23.3 (2681856/2169856), Serial0/1
P 172.16.23.0/24, 1 successors, FD is 2169856
via Connected, Serial0/1
P 172.16.12.0/24, 1 successors, FD is 2169856
via Connected, Serial0/0
P 172.16.2.0/24, 1 successors, FD is 128256
via Connected, Loopback0
P 172.16.3.0/24, 1 successors, FD is 2297856
via 172.16.23.3 (2297856/128256), Serial0/1
P 172.16.123.1/32, 1 successors, FD is 28160

via Redistributed (28160/0)


P 172.16.122.1/32, 1 successors, FD is 28160
via Redistributed (28160/0)
R2#
R2#show ip bgp
BGP table version is 3, local router ID is 172.16.2.1
Status codes: s suppressed, d damped, h history, * valid, > best, i internal,
r RIB-failure, S Stale
Origin codes: i IGP, e EGP, ? incomplete
Network
Next Hop
Metric LocPrf Weight Path
*> 172.16.2.0/24 0.0.0.0
0
32768 i
*> 172.16.23.0/24 0.0.0.0
0
32768 i
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
C
172.16.23.0/24 is directly connected, Serial0/1
C
172.16.12.0/24 is directly connected, Serial0/0
C
172.16.2.0/24 is directly connected, Loopback0
D
172.16.3.0/24 [90/2297856] via 172.16.23.3, 00:08:00, Serial0/1
O
172.16.121.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0
O
172.16.120.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0
O
172.16.123.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0
O
172.16.122.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0
D EX 192.168.34.0/24 [170/2681856] via 172.16.23.3, 00:08:00, Serial0/1
on R3:
R3# show ip route

Gateway of last resort is not set


172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks
C
172.16.23.0/24 is directly connected, Serial0/1
D
172.16.12.0/24 [90/2681856] via 172.16.23.2, 00:08:17, Serial0/1
D
172.16.2.0/24 [90/2297856] via 172.16.23.2, 00:08:17, Serial0/1
C
172.16.3.0/24 is directly connected, Loopback0
D EX 172.16.123.1/32 [170/2172416] via 172.16.23.2, 00:08:17, Serial0/1
D EX 172.16.122.1/32 [170/2172416] via 172.16.23.2, 00:08:17, Serial0/1
C 192.168.34.0/24 is directly connected, Serial1/1
R3#
R4#sh ip route
Codes: C connected, S static, 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
i IS-IS, su IS-IS summary, L1 IS-IS level-1, L2 IS-IS level-2
ia IS-IS inter area, * candidate default, U per-user static route
o ODR, P periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
B
172.16.23.0/24 [20/0] via 192.168.34.3, 01:27:12
S
172.16.0.0/16 is directly connected, Serial0/0
B
172.16.3.0/24 [20/0] via 192.168.34.3, 01:27:12
172.31.0.0/24 is subnetted, 4 subnets
C
172.31.0.0 is directly connected, Loopback200
C
172.31.4.0 is directly connected, Loopback204
C
172.31.8.0 is directly connected, Loopback208
C
172.31.12.0 is directly connected, Loopback212
C 192.168.34.0/24 is directly connected, Serial0/0

----------------R1-------------------------enable
config t
host R1
line console 0
logg sy
exec-time 0 0
exit
interface lo 120
ip add 172.16.120.1 255.255.255.0
no shut
exit
interface lo 121
ip add 172.16.121.1 255.255.255.0
no shut
exit
interface lo 122
ip add 172.16.122.1 255.255.255.0
no shut
exit
interface lo 123
ip add 172.16.123.1 255.255.255.0
no shut
exit
interface s0/0
ip add 172.16.12.1 255.255.255.0
clock rate 64000
no shut
exit

----------------R2-------------------------enable
config t
host R2
line console 0

logg sy
exec-time 0 0
exit
interface lo 0
ip add 172.16.2.1 255.255.255.0
no shut
exit

interface s0/0
ip add 172.16.12.2 255.255.255.0
no shut
exit

interface s0/1
ip add 172.16.23.2 255.255.255.0
clock rate 64000
no shut
exit

----------------R3-------------------------enable
config t
host R3
line console 0
logg sy
exec-time 0 0
exit
interface lo 0
ip add 172.16.3.1 255.255.255.0
no shut
exit

interface s0/0
ip add 192.168.34.3 255.255.255.0
no shut
exit
interface s0/1

ip add 172.16.23.3 255.255.255.0


no shut
exit

----------------R4-------------------------enable
config t
host R4
line console 0
logg sy
exec-time 0 0
exit
interface lo 200
ip add 172.31.0.1 255.255.255.0
no shut
exit
interface lo 204
ip add 172.31.4.1 255.255.255.0
no shut
exit
interface lo 208
ip add 172.31.8.1 255.255.255.0
no shut
exit
interface lo 212
ip add 172.31.12.1 255.255.255.0
no shut
exit
interface s0/0
ip add 192.168.34.4 255.255.255.0
no shut
exit

--------------------R1----------------------

router ospf 1

network 172.16.120.0 0.0.0.255 area 0


network 172.16.121.0 0.0.0.255 area 0
network 172.16.122.0 0.0.0.255 area 0
network 172.16.123.0 0.0.0.255 area 0
network 172.16.12.0 0.0.0.255 area 0
exit
ip route 172.31.0.0 255.255.0.0 172.16.12.2

--------------------R2---------------------router ospf 1
network 172.16.12.0 0.0.0.255 area 0
redistribute eigrp 65100 metric 30 metric-type 1 subnets
exit
access-list 1 deny 172.16.120.0 0.0.0.255
access-list 1 deny 172.16.121.0 0.0.0.255
access-list 1 permit any
router eigrp 65100
no auto-summary
network 172.16.2.0 0.0.0.255
network 172.16.23.0 0.0.0.255
redistribute ospf 1 metric 1000 100 255 1 1500
redistribute static
distribute-list 1 out Serial0/1
exit
ip route 0.0.0.0 0.0.0.0 172.16.12.1

router bgp 65100


no synchronization
bgp log-neighbor-changes
neighbor 172.16.3.1 remote-as 65100
neighbor 172.16.3.1 update-source Loopback0
neighbor 172.16.3.1 next-hop-self
exit

--------------------R3---------------------router eigrp 65100


no auto-summary
network 172.16.3.0 0.0.0.255
network 172.16.23.0 0.0.0.255
redistribute connected

exit
access-list 1 deny 172.31.8.0 0.0.0.255
access-list 1 permit any

router bgp 65100


no synchronization
neighbor 172.16.2.1 remote-as 65100
neighbor 172.16.2.1 update-source Loopback0
neighbor 172.16.2.1 next-hop-self
neighbor 192.168.34.4 remote-as 65400
neighbor 192.168.34.4 distribut-list 1 in
exit

--------------------R4---------------------router bgp 65400


no synchronization
neighbor 192.168.34.3 remote-as 65100
network 172.31.0.0 mask 255.255.255.0
network 172.31.4.0 mask 255.255.255.0
network 172.31.8.0 mask 255.255.255.0
network 172.31.12.0 mask 255.255.255.0
exit
ip route 172.16.0.0 255.255.0.0 192.168.34.3

R1#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, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 8 subnets
O E1 172.16.23.0 [110/94] via 172.16.12.2, 00:19:53, Serial0/0
C 172.16.12.0 is directly connected, Serial0/0
O E1 172.16.2.0 [110/94] via 172.16.12.2, 00:19:53, Serial0/0
O E1 172.16.3.0 [110/94] via 172.16.12.2, 00:19:53, Serial0/0
C 172.16.120.0 is directly connected, Loopback120
C 172.16.121.0 is directly connected, Loopback121
C 172.16.122.0 is directly connected, Loopback122

C 172.16.123.0 is directly connected, Loopback123


S 172.31.0.0/16 [1/0] via 172.16.12.2
O E1 192.168.34.0/24 [110/94] via 172.16.12.2, 00:19:53, Serial0/0

R2#show ip route(R2172.31.8.0/24)
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, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 172.16.12.1 to network 0.0.0.0
172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
C 172.16.23.0/24 is directly connected, Serial0/1
C 172.16.12.0/24 is directly connected, Serial0/0
C 172.16.2.0/24 is directly connected, Loopback0
D 172.16.3.0/24 [90/2297856] via 172.16.23.3, 00:20:20, Serial0/1
O 172.16.121.1/32 [110/65] via 172.16.12.1, 00:20:18, Serial0/0
O 172.16.120.1/32 [110/65] via 172.16.12.1, 00:20:18, Serial0/0
O 172.16.123.1/32 [110/65] via 172.16.12.1, 00:20:18, Serial0/0
O 172.16.122.1/32 [110/65] via 172.16.12.1, 00:20:18, Serial0/0
172.31.0.0/24 is subnetted, 3 subnets
B 172.31.0.0 [200/0] via 172.16.3.1, 00:17:07
B 172.31.4.0 [200/0] via 172.16.3.1, 00:17:07
B 172.31.12.0 [200/0] via 172.16.3.1, 00:17:07
D EX 192.168.34.0/24 [170/2681856] via 172.16.23.3, 00:20:20, Serial0/1
S* 0.0.0.0/0 [1/0] via 172.16.12.1

R3#show ip routeR3172.16.120.0/24 172.16.121.0/24,172.31.8.0/24


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, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 172.16.23.2 to network 0.0.0.0
172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks
C 172.16.23.0/24 is directly connected, Serial0/1
D EX 172.16.12.0/24 [170/3097600] via 172.16.23.2, 00:20:48, Serial0/1
D 172.16.2.0/24 [90/2297856] via 172.16.23.2, 00:20:48, Serial0/1
C 172.16.3.0/24 is directly connected, Loopback0
D EX 172.16.123.1/32 [170/3097600] via 172.16.23.2, 00:20:48, Serial0/1

D EX 172.16.122.1/32 [170/3097600] via 172.16.23.2, 00:20:48, Serial0/1


172.31.0.0/24 is subnetted, 3 subnets
B 172.31.0.0 [20/0] via 192.168.34.4, 00:17:37
B 172.31.4.0 [20/0] via 192.168.34.4, 00:17:37
B 172.31.12.0 [20/0] via 192.168.34.4, 00:17:37
C 192.168.34.0/24 is directly connected, Serial0/0
D*EX 0.0.0.0/0 [170/2681856] via 172.16.23.2, 00:20:48, Serial0/1
R4#
00:06:17: %BGP-5-ADJCHANGE: neighbor 192.168.34.3 Up
R4# 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, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
S 172.16.0.0/16 [1/0] via 192.168.34.3
172.31.0.0/24 is subnetted, 4 subnets
C 172.31.0.0 is directly connected, Loopback200
C 172.31.4.0 is directly connected, Loopback204
C 172.31.8.0 is directly connected, Loopback208
C 172.31.12.0 is directly connected, Loopback212
C 192.168.34.0/24 is directly connected, Serial0/0

You might also like