4、EIGRP配置实验之手动汇总-创新互联
1、实验拓扑
创新互联建站长期为上千多家客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为五华企业提供专业的成都网站设计、做网站,五华网站改版等技术服务。拥有十多年丰富建站经验和众多成功案例,为您定制开发。2、主要事项
汇总路由在路由的出接收上做
汇总路由的开销取明细路由的最小开销值
配置自动汇总的路由器自动把汇总路由指向Null 0
只有最后一条明细路由downhou,汇总路由才消失
3、基础配置
R2
interface Loopback0
ip address 192.168.0.1 255.255.255.0
interface Loopback1
ip address 192.168.1.1 255.255.255.0
interface Loopback2
ip address 192.168.2.1 255.255.255.0
interface Loopback3
ip address 192.168.3.1 255.255.255.0
interface Serial0/1
ip address 23.1.1.2 255.255.255.0
router eigrp 90
network 23.1.1.0 0.0.0.255
network 192.168.0.0 0.0.255.255
no auto-summary
R3
interface Serial0/0
ip address 34.1.1.3 255.255.255.0
interface Serial0/1
ip address 23.1.1.3 255.255.255.0
router eigrp 90
network 23.1.1.0 0.0.0.255
network 34.1.1.0 0.0.0.255
no auto-summary
R4
interface Serial0/0
ip address 34.1.1.4 255.255.255.0
router eigrp 90
network 34.1.1.0 0.0.0.255
no auto-summary
4、汇总前路由
R2#show 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 not set
34.0.0.0/24 is subnetted, 1 subnets
D 34.1.1.0 [90/2681856] via 23.1.1.3, 00:43:00, Serial0/1
23.0.0.0/24 is subnetted, 1 subnets
C 23.1.1.0 is directly connected, Serial0/1
C 192.168.0.0/24 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Loopback1
C 192.168.2.0/24 is directly connected, Loopback2
C 192.168.3.0/24 is directly connected, Loopback3
R2#
R3#show 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 not set
34.0.0.0/24 is subnetted, 1 subnets
C 34.1.1.0 is directly connected, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.1.1.0 is directly connected, Serial0/1
D 192.168.0.0/24 [90/2297856] via 23.1.1.2, 00:01:51, Serial0/1
D 192.168.1.0/24 [90/2297856] via 23.1.1.2, 00:01:51, Serial0/1
D 192.168.2.0/24 [90/2297856] via 23.1.1.2, 00:01:51, Serial0/1
D 192.168.3.0/24 [90/2297856] via 23.1.1.2, 00:01:51, Serial0/1
R3#
R4#show 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 not set
34.0.0.0/24 is subnetted, 1 subnets
C 34.1.1.0 is directly connected, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.1.1.0 [90/2681856] via 34.1.1.3, 00:42:41, Serial0/0
D 192.168.0.0/24 [90/2809856] via 34.1.1.3, 00:01:58, Serial0/0
D 192.168.1.0/24 [90/2809856] via 34.1.1.3, 00:01:58, Serial0/0
D 192.168.2.0/24 [90/2809856] via 34.1.1.3, 00:01:58, Serial0/0
D 192.168.3.0/24 [90/2809856] via 34.1.1.3, 00:01:58, Serial0/0
R4#
5、汇总后路由
R2(config)#int s0/1
R2(config-if)#ip summary-address eigrp 90 192.168.0.0 255.255.252.0
R2#show 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 not set
34.0.0.0/24 is subnetted, 1 subnets
D 34.1.1.0 [90/2681856] via 23.1.1.3, 00:44:31, Serial0/1
23.0.0.0/24 is subnetted, 1 subnets
C 23.1.1.0 is directly connected, Serial0/1
C 192.168.0.0/24 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Loopback1
C 192.168.2.0/24 is directly connected, Loopback2
C 192.168.3.0/24 is directly connected, Loopback3
D 192.168.0.0/22 is a summary, 00:00:21, Null0
R2#
R3#show 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 not set
34.0.0.0/24 is subnetted, 1 subnets
C 34.1.1.0 is directly connected, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.1.1.0 is directly connected, Serial0/1
D 192.168.0.0/22 [90/2297856] via 23.1.1.2, 00:00:55, Serial0/1
R3#
R4#show 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 not set
34.0.0.0/24 is subnetted, 1 subnets
C 34.1.1.0 is directly connected, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.1.1.0 [90/2681856] via 34.1.1.3, 00:44:29, Serial0/0
D 192.168.0.0/22 [90/2809856] via 34.1.1.3, 00:01:08, Serial0/0
R4#
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
当前名称:4、EIGRP配置实验之手动汇总-创新互联
URL链接:http://cdiso.cn/article/dcoied.html