R1#sh ip int bri
Interface
IP-Address OK? Method
Status Protocol
Serial0/0
10.1.12.1 YES manual up up
Serial0/1
10.1.13.1 YES manual up up
Loopback0
1.1.1.1 YES manual up up
R2#sho ip int bri
Interface
IP-Address OK? Method
Status Protocol
Serial0/0
10.1.12.2 YES manual up up
Serial0/1
10.1.24.2 YES manual up down
Loopback0
2.2.2.2 YES manual up up
R3#sh ip int bri
Interface
IP-Address OK? Method
Status Protocol
Serial0/0
10.1.13.3 YES manual up up
Serial0/1
10.1.34.3 YES manual up up
Loopback0
3.3.3.3 YES manual up up
R4#sh ip int bri
Interface
IP-Address OK? Method
Status Protocol
Serial0/0
10.1.24.4 YES manual up up
Serial0/1
10.1.34.4 YES manual up up
Serial0/2
10.1.45.4 YES manual up up
Loopback0
4.4.4.4 YES manual up up
R5#sh ip int bri
Interface
IP-Address OK? Method
Status Protocol
Serial0/0
10.1.45.5 YES manual up up
FastEthernet1/0
10.1.56.5 YES manual up up
Loopback0
5.5.5.5 YES manual up up
R6#sho ip int bri
Interface
IP-Address OK? Method
Status Protocol
FastEthernet0/0
10.1.56.6 YES manual up up
Loopback0
6.6.6.6 YES manual up up
Loopback1
6.6.7.6 YES manual up up
Loopback2
6.6.8.6 YES manual up up
Loopback3
6.6.9.6 YES manual up up
Redistribute
R5(config)#router ospf 1
R5(config-router)#redistribute rip subnets
R5(config-router)#exit
R5(config)#router rip
R5(config-router)#version 2
R5(config-router)#redistribute ospf 1 metric 1
Before Area 1 as Stub
Area
R1#sho ip route ospf
2.0.0.0/32 is
subnetted, 1 subnets
O 2.2.2.2
[110/65] via 10.1.12.2, 00:09:57, Serial0/0
3.0.0.0/32 is
subnetted, 1 subnets
O 3.3.3.3
[110/65] via 10.1.13.3, 00:09:57, Serial0/1
4.0.0.0/32 is
subnetted, 1 subnets
O IA 4.4.4.4
[110/129] via 10.1.13.3, 00:07:55, Serial0/1
[110/129] via 10.1.12.2, 00:07:55, Serial0/0
5.0.0.0/32 is
subnetted, 1 subnets
O IA 5.5.5.5
[110/193] via 10.1.13.3, 00:06:12, Serial0/1
[110/193] via 10.1.12.2, 00:06:12, Serial0/0
6.0.0.0/24 is
subnetted, 4 subnets
O E2 6.6.6.0 [110/20] via 10.1.13.3, 00:00:39,
Serial0/1
[110/20] via 10.1.12.2,
00:00:39, Serial0/0
O E2 6.6.7.0 [110/20] via 10.1.13.3, 00:00:39,
Serial0/1
[110/20] via 10.1.12.2,
00:00:39, Serial0/0
O E2 6.6.8.0 [110/20] via 10.1.13.3, 00:00:39,
Serial0/1
[110/20] via 10.1.12.2,
00:00:39, Serial0/0
O E2 6.6.9.0 [110/20] via 10.1.13.3, 00:00:39,
Serial0/1
[110/20] via 10.1.12.2,
00:00:41, Serial0/0
10.0.0.0/24 is
subnetted, 6 subnets
O IA 10.1.24.0
[110/128] via 10.1.12.2, 00:07:56, Serial0/0
O IA 10.1.45.0
[110/192] via 10.1.13.3, 00:07:21, Serial0/1
[110/192] via 10.1.12.2, 00:07:21, Serial0/0
O IA 10.1.34.0
[110/128] via 10.1.13.3, 00:07:54, Serial0/1
O E2 10.1.56.0 [110/20] via 10.1.13.3, 00:00:43,
Serial0/1
[110/20] via 10.1.12.2,
00:00:43, Serial0/0
Configuration on R1,R2,R3
R1(config)#router ospf 1
R1(config-router)#area 1 stub
After Area 1 as Stub
Area
R1#sh ip route ospf
2.0.0.0/32 is
subnetted, 1 subnets
O 2.2.2.2
[110/65] via 10.1.12.2, 00:00:21, Serial0/0
3.0.0.0/32 is
subnetted, 1 subnets
O IA 3.3.3.3
[110/193] via 10.1.12.2, 00:00:21, Serial0/0
4.0.0.0/32 is
subnetted, 1 subnets
O IA 4.4.4.4
[110/129] via 10.1.12.2, 00:00:04, Serial0/0
5.0.0.0/32 is
subnetted, 1 subnets
O IA 5.5.5.5
[110/193] via 10.1.12.2, 00:00:04, Serial0/0
10.0.0.0/24 is
subnetted, 5 subnets
O IA 10.1.24.0
[110/128] via 10.1.12.2, 00:00:04, Serial0/0
O IA 10.1.45.0
[110/192] via 10.1.12.2, 00:00:04, Serial0/0
O IA 10.1.34.0
[110/192] via 10.1.12.2, 00:00:04, Serial0/0
O*IA 0.0.0.0/0 [110/65] via
10.1.12.2, 00:00:04, Serial0/0
R1#sho ip ospf database database-summary
OSPF
Router with ID (1.1.1.1) (Process ID 1)
Area 1 database summary
LSA Type Count
Delete Maxage
Router 3
0 0
Network 0
0 0
Summary Net 12
0 0
Summary ASBR 0
0 0
Type-7 Ext 0
0 0
Prefixes
redistributed in Type-7 0
Opaque Link 0
0 0
Opaque Area 0
0 0
Subtotal
15 0 0
Process 1 database summary
LSA Type Count
Delete Maxage
Router 3
0 0
Network 0
0 0
Summary Net 12
0 0
Summary ASBR 0
0 0
Type-7 Ext 0
0 0
Opaque Link 0
0 0
Opaque Area 0
0 0
Type-5 Ext 0
0 0
Prefixes
redistributed in Type-5 0
Opaque AS 0
0 0
Total 15 0
0
Configuration on
R2,R3 (ABR)
R2(config)#router ospf 1
R2(config-router)#area 1 stub no-summary
After Area 1 as
Totally Stubby Area
R1(config-router)#do sh ip route ospf
2.0.0.0/32 is
subnetted, 1 subnets
O 2.2.2.2
[110/65] via 10.1.12.2, 00:07:05, Serial0/0
3.0.0.0/32 is
subnetted, 1 subnets
O 3.3.3.3
[110/65] via 10.1.13.3, 00:07:05, Serial0/1
O*IA 0.0.0.0/0 [110/65] via
10.1.13.3, 00:00:02, Serial0/1
[110/65] via 10.1.12.2,
00:00:02, Serial0/0
R1#ping 6.6.6.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6.6.6.6, timeout is 2
seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
60/74/88 ms
R1#ping 6.6.9.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6.6.9.6, timeout is 2
seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip
min/avg/max = 56/64/72 m
0 comments:
Post a Comment