In NSSA, we still find LSA type 3 or inter area OSPF routing table. To make only default route come up in routing table we can make the area to be Totally NSSA.
For topology and basic configuration, please refer to http://pursuingmydestiny.blogspot.com/2011/12/lab-3-ospf-standard-area.html and previous lab http://pursuingmydestiny.blogspot.com/2011/12/lab-6-ospf-not-so-stubby-area-nssa.html.
R2(config-router)#router ospf 2
R2(config-router)#area 1 nssa no-summary
Now check the routing table in R3
R3(config)#do 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 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:14:00, 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:00:37, FastEthernet0/0
R3(config)#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 1129 0x80000004 0x0074F0 2
3.3.3.3 3.3.3.3 1128 0x80000004 0x0085D3 2
Net Link States (Area 1)
Link ID ADV Router Age Seq# Checksum
23.23.23.3 3.3.3.3 1123 0x80000003 0x005475
Summary Net Link States (Area 1)
Link ID ADV Router Age Seq# Checksum
0.0.0.0 2.2.2.2 63 0x80000001 0x00FC31
Type-7 AS External Link States (Area 1)
Link ID ADV Router Age Seq# Checksum Tag
0.0.0.0 2.2.2.2 490 0x80000001 0x00D0D8 0
33.33.33.1 3.3.3.3 1136 0x80000001 0x00DC3D 0
33.33.33.2 3.3.3.3 1139 0x80000001 0x00D246 0
33.33.33.3 3.3.3.3 1139 0x80000001 0x00C84F 0
Let’s try ping to area 100 (IP 100.100.100.1-100.100.100.3) and routing external from EIGRP (IP 100.100.100.4-100.100.100.7). It should be ping able.
R3(config)#do ping 100.100.100.1
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/54/96 ms
R3(config)#do ping 100.100.100.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/40/72 ms
R3(config)#do ping 100.100.100.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/36/52 ms
R3(config)#do ping 100.100.100.4
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 = 24/37/68 ms
R3(config)#do ping 100.100.100.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/40/76 ms
R3(config)#do ping 100.100.100.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/46/80 ms
R3(config)#do ping 100.100.100.7
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/50/88 ms
And make sure routing external RIP from R3 still in R1 and ping able.
R1(config)#do ping 33.33.33.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/48/88 ms
R1(config)#do ping 33.33.33.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/46/80 ms
R1(config)#do ping 33.33.33.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/36/56 ms
No comments:
Post a Comment