bye bye rip...
add eigrp...
r1#sh run | begin eigrp
router eigrp 1
network 172.16.0.0
network 192.168.0.0 0.0.255.255
router eigrp 1
network 172.16.0.0
network 192.168.0.0 0.0.255.255
router eigrp 1
network 172.16.0.0
i put in no auto-summ anyway, but it is the default for later code... habit...
r1#sh ip eigrp neigh
EIGRP-IPv4 Neighbors for AS(1)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 172.16.12.2 Se1/0 14 00:02:30 24 2340 0 3
r1#
the H stands for handle,
This column lists the order in which a peering session was established with the specified neighbor. The order is specified with sequential numbering starting with 0.
r1#sh ip route eigrp
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
D 172.16.2.0/24 [90/40640000] via 172.16.12.2, 00:07:14, Serial1/0
D 172.16.23.0/24 [90/41024000] via 172.16.12.2, 00:07:14, Serial1/0
D 172.16.100.0/24 [90/40640000] via 172.16.12.2, 00:07:14, Serial1/0
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
D 172.16.2.0/24 [90/40640000] via 172.16.12.2, 00:07:14, Serial1/0
D 172.16.23.0/24 [90/41024000] via 172.16.12.2, 00:07:14, Serial1/0
D 172.16.100.0/24 [90/40640000] via 172.16.12.2, 00:07:14, Serial1/0
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 10 subnets, 2 masks
D 172.16.1.0/24 [90/40640000] via 172.16.12.1, 00:08:04, Serial1/0
D 192.168.48.0/24 [90/40640000] via 172.16.12.1, 00:08:04, Serial1/0
D 192.168.49.0/24 [90/40640000] via 172.16.12.1, 00:08:04, Serial1/0
D 192.168.50.0/24 [90/40640000] via 172.16.12.1, 00:08:04, Serial1/0
D 192.168.51.0/24 [90/40640000] via 172.16.12.1, 00:08:04, Serial1/0
D 192.168.70.0/24 [90/40640000] via 172.16.12.1, 00:08:04, Serial1/0
r2#sh ip eigrp neigh
EIGRP-IPv4 Neighbors for AS(1)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 172.16.12.1 Se1/0 10 00:08:19 42 2340 0 3
r2#
make the serial on r2 connecting to ospf passive for eigrp...
r2#sh ip eigrp int
EIGRP-IPv4 Interfaces for AS(1)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Se1/2 0 0/0 0/0 0 10/10 0 0
Lo0 0 0/0 0/0 0 0/0 0 0
Lo100 0 0/0 0/0 0 0/0 0 0
Se1/0 1 0/0 0/0 22 10/390 446 0
r2#
both serials are advertising eigrp because it was set up as classful...
r2(config)#router eigrp 1
r2(config-router)#passive-int s1/2
r2(config-router)#passive-int s1/2
r2#sh ip eigrp int
EIGRP-IPv4 Interfaces for AS(1)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Lo0 0 0/0 0/0 0 0/0 0 0
Lo100 0 0/0 0/0 0 0/0 0 0
Se1/0 1 0/0 0/0 22 10/390 446 0
now they are not... do sh ip proto and i'll let you live...
summarize ONLY lo's 48 and 49...
r1(config)#int s1/0
r1(config-if)#ip summary-add eigrp 1 192.168.48.0 255.255.254.0
r1(config-if)#ip summary-add eigrp 1 192.168.48.0 255.255.254.0
r1(config-if)#
*Aug 18 18:15:32: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 172.16.12.2 (Serial1/0) is resync: summary configured
*Aug 18 18:15:32: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 172.16.12.2 (Serial1/0) is resync: summary configured
r1#sh ip route eigrp
Gateway of last resort is not set172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
D 172.16.2.0/24 [90/40640000] via 172.16.12.2, 00:19:15, Serial1/0
D 172.16.23.0/24 [90/41024000] via 172.16.12.2, 00:19:15, Serial1/0
D 172.16.100.0/24 [90/40640000] via 172.16.12.2, 00:19:15, Serial1/0
D 192.168.48.0/23 is a summary, 00:00:54, Null0
r1#sh ip route 192.168.48.0 255.255.254.0
Routing entry for 192.168.48.0/23, supernet
Known via "eigrp 1", distance 5, metric 128256, type internal
Redistributing via eigrp 1
Routing Descriptor Blocks:
* directly connected, via Null0
Route metric is 128256, traffic share count is 1
Total delay is 5000 microseconds, minimum bandwidth is 8000000 Kbit
Reliability 255/255, minimum MTU 1514 bytes
Loading 1/255, Hops 0
why it goes to 5... because 5 is lower than any other dynamic routing AD, thereby avoiding loops... it is only locally significant...
note normal AD on r2...
r2#sh ip route 192.168.48.0 255.255.254.0
Routing entry for 192.168.48.0/23, supernet
Known via "eigrp 1", distance 90, metric 40640000, type internal
Redistributing via eigrp 1
Last update from 172.16.12.1 on Serial1/0, 00:10:54 ago
Routing Descriptor Blocks:
* 172.16.12.1, from 172.16.12.1, 00:10:54 ago, via Serial1/0
Route metric is 40640000, traffic share count is 1
Total delay is 25000 microseconds, minimum bandwidth is 64 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1
better yet, believe subdoh from a cln lift... this is significant...
The summary route is AD 5 on the local router only and the next-hop of that route on the local router is always null0. The reason for it being lower than any internal/external EIGRP is to prevent routing loops. So traffic that matches the summary address will be sent to this router. If this router does not have a more specific route for the destination then you want that traffic to be dropped, hence the reason the AD is set to 5 so it takes priority over any internal or external EIGRP routes
add areas 10 and 20 to r2 and r3, and verify...
r2(config)#router ospf 1
r2(config-router)#netw 172.16.100.0 0.0.0.255 area 10
r2(config-router)#end
r2#
*Aug 18 18:50:09: %SYS-5-CONFIG_I: Configured from console by console
r2#sh ip ospf neigh
Neighbor ID Pri State Dead Time Address Interface
192.168.40.1 0 FULL/ - 00:00:38 172.16.23.3 Serial1/2
r2(config-router)#netw 172.16.100.0 0.0.0.255 area 10
r2(config-router)#end
r2#
*Aug 18 18:50:09: %SYS-5-CONFIG_I: Configured from console by console
r2#sh ip ospf neigh
Neighbor ID Pri State Dead Time Address Interface
192.168.40.1 0 FULL/ - 00:00:38 172.16.23.3 Serial1/2
r3(config)#router ospf 1
r3(config-router)#netw 192.168.8.0 0.0.3.255 area 20
r3(config-router)#end
r3#
*Aug 18 18:50:54: %SYS-5-CONFIG_I: Configured from console by console
r3#sh ip ospf neigh
Neighbor ID Pri State Dead Time Address Interface
172.16.2.1 0 FULL/ - 00:00:32 172.16.23.2 Serial1/2
r3(config-router)#netw 192.168.8.0 0.0.3.255 area 20
r3(config-router)#end
r3#
*Aug 18 18:50:54: %SYS-5-CONFIG_I: Configured from console by console
r3#sh ip ospf neigh
Neighbor ID Pri State Dead Time Address Interface
172.16.2.1 0 FULL/ - 00:00:32 172.16.23.2 Serial1/2
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 10 subnets, 2 masks
O 172.16.3.0/24 [110/1563] via 172.16.23.3, 00:04:05, Serial1/2
192.168.8.0/32 is subnetted, 1 subnets
O IA 192.168.8.1 [110/1563] via 172.16.23.3, 00:00:54, Serial1/2
192.168.9.0/32 is subnetted, 1 subnets
O IA 192.168.9.1 [110/1563] via 172.16.23.3, 00:00:54, Serial1/2
192.168.10.0/32 is subnetted, 1 subnets
O IA 192.168.10.1 [110/1563] via 172.16.23.3, 00:00:54, Serial1/2
192.168.11.0/32 is subnetted, 1 subnets
O IA 192.168.11.1 [110/1563] via 172.16.23.3, 00:00:54, Serial1/2
O 192.168.20.0/24 [110/1563] via 172.16.23.3, 00:04:05, Serial1/2
O 192.168.25.0/24 [110/1563] via 172.16.23.3, 00:04:05, Serial1/2
O 192.168.30.0/24 [110/1563] via 172.16.23.3, 00:04:05, Serial1/2
192.168.35.0/32 is subnetted, 1 subnets
O 192.168.35.1 [110/1563] via 172.16.23.3, 00:04:05, Serial1/2
O 192.168.40.0/24 [110/1563] via 172.16.23.3, 00:04:05, Serial1/2
all the loopbacks are /32... you know the drill...
r3(config)#int rang lo8 - 11
r3(config-if-range)#ip ospf netw point-to-p
r3(config-if-range)#end
r2#sh ip route | excl L | Loopback
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 10 subnets, 2 masks
D 172.16.1.0/24 [90/40640000] via 172.16.12.1, 00:17:12, Serial1/0
O 172.16.3.0/24 [110/1563] via 172.16.23.3, 00:17:12, Serial1/2
C 172.16.12.0/24 is directly connected, Serial1/0
C 172.16.23.0/24 is directly connected, Serial1/2
O IA 192.168.8.0/24 [110/1563] via 172.16.23.3, 00:03:59, Serial1/2
O IA 192.168.9.0/24 [110/1563] via 172.16.23.3, 00:03:59, Serial1/2
O IA 192.168.10.0/24 [110/1563] via 172.16.23.3, 00:03:59, Serial1/2
O IA 192.168.11.0/24 [110/1563] via 172.16.23.3, 00:03:59, Serial1/2
O 192.168.20.0/24 [110/1563] via 172.16.23.3, 00:17:12, Serial1/2
O 192.168.25.0/24 [110/1563] via 172.16.23.3, 00:17:12, Serial1/2
O 192.168.30.0/24 [110/1563] via 172.16.23.3, 00:17:12, Serial1/2
192.168.35.0/32 is subnetted, 1 subnets
O 192.168.35.1 [110/1563] via 172.16.23.3, 00:17:12, Serial1/2
O 192.168.40.0/24 [110/1563] via 172.16.23.3, 00:17:12, Serial1/2
D 192.168.48.0/23 [90/40640000] via 172.16.12.1, 00:17:12, Serial1/0
D 192.168.50.0/24 [90/40640000] via 172.16.12.1, 00:17:12, Serial1/0
D 192.168.51.0/24 [90/40640000] via 172.16.12.1, 00:17:12, Serial1/0
D 192.168.70.0/24 [90/40640000] via 172.16.12.1, 00:17:12, Serial1/0
now summarize the those nasty loopbacks on r3...
r3(config)#router ospf 1
r3(config-router)#area 20 range 192.168.8.0 255.255.252.0
r3(config-router)#area 20 range 192.168.8.0 255.255.252.0
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 10 subnets, 2 masks
O 172.16.3.0/24 [110/1563] via 172.16.23.3, 00:22:32, Serial1/2
O IA 192.168.8.0/22 [110/1563] via 172.16.23.3, 00:00:14, Serial1/2
O 192.168.20.0/24 [110/1563] via 172.16.23.3, 00:22:32, Serial1/2
O 192.168.25.0/24 [110/1563] via 172.16.23.3, 00:22:32, Serial1/2
O 192.168.30.0/24 [110/1563] via 172.16.23.3, 00:22:32, Serial1/2
192.168.35.0/32 is subnetted, 1 subnets
O 192.168.35.1 [110/1563] via 172.16.23.3, 00:22:32, Serial1/2
O 192.168.40.0/24 [110/1563] via 172.16.23.3, 00:22:32, Serial1/2
No comments:
Post a Comment