ospf summarization internally is performed with the area range command... one needs the summary address command to summarize external routes...
r3#sh ip route ospf
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
O E2 172.16.1.0/24 [110/20] via 172.16.23.2, 01:11:30, Serial1/2
O E2 172.16.2.0/24 [110/20] via 172.16.23.2, 01:11:30, Serial1/2
O E2 172.16.12.0/24 [110/20] via 172.16.23.2, 01:11:30, Serial1/2
O IA 172.16.100.0/24 [110/1563] via 172.16.23.2, 01:11:30, Serial1/2
O 192.168.8.0/22 is a summary, 01:11:30, Null0
O E2 192.168.48.0/23 [110/20] via 172.16.23.2, 01:11:30, Serial1/2
O E2 192.168.50.0/24 [110/20] via 172.16.23.2, 01:11:30, Serial1/2
O E2 192.168.51.0/24 [110/20] via 172.16.23.2, 01:11:30, Serial1/2
O E2 192.168.70.0/24 [110/20] via 172.16.23.2, 01:11:30, Serial1/2
this lab's got the longest legs in the world...
r2(config)#router ospf 1
r2(config-router)#summary-add 192.168.48.0 255.255.252.0
r2(config-router)#summary-add 192.168.48.0 255.255.252.0
r3#sh ip route ospf
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
O E2 172.16.1.0/24 [110/20] via 172.16.23.2, 01:19:38, Serial1/2
O E2 172.16.2.0/24 [110/20] via 172.16.23.2, 01:19:38, Serial1/2
O E2 172.16.12.0/24 [110/20] via 172.16.23.2, 01:19:38, Serial1/2
O IA 172.16.100.0/24 [110/1563] via 172.16.23.2, 01:19:38, Serial1/2
O 192.168.8.0/22 is a summary, 01:19:38, Null0
O E2 192.168.48.0/22 [110/20] via 172.16.23.2, 00:00:40, Serial1/2
O E2 192.168.70.0/24 [110/20] via 172.16.23.2, 01:19:38, Serial1/2
if you want to change the AD for eigrp, go ahead...
don't do this in production, ever...
r1#sh ip route eigrp
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
D 172.16.2.0/24 [69/40640000] via 172.16.12.2, 00:00:08, Serial1/0
D EX 172.16.3.0/24 [169/2560512256] via 172.16.12.2, 00:00:08, Serial1/0
D 172.16.23.0/24 [69/41024000] via 172.16.12.2, 00:00:08, Serial1/0
D 172.16.100.0/24 [69/40640000] via 172.16.12.2, 00:00:08, Serial1/0
D EX 192.168.8.0/22 [169/2560512256] via 172.16.12.2, 00:00:08, Serial1/0
D EX 192.168.20.0/24 [169/2560512256] via 172.16.12.2, 00:00:08, Serial1/0
192.168.35.0/32 is subnetted, 1 subnets
D EX 192.168.35.1 [169/2560512256] via 172.16.12.2, 00:00:08, Serial1/0
D EX 192.168.40.0/24 [169/2560512256] via 172.16.12.2, 00:00:08, Serial1/0
D 192.168.48.0/23 is a summary, 01:27:54, Null0
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
D 172.16.2.0/24 [69/40640000] via 172.16.12.2, 00:00:08, Serial1/0
D EX 172.16.3.0/24 [169/2560512256] via 172.16.12.2, 00:00:08, Serial1/0
D 172.16.23.0/24 [69/41024000] via 172.16.12.2, 00:00:08, Serial1/0
D 172.16.100.0/24 [69/40640000] via 172.16.12.2, 00:00:08, Serial1/0
D EX 192.168.8.0/22 [169/2560512256] via 172.16.12.2, 00:00:08, Serial1/0
D EX 192.168.20.0/24 [169/2560512256] via 172.16.12.2, 00:00:08, Serial1/0
192.168.35.0/32 is subnetted, 1 subnets
D EX 192.168.35.1 [169/2560512256] via 172.16.12.2, 00:00:08, Serial1/0
D EX 192.168.40.0/24 [169/2560512256] via 172.16.12.2, 00:00:08, Serial1/0
D 192.168.48.0/23 is a summary, 01:27:54, Null0
*** IP Routing is NSF aware ***
Routing Protocol is "eigrp 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP-IPv4 Protocol for AS(1)
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
NSF-aware route hold timer is 240
Router-ID: 192.168.70.1
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 69 external 169
you can change it for ospf too... isn't that just fabulous... i wanna route with you...
router ospf 1
distance ospf intra-area 11 inter-area 99
try that...
this is my new router...
No comments:
Post a Comment