Routing Switching Tigers

  • Home
  • Courses
    • IT and Networking
      • CCNA
        • CCNA R&S
        • CCNA Security
        • CCNA Collaboration
        • CCNA Service Provider
        • CCNA Data Center
        • CCNA Wireless
        • CCNA Cloud
        • CCNA Industrial
        • CCNA Cyber Operations
        • CCDA
      • CCNP
        • CCNP Collaboration
        • CCNP Data Center
        • CCNP R&S
        • CCNP Security
        • CCNP Service Provider
        • CCNP Wireless
        • CCNP Cloud
      • CCIE
        • CCIE R&S
        • CCIE Security
        • CCIE Collaboration
        • CCIE Data Center
        • CCIE Service Provider
        • CCIE Wireless
      • Juniper
        • JNCIA
        • JNCIS Enterprise R&S
        • JNCIS Service Provider
        • JNCIP Enterprise R&S
        • JNCIP Service Provider
        • JNCIE Enterprise R&S
        • JNCIE Service Provider
      • A+N+
      • ITIL
      • ASR 9000
      • Cisco Nexus
    • Software Defined Networking (SDN)
      • SDN
      • NFV
      • SDN Open Flow
      • VMware NSX
      • Cisco ACI
      • Cisco NP-DEV
      • Cisco SD-WAN
      • Cisco DNA
      • Cisco NSO
      • Cisco SDN
      • Cisco ESC
      • OpenStack
      • Cumulus Linux
    • Cloud
      • Amazon Web Services (AWS)
        • AWS Certified Solutions Architect
        • AWS Certified SysOps Administrator
        • AWS Certified Advanced Networking – Specialty
      • CCNA Cloud
      • CCNP Cloud
      • Microsoft Azure
      • MCSE Cloud
    • Data Center & Virtualization
      • VMWare VCP-DCV6
      • CCNA Data Center
      • CCNP Data Center
      • CCIE Data Center
      • SAN & DR
    • Security
      • CCNA Security
      • CCNP Security
      • CCIE Security
      • Ethical Hacking (CEH)
      • CCNA Cyber Operations
      • Advanced Penetration Testing
      • Forensic Investigator
      • CyberSec First Responder
      • Cyber Secure Coder
      • Check Point CCSA / CCSE
    • Software & Programmability
      • C & C++
      • Python
      • Ansible
      • Cisco NP-DEV
      • Cisco NP-DESI
      • Cisco Big Data Analytics
      • Bash Programming
    • Linux
      • RHEL
      • OpenStack
      • Cumulus Linux
      • Bash Programming
    • Microsoft
      • MCSE Cloud
      • MCSE Productivity
      • Microsoft Azure
    • IOT
      • CCNA Industrial
      • Certified IoT Practitioner
  • Schedules
    • Schedules — Mumbai
    • Schedules — Pune
    • Schedules — Ahmedabad
  • Knowledge Base
  • Online Training
  • Placements
  • Blog
  • About
    • Our Team
  • Contact Us
  • About Us
  • Video Library

OSPF

Summarization on ASBR

November 14, 2017 by

 

 

LAB17: OSPF – IPv4

Disclaimer

This Configuration Guide is designed to assist members to enhance their skills in respective technology area. ​​ While every effort has been made to ensure​​ that all material is as complete and accurate as possible, the enclosed material is presented on an “as is” basis. ​​ Neither the authors nor Forum assume any liability or responsibility to any person or entity with respect to loss or damages incurred from the information contained in this guide. This Lab Guide was developed by RSTForum. ​​ Any similarities between material presented in this configuration guide and any other material is completely coincidental.

 

LAB 17: Diagram

Note: This Lab was developed on Cisco IOS Version15.2(4) M1 ADVENTERPRISEK9-M.

 

 

LAB 3: OSPF Summarization on ASBR​​ 

 

Task 1: Configure IPv4 OSPF Summarization​​ 

 

  • In the configuration mode of router configure 4 loopbacks with network address in sequence​​ 

R1:

interface loopback 100

ip​​ address 100.0.0.1 255.255.255.0

exit

interface loopback 101​​ 

ip address 100.0.1.1 255.255.255.0

exit

interface loopback 102​​ 

ip address 100.0.2.1 255.255.255.0

exit

interface loopback 103​​ 

ip address 100.0.3.1 255.255.255.0

exit

 

Step 2 ​​ Redistribute external 100 network on ASBR.

R1:

router ospf 1

redistribute connected subnets

 

(Redistributed connected will redistribute its connected network. Subnet will allow classless routes in OSPF process.)

 

Step 3 ​​ Verify routes on neighbor router routing table

R2#show ip route

! (Shows router’s routing table and IPv4 entries)

 

Codes: L – local, 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, H – NHRP, l – LISP

 ​​ ​​ ​​ ​​ ​​ ​​​​ + - replicated route, % - next hop override

 

Gateway of last resort is not set

 

 ​​ ​​ ​​ ​​ ​​​​ 11.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.1.1 [110/65] via 12.0.0.1, 00:15:52, Serial2/0

O  ​​​​  ​​ ​​ ​​ ​​​​ 11.0.2.1 [110/65] via 12.0.0.1, 00:15:52, Serial2/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.3.1 [110/65] via 12.0.0.1, 00:15:52, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/24 is directly connected, Serial2/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.2/32 is directly connected, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 22.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.0/24 is directly connected, Loopback1

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.2/32 is directly connected, Loopback1

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.0/24 is directly connected, Loopback2

L​​  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.2/32 is directly connected, Loopback2

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.0/24 is directly connected, Loopback3

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.2/32 is directly connected, Loopback3

 ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/24 is directly connected, Ethernet0/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.2/32 is directly connected, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 33.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.1.3 [110/11] via 23.0.0.3, 00:15:10, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.2.3 [110/11] via 23.0.0.3, 00:15:10, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.3.3 [110/11] via 23.0.0.3, 00:15:10, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 34.0.0.0/24 is subnetted, 1 subnets

O IA  ​​ ​​ ​​​​ 34.0.0.0 [110/74] via 23.0.0.3, 00:15:10, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 44.0.0.0/32 is subnetted, 3 subnets

O IA  ​​ ​​ ​​​​ 44.0.1.4 [110/75] via 23.0.0.3, 00:15:10, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.2.4 [110/75] via 23.0.0.3, 00:15:10, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.3.4 [110/75] via 23.0.0.3, 00:15:10, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 100.0.0.0/24 is subnetted, 4 subnets

O E2  ​​ ​​ ​​​​ 100.0.0.0 [110/20] via 12.0.0.1, 00:00:53, Serial2/0

O E2  ​​ ​​ ​​​​ 100.0.1.0 [110/20] via 12.0.0.1, 00:00:58, Serial2/0

O E2  ​​ ​​ ​​​​ 100.0.2.0 [110/20] via 12.0.0.1, 00:00:58, Serial2/0

O E2  ​​ ​​ ​​​​ 100.0.3.0 [110/20] via 12.0.0.1, 00:00:58, Serial2/0

 

(E2 means External route type 2, in which will not change cost after every hop throughout​​ the OSPF.)

 

Step 4  ​​​​ Summarize external routes on ASBR router

! (In external route summary is always done on Autonomous System Border Router (ASBR))

 

R1:

router ospf 1

summary-address 100.0.0.0 255.255.252.0

exit

 

Task 2: ​​ Verification

  • Verify receipt of​​ summary route in neighbor routing table & verify creation of null interface in routing table by following command:

 

R1#show ip route

 

Codes: L - local, 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, H - NHRP, l - LISP

 ​​ ​​ ​​ ​​ ​​ ​​​​ + - replicated route, % - next hop override

 

Gateway of last resort is not set

 

 ​​ ​​ ​​ ​​ ​​​​ 11.0.0.0/8 is variably subnetted, 6​​ subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.1.0/24 is directly connected, Loopback1

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.1.1/32 is directly connected, Loopback1

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.2.0/24 is directly connected, Loopback2

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.2.1/32 is directly connected, Loopback2

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.3.0/24 is​​ directly connected, Loopback3

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.3.1/32 is directly connected, Loopback3

 ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/24 is directly connected, Serial2/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.1/32 is directly connected, Serial2/0

 ​​ ​​ ​​​​  ​​​​ 22.0.0.0/32 is subnetted, 3 subnets

O IA  ​​ ​​ ​​​​ 22.0.1.2 [110/65] via 12.0.0.2, 00:29:15, Serial2/0

O IA  ​​ ​​ ​​​​ 22.0.2.2 [110/65] via 12.0.0.2, 00:29:15, Serial2/0

O IA  ​​ ​​ ​​​​ 22.0.3.2 [110/65] via 12.0.0.2, 00:29:15, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/24 is subnetted, 1 subnets

O IA  ​​ ​​ ​​​​ 23.0.0.0 [110/74] via 12.0.0.2, 00:29:15, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 33.0.0.0/32 is subnetted, 3 subnets

O IA  ​​ ​​ ​​​​ 33.0.1.3 [110/75] via 12.0.0.2, 00:28:33, Serial2/0

O IA  ​​ ​​ ​​​​ 33.0.2.3 [110/75] via 12.0.0.2, 00:28:33, Serial2/0

O IA  ​​ ​​ ​​​​ 33.0.3.3 [110/75] via 12.0.0.2, 00:28:33, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 34.0.0.0/24 is subnetted, 1 subnets

O IA  ​​ ​​ ​​​​ 34.0.0.0 [110/138] via 12.0.0.2, 00:28:33, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 44.0.0.0/32 is subnetted, 3 subnets

O IA  ​​ ​​ ​​​​ 44.0.1.4 [110/139] via 12.0.0.2, 00:28:33, Serial2/0

O IA  ​​ ​​ ​​​​ 44.0.2.4 [110/139] via 12.0.0.2, 00:28:33, Serial2/0

O IA  ​​ ​​ ​​​​ 44.0.3.4 [110/139] via 12.0.0.2, 00:28:33, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 100.0.0.0/8 is variably subnetted, 9 subnets, 3 masks

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 100.0.0.0/22 is a summary, 00:00:05, Null0

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 100.0.0.0/24 is directly connected, Loopback100

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 100.0.0.1/32 is directly connected, Loopback100

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 100.0.1.0/24 is directly connected, Loopback101

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 100.0.1.1/32 is directly connected, Loopback101

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 100.0.2.0/24 is directly connected, Loopback102

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 100.0.2.1/32 is directly connected, Loopback102

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 100.0.3.0/24 is directly connected, Loopback103

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 100.0.3.1/32 is directly connected, Loopback103

 

(When summarization is configured on a router; same router immediately created a routing point to Null 0 for loop prevention.)

 

R2#show ip route

! (Shows router’s routing table and IPv6 routes entries)

 

Codes: L - local, 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, H - NHRP, l - LISP

 ​​ ​​ ​​ ​​ ​​ ​​​​ + - replicated route, % - next hop override

 

Gateway of last resort is not set

 

 ​​ ​​ ​​ ​​ ​​​​ 11.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.1.1 [110/65] via 12.0.0.1, 00:29:30, Serial2/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.2.1 [110/65] via 12.0.0.1, 00:29:30, Serial2/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.3.1 [110/65] via 12.0.0.1, 00:29:30, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/24 is​​ directly connected, Serial2/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.2/32 is directly connected, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 22.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.0/24 is directly connected, Loopback1

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.2/32 is directly connected, Loopback1

C  ​​​​  ​​ ​​ ​​ ​​​​ 22.0.2.0/24 is directly connected, Loopback2

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.2/32 is directly connected, Loopback2

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.0/24 is directly connected, Loopback3

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.2/32 is directly connected, Loopback3

 ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/24 is directly connected, Ethernet0/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.2/32 is directly connected, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 33.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.1.3 [110/11] via 23.0.0.3, 00:28:48, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.2.3 [110/11] via 23.0.0.3, 00:28:48, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.3.3 [110/11] via 23.0.0.3, 00:28:48, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 34.0.0.0/24 is subnetted, 1 subnets

O IA  ​​ ​​ ​​​​ 34.0.0.0 [110/74] via 23.0.0.3, 00:28:48, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 44.0.0.0/32 is subnetted, 3 subnets

O IA​​  ​​ ​​ ​​​​ 44.0.1.4 [110/75] via 23.0.0.3, 00:28:48, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.2.4 [110/75] via 23.0.0.3, 00:28:48, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.3.4 [110/75] via 23.0.0.3, 00:28:48, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 100.0.0.0/22 is subnetted, 1 subnets

O E2  ​​ ​​ ​​​​ 100.0.0.0 [110/20] via 12.0.0.1, 00:00:15, Serial2/0

 

(Summarized routes are received from external route.)

 

 

Summarization on ASBR

November 14, 2017 by

 

 

LAB18: OSPF – IPv6

Disclaimer

This Configuration Guide is designed to assist members to enhance their skills in respective technology area. ​​ While every effort has been made to ensure​​ that all material is as complete and accurate as possible, the enclosed material is presented on an “as is” basis. ​​ Neither the authors nor Forum assume any liability or responsibility to any person or entity with respect to loss or damages incurred from the information contained in this guide. This Lab Guide was developed by RSTForum. ​​ Any similarities between material presented in this configuration guide and any other material is completely coincidental.

​​ LAB 18: Diagram

Note: This Lab was developed on Cisco IOS Version15.2(4) M1 ADVENTERPRISEK9-M.

 

 

LAB 18: IPv6 OSPF Summarization on ASBR

 

Task 1: Configure IPv6 OSPF Summarization​​ 

 

  • In the configuration mode of router configure 4 loopbacks with network​​ address in sequence​​ 

 

R1:

interface loopback 100 

ipv6 address 100:0:0::1/64

exit

interface loopback 101

ipv6 address 100:0:1::1/64

exit

interface loopback 102

ipv6 address 100:0:2::1/64

exit

interface loopback 103

ipv6 address 100:0:3::1/64

exit

 

Step 2​​  ​​​​ Redistribute external 100 network on ASBR.

 

R1:

ipv6 router ospf 1

redistribute connected subnets

exit

 

(Redistributed connected will redistribute its connected network. Subnet will allow classless routes in OSPF process.)

 

Step 3 ​​ Verify routes on neighbor router routing table

 R2#show ipv6 route

! (Shows router’s routing table and IPv6 entries)

 

IPv6 Routing Table - default - 26 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

O  ​​​​ 11:0:1::1/128 [110/64]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

O  ​​​​ 11:0:2::1/128 [110/64]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

O  ​​​​ 11:0:3::1/128 [110/64]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

O  ​​​​ 12::/61 [110/128]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

C  ​​​​ 12::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Serial2/0, directly connected

L  ​​​​ 12::A8BB:CCFF:FE00:200/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Serial2/0, receive

C​​  ​​​​ 22:0:1::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback1, directly connected

L  ​​​​ 22:0:1::2/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback1, receive

C  ​​​​ 22:0:2::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback2, directly connected

L  ​​​​ 22:0:2::2/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback2, receive

C  ​​​​ 22:0:3::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via​​ Loopback3, directly connected

L  ​​​​ 22:0:3::2/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback3, receive

C  ​​​​ 23::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Ethernet0/0, directly connected

L  ​​​​ 23::A8BB:CCFF:FE00:200/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Ethernet0/0, receive

O  ​​​​ 33:0:1::3/128 [110/10]

 ​​ ​​ ​​ ​​​​ via​​ FE80::A8BB:CCFF:FE00:300, Ethernet0/0

O  ​​​​ 33:0:2::3/128 [110/10]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

O  ​​​​ 33:0:3::3/128 [110/10]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

OI ​​ 34::/64 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

OI ​​​​ 44:0:1::4/128 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

OI ​​ 44:0:2::4/128 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

OI ​​ 44:0:3::4/128 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

OE2 100::/64 [110/20]

 ​​ ​​ ​​ ​​​​ via​​ FE80::A8BB:CCFF:FE00:100, Serial2/0

OE2 100:0:1::/64 [110/20]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

OE2 100:0:2::/64 [110/20]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

OE2 100:0:3::/64 [110/20]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

L  ​​​​ FF00::/8 [0/0]

 ​​ ​​ ​​ ​​​​ via Null0, receive

(E2 means External route type 2, in which will not change cost after every hop throughout the OSPF.)

Step 4  ​​​​ Summarize external routes on ASBR router

! (In external route summary is always done on Autonomous System​​ Border Router (ASBR))

 

R1:

​​ 

ipv6 router ospf 1

summary-prefix 100::/16

exit

 

Task 2: ​​ Verification

  • Verify receipt of summary route in neighbor routing table &​​ verify creation of null interface in routing table by following command:

 

R1#show ipv6 route

 

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

C  ​​​​ 11:0:1::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback1, directly connected

L  ​​​​ 11:0:1::1/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback1, receive

C  ​​​​ 11:0:2::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback2,​​ directly connected

L  ​​​​ 11:0:2::1/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback2, receive

C  ​​​​ 11:0:3::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback3, directly connected

L  ​​​​ 11:0:3::1/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback3, receive

C  ​​​​ 12::/61 [0/0]

 ​​ ​​ ​​ ​​​​ via Serial2/0, directly connected

O  ​​​​ 12::/64​​ [110/128]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

L  ​​​​ 12::A8BB:CCFF:FE00:100/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Serial2/0, receive

OI ​​ 22:0:1::2/128 [110/64]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

OI ​​ 22:0:2::2/128 [110/64]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

OI ​​ 22:0:3::2/128 [110/64]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

OI ​​ 23::/64 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

OI ​​ 33:0:1::3/128 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

OI ​​ 33:0:2::3/128 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

OI ​​ 33:0:3::3/128 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

OI ​​ 34::/64 [110/138]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

OI ​​ 44:0:1::4/128 [110/138]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

OI ​​ 44:0:2::4/128 [110/138]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

OI ​​ 44:0:3::4/128 [110/138]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:200, Serial2/0

O  ​​​​ 100::/16 [254/20]

 ​​ ​​ ​​ ​​​​ via Null0, directly connected

C  ​​​​ 100::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback100, directly connected

L​​  ​​​​ 100::1/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback100, receive

C  ​​​​ 100:0:1::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback101, directly connected

L  ​​​​ 100:0:1::1/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback101, receive

C  ​​​​ 100:0:2::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback102, directly connected

L  ​​​​ 100:0:2::1/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback102, receive

C  ​​​​ 100:0:3::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback103, directly connected

L  ​​​​ 100:0:3::1/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback103, receive

L  ​​​​ FF00::/8 [0/0]

 ​​ ​​ ​​ ​​​​ via Null0, receive

 

(When summarization is configured on a router; same router​​ immediately created a routing point to Null 0 for loop prevention.)

 

R2#show ipv6 route

! (Shows router’s routing table and IPv6 routes entries)

 

IPv6 Routing Table - default - 23 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

O  ​​​​ 11:0:1::1/128 [110/64]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

O  ​​​​ 11:0:2::1/128 [110/64]

​​  ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

O  ​​​​ 11:0:3::1/128 [110/64]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

O  ​​​​ 12::/61 [110/128]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

C  ​​​​ 12::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Serial2/0, directly connected

L  ​​​​ 12::A8BB:CCFF:FE00:200/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Serial2/0, receive

C  ​​​​ 22:0:1::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback1, directly connected

L  ​​​​ 22:0:1::2/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback1, receive

C  ​​​​ 22:0:2::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback2, directly connected

L  ​​​​ 22:0:2::2/128 [0/0]

 ​​ ​​ ​​ ​​​​ via​​ Loopback2, receive

C  ​​​​ 22:0:3::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback3, directly connected

L  ​​​​ 22:0:3::2/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Loopback3, receive

C  ​​​​ 23::/64 [0/0]

 ​​ ​​ ​​ ​​​​ via Ethernet0/0, directly connected

L  ​​​​ 23::A8BB:CCFF:FE00:200/128 [0/0]

 ​​ ​​ ​​ ​​​​ via Ethernet0/0, receive

O  ​​​​ 33:0:1::3/128 [110/10]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

O  ​​​​ 33:0:2::3/128 [110/10]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

O  ​​​​ 33:0:3::3/128 [110/10]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

OI ​​ 34::/64 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

OI ​​ 44:0:1::4/128 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

OI ​​ 44:0:2::4/128 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

OI ​​ 44:0:3::4/128 [110/74]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:300, Ethernet0/0

OE2 100::/16 [110/20]

 ​​ ​​ ​​ ​​​​ via FE80::A8BB:CCFF:FE00:100, Serial2/0

L  ​​​​ FF00::/8 [0/0]

 ​​ ​​ ​​ ​​​​ via Null0, receive

​​ (Summarized routes are received from external route.)​​ 

 

 

Authentication

October 6, 2016 by

LAB10: OSPF – IPv6

Disclaimer

This Configuration Guide is designed to assist members to enhance their skills in respective technology area. ​​ While every effort has been made to ensure​​ that all material is as complete and accurate as possible, the enclosed material is presented on an “as is” basis. ​​ Neither the authors nor Forum assume any liability or responsibility to any person or entity with respect to loss or damages incurred from the information contained in this guide. This Lab Guide was developed by RSTForum. ​​ Any similarities between material presented in this configuration guide and any other material is completely coincidental.​​ 

 

LAB 10: Diagram

Note: This Lab was developed on​​ Cisco IOS Version15.2(4) M1 ADVENTERPRISEK9-M.​​ 

LAB 10: IPv6 OSPF Authentication:

 

Task 1: Configure IPv6 OSPF Authentication

 

  • Enter the interface where authentication is required and select the encryption mode:

 

R1:

interface s2/0

ipv6 ospf​​ authentication ipsec spi 256 md5 0123456789ABCDEF0123456789ABCDEF

exit

 

  • Enable IPv6 OSPF authentication on both the neighbors:

 

R2:

interface s2/0

ipv6 ospf authentication ipsec spi 256 md5 0123456789ABCDEF0123456789ABCDEF

exit

 

Task 2: ​​ Verification:

  • Verification of authentication by following command:

 

R1#show run

! (To display the contents of the currently running configuration file or the configuration the show running-config command in privileged EXEC mode.)

 

​​ interface Serial2/0

​​ ipv6 address 12::/64​​ eui-64

​​ ipv6 ospf authentication ipsec spi 256 md5 0123456789ABCDEF0123456789ABCDEF

​​ ipv6 ospf 1 area 1

 

 

R2#show run

​​ 

​​ interface Serial2/0

​​ ipv6 address 12::/64 eui-64

​​ ipv6 ospf authentication ipsec spi 256 md5 0123456789ABCDEF0123456789ABCDEF

​​ ipv6​​ ospf 1 area 1

 

 

  • Verify OSPF neighborship by following command:

 

R1#clear ipv6 ospf process

R2#clear ipv6 ospf process

! (Will flush current IPv6 OSPF process and initiate fresh OSPF process.)

 

 

R1#show ipv6 ospf neighbors

! (Gives list of OSPF​​ neighbors)

 

OSPFv3 Router with ID (11.0.3.1) (Process ID 1)

 

Neighbor ID  ​​ ​​ ​​​​ Pri  ​​ ​​ ​​ ​​ ​​ ​​​​ State  ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ Dead Time  ​​ ​​ ​​ ​​​​ Interface ID  ​​ ​​ ​​ ​​​​ Interface

22.0.3.2  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 0  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ FULL/ -  ​​ ​​ ​​ ​​​​ 00:00:32 ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 11  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ Serial2/0

 

R2#show ipv6​​ ospf neighbors

! (Gives list of OSPF neighbors)

 

OSPFv3 Router with ID (22.0.3.2) (Process ID 2)

 

Neighbor ID  ​​ ​​ ​​​​ Pri  ​​ ​​ ​​ ​​ ​​​​ State  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ Dead Time  ​​ ​​ ​​ ​​ ​​​​ Interface ID  ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ Interface

33.0.3.3  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 1  ​​ ​​ ​​ ​​​​ FULL/DR  ​​ ​​ ​​ ​​ ​​​​ 00:00:39 ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 3 ​​  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ Ethernet0/0

11.0.3.1  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 0  ​​ ​​ ​​ ​​​​ FULL/ -  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 00:00:39 ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 11  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ Serial2/0

 

(OSPF neighbors will authenticate the key and if key matches, OSPF neighborship will be formed. Fresh IPv6 OSPF neighborship can be​​ verified in IPv6 OSPF neighbor table.)

 

 

 

 

 

 

 

 

 

 

 

Authentication

October 6, 2016 by

 

 

LAB2: OSPF – IPv4

Disclaimer

This Configuration Guide is designed to assist members to enhance their skills in respective technology area. ​​ While every effort has been made to ensure​​ that all material is as complete and accurate as possible, the enclosed material is presented on an “as is” basis. ​​ Neither the authors nor Forum assume any liability or responsibility to any person or entity with respect to loss or damages incurred from the information contained in this guide. This Lab Guide was developed by RSTForum. ​​ Any similarities between material presented in this configuration guide and any other material is completely coincidental.​​ 

 

LAB​​ 2: Diagram

Note: This Lab was developed on Cisco IOS Version15.2(4) M1 ADVENTERPRISEK9-M.​​ 

LAB 2: OSPF Authentication

 

Task 1: Configure IPv4 OSPF Authentication

 

  • Enter the interface where authentication is required and select the encryption​​ mode

 

R1:

interface s2/0

ip ospf authentication message-digest

ip ospf message-digest-key 1 md5 cisco

exit

 

  • Enable OSPF authentication on both the neighbors

 

R2:

interface serial 2/0

ip ospf authentication message-digest

ip ospf message-digest-key 1 md5 cisco

exit

 

Task 2: ​​ Verification: 

  • Verification of authentication by following command:

 

R1#show run

! (To display the contents of the currently running configuration file)

 

interface Serial 2/0

​​ ip address 12.0.0.1 255.255.255.0

​​ ip ospf authentication​​ message-digest

​​ ip ospf message-digest-key 1 md5 cisco

​​ serial restart-delay 0

 

 

R2#show run

! (To display the contents of the currently running configuration file)

 

interface Serial 2/0

ip address 12.0.0.2 255.255.255.0

ip ospf authentication​​ message-digest

ip ospf message-digest-key 1 md5 cisco​​ 

serial restart-delay 0

 

 

  • Verify OSPF neighborship by following command:

 

R1#clear ip ospf process

R2#clear ip ospf process

! (Will flush current OSPF process and initiate fresh OSPF process.)

 

R1#show ip ospf neighbors

! (Gives details and list of EIGRP neighbors)

 

Neighbor ID  ​​ ​​ ​​​​ Pri  ​​​​ State  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ Dead Time  ​​​​ Address  ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ Interface

22.0.3.2  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 0  ​​​​ FULL/ ​​ -  ​​ ​​ ​​ ​​ ​​ ​​​​ 00:00:31 ​​ ​​ ​​​​ 12.0.0.2  ​​ ​​ ​​ ​​ ​​ ​​​​ Serial2/0

 

R2#show ip ospf neighbors

!​​ (Gives details and list of EIGRP neighbors)

 

 Neighbor ID  ​​ ​​ ​​​​ Pri  ​​​​ State  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ Dead Time  ​​​​ Address  ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ Interface

33.0.3.3  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 1  ​​​​ FULL/DR  ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 00:00:33 ​​ ​​ ​​​​ 23.0.0.3  ​​ ​​ ​​ ​​ ​​ ​​​​ Ethernet0/0

11.0.3.1  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 0  ​​​​ FULL/ ​​ -  ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 00:00:31 ​​ ​​ ​​​​ 12.0.0.1  ​​ ​​ ​​ ​​ ​​ ​​​​ Serial2/0

  

(OSPF neighbors will authenticate the key and if key matches, OSPF neighborship will be formed. Fresh OSPF neighborship can be verified in OSPF neighbor table.)

 

 

 

 

 

 

 

 

 

 

 

 

Initial Configuration

September 14, 2016 by

Redistribution

September 14, 2016 by

 

LAB4: OSPF – IPv4

Disclaimer

This Configuration Guide is designed to assist members to enhance their skills in respective technology area. ​​ While every effort has been made to ensure​​ that all material is as complete and accurate as possible, the enclosed material is presented on an “as is” basis. ​​ Neither the authors nor Forum assume any liability or responsibility to any person or entity with respect to loss or damages incurred from the information contained in this guide. This Lab Guide was developed by RSTForum. ​​ Any similarities between material presented in this configuration guide and any other material is completely coincidental.

 

LAB 4: Diagram

Note: This Lab was developed on Cisco IOS Version15.2(4) M1 ADVENTERPRISEK9-M.​​ 

LAB 4: OSPF Redistribution

 

Task 1: Configure IPv4 OSPF Redistribution​​ 

 

  • In the configuration mode of router configure 4 loopbacks with network address in sequence:

 

R1:

interface loopback 100

ip address​​ 100.0.0.2 255.255.255.0

interface loopback 101

ip address 100.0.1.2 255.255.255.0

interface loopback 102

ip address 100.0.2.2 255.255.255.0

interface loopback 103

ip address 100.0.3.2 255.255.255.0

exit

 

 

  • Redistribute these connected network in OSPF process (External Type 2)

 

R1:

router ospf 1

redistribute connected subnet

exit

 

(Redistributed connected will redistribute its connected network. Subnet will allow classless routes in OSPF process.)

 

R2#show ip route

! (Show router’s routing table and IPv4​​ entries)

 

Codes: L - local, 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, H - NHRP, l - LISP

 ​​ ​​ ​​ ​​ ​​ ​​​​ + - replicated route, % - next hop override

 

Gateway of last resort is not set

 ​​ ​​ ​​ ​​ ​​​​ 11.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.1.1 [110/65] via 12.0.0.1, 00:04:06, Serial2/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.2.1 [110/65] via 12.0.0.1, 00:04:06, Serial2/0

O​​  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.3.1 [110/65] via 12.0.0.1, 00:04:06, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 

 

12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/24 is directly connected, Serial2/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.2/32 is directly connected, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 22.0.0.0/8 is variably​​ subnetted, 6 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.0/24 is directly connected, Loopback1

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.2/32 is directly connected, Loopback1

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.0/24 is directly connected, Loopback2

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.2/32 is directly connected, Loopback2

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.0/24 is directly connected, Loopback3

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.2/32 is directly connected, Loopback3

 ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/24 is directly connected, Ethernet0/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.2/32 is directly connected, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 33.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.1.3 [110/11] via 23.0.0.3, 00:03:22, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.2.3 [110/11] via 23.0.0.3, 00:03:22, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.3.3 [110/11] via 23.0.0.3, 00:03:22, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 34.0.0.0/24 is subnetted, 1 subnets

O IA  ​​ ​​ ​​​​ 34.0.0.0 [110/74] via 23.0.0.3, 00:03:22, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 44.0.0.0/32 is subnetted, 3 subnets

O IA  ​​ ​​ ​​​​ 44.0.1.4 [110/75] via 23.0.0.3, 00:02:44, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.2.4 [110/75] via 23.0.0.3, 00:02:44, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.3.4 [110/75] via 23.0.0.3, 00:02:44, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 100.0.0.0/24 is subnetted, 4 subnets

O E2  ​​ ​​ ​​​​ 100.0.0.0 [110/20] via 12.0.0.1, 00:00:14, Serial2/0

O E2  ​​ ​​ ​​​​ 100.0.1.0 [110/20] via 12.0.0.1, 00:00:14, Serial2/0

O E2  ​​ ​​ ​​​​ 100.0.2.0 [110/20] via 12.0.0.1, 00:00:14, Serial2/0

O E2  ​​ ​​ ​​​​ 100.0.3.0 [110/20] via 12.0.0.1, 00:00:14, Serial2/0

 

(E2 means External route type 2, in which will not change cost after every hop throughout the OSPF.)

 

  • Redistribute these connected network in OSPF​​ process (External Type 1)

 

R1:

router ospf 1

redistribute connected subnet metric-type 1

exit

 

(Redistributed connected will redistribute its connected network.​​ 

Subnet will allow classless routes in OSPF process

Metric type 1 means will redistribute in​​ the form of E1, in which will change cost after every hop.)

 

R2#show ip route

! (Show router’s routing table and IPv4 entries)

 

Codes: L - local, 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, H - NHRP, l - LISP

 ​​ ​​ ​​ ​​ ​​ ​​​​ + - replicated route, % - next hop override

 

Gateway of last resort is not set

 

 ​​ ​​ ​​ ​​ ​​​​ 11.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​​​ ​​ 11.0.1.1 [110/65] via 12.0.0.1, 00:06:51, Serial2/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.2.1 [110/65] via 12.0.0.1, 00:06:51, Serial2/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.3.1 [110/65] via 12.0.0.1, 00:06:51, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/24​​ is directly connected, Serial2/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.2/32 is directly connected, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 22.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.0/24 is directly connected, Loopback1

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.2/32 is directly connected, Loopback1

C​​  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.0/24 is directly connected, Loopback2

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.2/32 is directly connected, Loopback2

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.0/24 is directly connected, Loopback3

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.2/32 is directly connected, Loopback3

 ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/8 is variably subnetted, 2​​ subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/24 is directly connected, Ethernet0/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.2/32 is directly connected, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 33.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.1.3 [110/11] via 23.0.0.3, 00:06:07, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.2.3 [110/11] via 23.0.0.3, 00:06:07, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.3.3 [110/11] via 23.0.0.3, 00:06:07, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 34.0.0.0/24 is subnetted, 1 subnets

O IA  ​​ ​​ ​​​​ 34.0.0.0 [110/74] via 23.0.0.3, 00:06:07, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 44.0.0.0/32 is subnetted, 3 subnets

O IA​​  ​​ ​​ ​​​​ 44.0.1.4 [110/75] via 23.0.0.3, 00:05:29, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.2.4 [110/75] via 23.0.0.3, 00:05:29, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.3.4 [110/75] via 23.0.0.3, 00:05:29, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 100.0.0.0/24 is subnetted, 4 subnets

O E1  ​​ ​​ ​​​​ 100.0.0.0 [110/84] via 12.0.0.1, 00:00:11, Serial2/0

O E1  ​​ ​​ ​​​​ 100.0.1.0 [110/84] via 12.0.0.1, 00:00:11, Serial2/0

O E1  ​​ ​​ ​​​​ 100.0.2.0 [110/84] via 12.0.0.1, 00:00:11, Serial2/0

O E1  ​​ ​​ ​​​​ 100.0.3.0 [110/84] via 12.0.0.1, 00:00:11, Serial2/0

(E1 means External route type 1, in​​ which will change cost after every hop throughout the OSPF.)

Task 2: ​​ Verification

  • Analyze network type as E1 or E2 and its cost of redistribution route in neighbor router

 

External Type 2:

 

R2#show ip route

 

O​​ E2 ​​ ​​ ​​ ​​​​ 100.0.0.0 [110/20] via 12.0.0.1,​​ 00:00:14, Serial2/0

O​​ E2 ​​ ​​ ​​ ​​​​ 100.0.1.0 [110/20] via 12.0.0.1, 00:00:14, Serial2/0

O​​ E2 ​​ ​​ ​​ ​​​​ 100.0.2.0 [110/20] via 12.0.0.1, 00:00:14, Serial2/0

O​​ E2 ​​ ​​ ​​ ​​​​ 100.0.3.0 [110/20] via 12.0.0.1, 00:00:14, Serial2/0

 

(R2 router receives redistributed 100 network with metric (cost) 20 and R3 router receives redistributed 100 network with metric (cost) 20. Hence External type 2 (E2) cost remains constant after every hop.)

 

 

  • Analyze network type as E1 or E2 and its cost of redistribution route in neighbor router

 

External Type 1:

 

R2#show ip route

 

O​​ E1 ​​ ​​ ​​ ​​​​ 100.0.0.0 [110/84] via 12.0.0.1, 00:00:18, Serial2/0

O​​ E1 ​​ ​​ ​​ ​​​​ 100.0.1.0 [110/84] via 12.0.0.1, 00:00:18, Serial2/0

O​​ E1 ​​ ​​ ​​ ​​​​ 100.0.2.0 [110/84] via 12.0.0.1, 00:00:18, Serial2/0

O​​ E1 ​​ ​​ ​​ ​​​​ 100.0.3.0 [110/84] via​​ 12.0.0.1, 00:00:18, Serial2/0

 

R3#show ip route

 

O​​ E1 ​​ ​​ ​​ ​​​​ 100.0.0.0 [110/94] via 23.0.0.3, 00:03:10, Ethernet0/0

O​​ E1 ​​ ​​ ​​ ​​​​ 100.0.1.0 [110/94] via 23.0.0.3, 00:03:10, Ethernet0/0

O​​ E1 ​​ ​​ ​​ ​​​​ 100.0.2.0 [110/94] via 23.0.0.3, 00:03:10, Ethernet0/0

O​​ E1 ​​ ​​ ​​ ​​​​ 100.0.3.0 [110/94] via 23.0.0.3, 00:03:10, Ethernet0/0

 

(R1 router receives redistributed 100 network with metric (cost) 84 and R3 router receives redistributed 100 network with metric (cost) 94.Hence External type 1 (E1) allows to change cost after every hop.)

 

 

 

 

 

 

 

 

 

Not So Stubby

September 14, 2016 by

 

LAB7: OSPF – IPv4

Disclaimer

This Configuration Guide is designed to assist members to enhance their skills in respective technology area. ​​ While every effort has been made to ensure​​ that all material is as complete and accurate as possible, the enclosed material is presented on an “as is” basis. ​​ Neither the authors nor Forum assume any liability or responsibility to any person or entity with respect to loss or damages incurred from the information contained in this guide. This Lab Guide was developed by RSTForum. ​​ Any similarities between material presented in this configuration guide and any other material is completely coincidental.

 

LAB 7: Diagram

Note: This Lab was developed on Cisco IOS Version15.2(4) M1 ADVENTERPRISEK9-M. 

LAB 7: OSPF Not So Stubby Area (NSSA):

 

Task 1: Configure OSPF Not So Stubby Area (NSSA)

 

  • In the configuration mode of router configure loopbacks & redistribute​​ these connected network in OSPF process:

 

R1:

interface loopback 50

ip address 50.0.0.1 255.255.255.0

exit

 

R1:

router ospf 1

redistribute connected subnets

exit

 

R2#show ip route

! (Shows router’s routing table and IPv4 routes entries)

 

Codes: L - local,​​ 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, H - NHRP, l - LISP

 ​​ ​​ ​​ ​​ ​​ ​​​​ + - replicated route, % - next hop override

 

Gateway of last resort is not set

 

 ​​ ​​ ​​ ​​ ​​​​ 11.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.1.1 [110/65] via 12.0.0.1, 01:20:34, Serial2/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.2.1 [110/65] via 12.0.0.1, 01:20:34, Serial2/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.3.1 [110/65] via 12.0.0.1, 01:20:34, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/24 is directly connected, Serial2/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.2/32 is directly connected, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 22.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

C ​​ ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.0/24 is directly connected, Loopback1

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.2/32 is directly connected, Loopback1

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.0/24 is directly connected, Loopback2

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.2/32 is directly connected, Loopback2

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.0/24 is directly connected, Loopback3

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.2/32 is directly connected, Loopback3

 

 ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/24 is directly connected, Ethernet0/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.2/32 is directly connected, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 33.0.0.0/32​​ is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.1.3 [110/11] via 23.0.0.3, 01:19:50, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.2.3 [110/11] via 23.0.0.3, 01:19:50, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.3.3 [110/11] via 23.0.0.3, 01:19:50, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 34.0.0.0/24 is subnetted, 1 subnets

O​​ IA  ​​ ​​ ​​​​ 34.0.0.0 [110/74] via 23.0.0.3, 01:19:50, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 44.0.0.0/32 is subnetted, 3 subnets

O IA  ​​ ​​ ​​​​ 44.0.1.4 [110/75] via 23.0.0.3, 00:09:14, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.2.4 [110/75] via 23.0.0.3, 00:09:14, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.3.4 [110/75]​​ via 23.0.0.3, 00:09:14, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 50.0.0.0/24 is subnetted, 1 subnets

O E2  ​​ ​​ ​​​​ 50.0.0.0 [110/20] via 12.0.0.1, 00:00:26, Serial2/0

 

 

  • Configure OSPF Not So Stubby Area:

! (When loop50 is redistributed in stub area, external routes LSA 5 will no propagate in stub area and hence cannot be seen in any other router’s routing table. To make seen this redistributed route to all other routers, replace stub area to Not So Stubby Area.)

 

R1:

router ospf 1

area 1 nssa

exit

 

R2:

router ospf 1

area 1 nssa

exit

 

Task 2: ​​ Verification:

  • Verify routes on neighbor router routing table:

 

R2#show ip route

! (Shows router’s routing table and IPv4 routes entries)

 

Codes: L - local, 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, H - NHRP, l - LISP

 ​​ ​​ ​​ ​​ ​​ ​​​​ + - replicated route, % - next hop override

 

Gateway of last resort is not set

 

 ​​ ​​ ​​ ​​ ​​​​ 11.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.1.1 [110/65] via 12.0.0.1, 00:00:14, Serial2/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.2.1 [110/65] via 12.0.0.1, 00:00:14, Serial2/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 11.0.3.1 [110/65] via 12.0.0.1, 00:00:14, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/8 is variably subnetted, 2 subnets,​​ 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.0/24 is directly connected, Serial2/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 12.0.0.2/32 is directly connected, Serial2/0

 ​​ ​​ ​​ ​​ ​​​​ 22.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.0/24 is directly connected, Loopback1

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.2/32 is​​ directly connected, Loopback1

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.0/24 is directly connected, Loopback2

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.2/32 is directly connected, Loopback2

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.0/24 is directly connected, Loopback3

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.2/32 is directly connected, Loopback3

 ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/24 is directly connected, Ethernet0/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.2/32 is directly connected, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 33.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.1.3 [110/11] via 23.0.0.3, 00:00:29, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.2.3 [110/11] via 23.0.0.3, 00:00:29, Ethernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.3.3 [110/11] via 23.0.0.3, 00:00:29, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 34.0.0.0/24 is subnetted, 1 subnets

O IA  ​​ ​​ ​​​​ 34.0.0.0 [110/74] via 23.0.0.3, 00:00:29, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 44.0.0.0/32 is subnetted, 3 subnets

O IA  ​​ ​​ ​​​​ 44.0.1.4 [110/75] via 23.0.0.3, 00:00:29, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.2.4 [110/75] via 23.0.0.3, 00:00:29, Ethernet0/0

O IA  ​​ ​​ ​​​​ 44.0.3.4 [110/75] via 23.0.0.3, 00:00:29, Ethernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 50.0.0.0/24 is subnetted, 1 subnets

O N2  ​​ ​​ ​​​​ 50.0.0.0 [110/20] via 12.0.0.1, 00:00:14, Serial2/0

 

(R2 receives external routes E2 through Not so Stubby Area (NSSA) and marked as N2.)

R3#show ip route

! (Shows router’s routing table and IPv4 routes entries)

 

Codes: L - local, 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, + - replicated route

 

Gateway of last resort is not set

 

 ​​ ​​ ​​ ​​ ​​​​ 11.0.0.0/32 is subnetted, 3 subnets

O IA  ​​ ​​ ​​​​ 11.0.1.1 [110/66] via 23.0.0.2, 00:11:01, FastEthernet0/0

O IA  ​​ ​​ ​​​​ 11.0.2.1 [110/66] via 23.0.0.2, 00:11:01, FastEthernet0/0

O IA  ​​ ​​ ​​​​ 11.0.3.1 [110/66] via 23.0.0.2, 00:11:01, FastEthernet0/0

 ​​​​  ​​ ​​ ​​​​ 12.0.0.0/24 is subnetted, 1 subnets

O IA  ​​ ​​ ​​​​ 12.0.0.0 [110/65] via 23.0.0.2, 00:58:33, FastEthernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 22.0.0.0/32 is subnetted, 3 subnets

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.1.2 [110/2] via 23.0.0.2, 00:58:33, FastEthernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.2.2 [110/2] via 23.0.0.2, 00:58:33, FastEthernet0/0

O  ​​ ​​ ​​ ​​ ​​ ​​​​ 22.0.3.2 [110/2] via 23.0.0.2, 00:58:33, FastEthernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.0/24 is directly connected, FastEthernet0/0

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 23.0.0.3/32 is directly connected, FastEthernet0/0

 ​​ ​​ ​​ ​​ ​​​​ 33.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.1.0/24 is directly connected, Loopback1

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.1.3/32 is directly connected, Loopback1

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.2.0/24 is directly connected, Loopback2

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.2.3/32​​ is directly connected, Loopback2

C  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.3.0/24 is directly connected, Loopback3

L  ​​ ​​ ​​ ​​ ​​ ​​​​ 33.0.3.3/32 is directly connected, Loopback3

 ​​ ​​ &#x