R1(config-if)#do sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 172.16.0.1 YES NVRAM
up up
Loopback0 10.1.17.1 YES NVRAM up up
Loopback1 10.1.18.1 YES NVRAM up
up
Loopback2 10.1.19.1 YES NVRAM up up
Loopback3 10.1.20.1 YES NVRAM up up
Loopback4 10.1.21.1 YES NVRAM up up
Loopback5 10.1.22.1 YES NVRAM up up
Loopback6 10.1.23.1 YES NVRAM up up
Loopback7 10.1.24.1 YES NVRAM up up
Loopback8 10.1.25.1 YES NVRAM up up
RIP auto-summary
R1(config-if)#do
sh run | s rip
router
rip
version 2
network 10.0.0.0
network 172.16.0.0
R2#sh ip route | b Gate
Gateway of last resort is not set
C 172.16.0.0/16 is directly
connected, FastEthernet0/0
R 10.0.0.0/8
[120/1] via 172.16.0.1, 00:00:24, FastEthernet0/0
After no
auto-summary
R1#sh
run | s rip
router
rip
version 2
network 10.0.0.0
network 172.16.0.0
no auto-summary
R2#sh ip route | b Gate
Gateway of last resort is not set
C 172.16.0.0/16 is
directly connected, FastEthernet0/0
10.0.0.0/8 is
variably subnetted, 10 subnets, 2 masks
R 10.0.0.0/8 [120/1] via 172.16.0.1, 00:01:14,
FastEthernet0/0
R 10.1.25.0/24
[120/1] via 172.16.0.1, 00:00:21, FastEthernet0/0
R 10.1.24.0/24
[120/1] via 172.16.0.1, 00:00:21, FastEthernet0/0
R 10.1.19.0/24
[120/1] via 172.16.0.1, 00:00:21, FastEthernet0/0
R 10.1.18.0/24
[120/1] via 172.16.0.1, 00:00:21, FastEthernet0/0
R 10.1.17.0/24 [120/1] via 172.16.0.1,
00:00:21, FastEthernet0/0
R 10.1.23.0/24
[120/1] via 172.16.0.1, 00:00:21, FastEthernet0/0
R 10.1.22.0/24
[120/1] via 172.16.0.1, 00:00:21, FastEthernet0/0
R 10.1.21.0/24
[120/1] via 172.16.0.1, 00:00:21, FastEthernet0/0
R 10.1.20.0/24
[120/1] via 172.16.0.1, 00:00:21, FastEthernet0/0
After manual
summary
R1(config-router)#interface
FastEthernet0/0
R1(config-router)#ip address
172.16.0.1 255.255.0.0
R1(config-router)#
ip summary-address rip 10.1.16.0 255.255.248.0
R2#sh ip route | b Gate
Gateway of last resort is not set
C 172.16.0.0/16 is directly
connected, FastEthernet0/0
10.0.0.0/8 is variably subnetted, 3
subnets, 2 masks
R 10.1.25.0/24 [120/1] via
172.16.0.1, 00:00:13, FastEthernet0/0
R 10.1.24.0/24 [120/1] via
172.16.0.1, 00:00:13, FastEthernet0/0
R 10.1.16.0/21 [120/1] via 172.16.0.1, 00:00:13,
FastEthernet0/0
No comments:
Post a Comment