December 18, 2013

Lab 09: BGP Route Summarization

Configure OSPF between R1 and R2 and redistribute OSPF routes into BGP on R2. This will be your routing table on R3:

R3#show 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

     20.0.0.0/30 is subnetted, 1 subnets
C       20.0.0.0 is directly connected, Serial0/1
     10.0.0.0/30 is subnetted, 1 subnets
B       10.0.0.0 [20/0] via 20.0.0.1, 00:11:01
     192.168.0.0/32 is subnetted, 3 subnets
B       192.168.0.1 [20/20] via 20.0.0.1, 00:05:50
B       192.168.0.2 [20/20] via 20.0.0.1, 00:05:50
B       192.168.0.3 [20/20] via 20.0.0.1, 00:05:50

Let's summarize 192.180.0.0/16 network on R2:

router bgp 1000
 aggregate-address 192.168.0.0 255.255.0.0 summary-only

As a result, only summarized network is observed on R3's routing table:

R3#show 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

     20.0.0.0/30 is subnetted, 1 subnets
C       20.0.0.0 is directly connected, Serial0/1
     10.0.0.0/30 is subnetted, 1 subnets
B       10.0.0.0 [20/0] via 20.0.0.1, 00:14:28
B    192.168.0.0/16 [20/0] via 20.0.0.1, 00:00:47

# DOWNLOAD LAB 09 GNS3 FILE