Wednesday, December 23, 2015

OSPFv3 task #2. Multiple area OSPF

Topology:




Use configuration from OSPFv3 task #1 as initial configuration for this task.
Routers R6 and R7 (both IOS) are added to this topology. 

Requirements: 

1. Configure the following interfaces in OSPF Area 4:
      Loopback0 interfaces of R6 and R7.
      Link R5-R7.
      Link R6-R7.
      Link R4-R6. 
2. This network is expected to contains links with bandwidth up to 40gbps. Configure the OSPF to          use the appropriate interface metrics. 
3. Configure interface loopback1 on R7 with IPv6 address of 2001:7::7/64. This prefix should appear      in routing tables inside Area 4 as "ON2 2001:7::/64 [180/20]" and outside Area 4 as "OE2                  2001:4::/30 [180/20]". 

Solution:

Highlight the text below to reveal the solution.

This task requires understanding of OSPF virtual links, reference bandwidth, OSPF network types and administrative distance. 

Requirement #1 - configure virtual links on R2-R4 and R3-R5 to connect Area 4 to Area 0.
Requirement #2 - configure OSPF reference bandwidth to 40000 or higher, to allow OSPF to differentiate between links with bandwidth up to 40gbps.
Requirement #3 - configure Area 4 as NSSA. Redistribute connected loopback1 on R7 with metric-type 2, and change OSPF External AD to 180 on all routers. Configure summary address on R4 and R5.  

R1:


!
ipv6 router ospf 1
 router-id 11.0.1.1
 auto-cost reference-bandwidth 40000
 distance ospf external 180
!

R2:

!
ipv6 router ospf 1
 router-id 11.0.2.2
 auto-cost reference-bandwidth 40000
 area 3 virtual-link 11.0.4.4
 distance ospf external 180
!

R3:

!
router ospfv3 CCIE
 router-id 11.0.3.3
 auto-cost reference-bandwidth 40000
 distance ospfv3 external 180
 area 0
  interface Loopback0
   network point-to-point
  !
  interface GigabitEthernet0/0/0/0
  !
  interface GigabitEthernet0/0/0/1
  !
 !
 area 3
  virtual-link 11.0.5.5
  !
  interface GigabitEthernet0/0/0/2
  !
 !
!

R4:

!
ipv6 router ospf 1
 router-id 11.0.4.4
 auto-cost reference-bandwidth 40000
 area 3 virtual-link 11.0.2.2
 area 4 nssa
 summary-prefix 2001:4::/30
 distance ospf external 180
!

R5:

!
router ospfv3 CCIE
 router-id 11.0.5.5
 auto-cost reference-bandwidth 40000
 summary-prefix 2001:4::/30
 distance ospfv3 external 180
 area 3
  virtual-link 11.0.3.3
  !
  interface Loopback0
  !
  interface GigabitEthernet0/0/0/1
   network point-to-multipoint non-broadcast
   neighbor fe80::a8bb:ccff:fe00:100
  !
  interface GigabitEthernet0/0/0/2
  !
 !
 area 4
  nssa
  interface GigabitEthernet0/0/0/0
  !
 !
!

R6:

!
ipv6 router ospf 1
 router-id 11.0.6.6
 auto-cost reference-bandwidth 40000
 area 4 nssa
 distance ospf external 180
!

R7: 


!
ipv6 router ospf 1
 router-id 11.0.7.7
 auto-cost reference-bandwidth 40000
 area 4 nssa
 distance ospf external 180
 redistribute connected route-map CONNECTED
!

R8:

!
ipv6 router ospf 1
 router-id 11.0.8.8
 auto-cost reference-bandwidth 40000
 distance ospf external 180
!




Verification:

R8#show ipv6 route ospf
IPv6 Routing Table - default - 30 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
       H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
       IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2, l - LISP
OE2 2001:4::/30 [180/20]
     via FE80::A8BB:CCFF:FE00:601, Ethernet0/0


R1# show ipv6 route ospf
IPv6 Routing Table - default - 30 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
       H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
       IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2, l - LISP
OE2 2001:4::/30 [180/20]
     via FE80::250:56FF:FE27:8072, Ethernet0/0

R4#show ipv6 route ospf
IPv6 Routing Table - default - 32 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
       H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
       IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2, l - LISP
OE2 2001:4::/30 [180/20]
     via FE80::250:56FF:FE29:F5EA, Ethernet0/0
ON2 2001:7::/64 [180/20]
     via FE80::A8BB:CCFF:FE00:520, Ethernet0/2

R6#show ipv6 route ospf
IPv6 Routing Table - default - 27 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
       H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
       IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2, l - LISP
ON2 2001:7::/64 [180/20]
     via FE80::A8BB:CCFF:FE00:500, Ethernet0/0


No comments:

Post a Comment