My Countingdown

Showing posts with label OSPF Totally Stub Area. Show all posts
Showing posts with label OSPF Totally Stub Area. Show all posts

Tuesday, December 13, 2011

Lab 5. OSPF Totally Stub Area



  • What is totally stub area? Totally stub area is not accepted not only external route, but also internal route in the routing table.
  • The configuration only in ABR, not in all router that use stub area
  • In here, we only add totally stub area in R2.
For basic configuration, please have a look  http://pursuingmydestiny.blogspot.com/2011/12/lab-3-ospf-standard-area.html. 

R2(config)#router ospf 2
R2(config-router)#area 1 stub no-summary


R2(config-router)#do sh run | s ospf
router ospf 2
 router-id 2.2.2.2
 log-adjacency-changes
 area 1 stub no-summary
 network 2.2.2.2 0.0.0.0 area 1
 network 12.12.12.2 0.0.0.0 area 0
 network 23.23.23.2 0.0.0.0 area 1




R3(config-router)#do sh run | s ospf
router ospf 3
 router-id 3.3.3.3
 log-adjacency-changes
 area 1 stub
 redistribute rip subnets
 network 3.3.3.3 0.0.0.0 area 1
 network 23.23.23.3 0.0.0.0 area 1



 Let's check the routing table and LSA database in R3.


R3(config-router)#do sh ip rou
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 23.23.23.2 to network 0.0.0.0

     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/11] via 23.23.23.2, 00:03:12, FastEthernet0/0
     33.0.0.0/32 is subnetted, 3 subnets
C       33.33.33.1 is directly connected, Loopback1
C       33.33.33.3 is directly connected, Loopback3
C       33.33.33.2 is directly connected, Loopback2
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/0
O*IA 0.0.0.0/0 [110/11] via 23.23.23.2, 00:03:13, FastEthernet0/0

R3(config-router)#do sh ip ospf data

            OSPF Router with ID (3.3.3.3) (Process ID 3)

                Router Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         215         0x80000004 0x00E688 2
3.3.3.3         3.3.3.3         214         0x80000004 0x00F76B 2

                Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
23.23.23.3      3.3.3.3         209         0x80000003 0x00CC05

                Summary Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         2.2.2.2         265         0x80000001 0x0075C0


Make sure the ping is ok from R3 to R1.


R3(config-router)#do ping 1.1.1.1      -----> advertise in OSPF area 0 in R1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/32/64 ms

R3(config-router)#do ping 100.100.100.1 -----> advertise in OSPF area 100 in R1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/37/60 ms

R3(config-router)#do ping 100.100.100.4   -----> advertise from redistribute EIGRP in R1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/33/64 ms