免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1109 | 回复: 0
打印 上一主题 下一主题

Configuring Default-network for EIGRP [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-20 11:32 |只看该作者 |倒序浏览



当EIGRP网络内所有的路由都需要配置到达EXTORNAL NETWORK的默认路由时,可以在全局配置在使用 ip default-network 命令



以上是其中一种方法,其实除了使用 ip default-network 命令来让其它路由自动配置默认路由外,还可以使用重分布 redistribute 来达到同样的效果

R2(config)#router eigrp 50
R2(config-router)#redistribute static metric 10 10 10 10 10

R2#sh 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 192.168.10.2 to network 0.0.0.0
     192.168.10.0/30 is subnetted, 1 subnets
C       192.168.10.0 is directly connected, FastEthernet2/0
     172.16.0.0/30 is subnetted, 2 subnets
C       172.16.1.4 is directly connected, FastEthernet1/0
C       172.16.1.0 is directly connected, FastEthernet0/0
S*   0.0.0.0/0 [1/0] via 192.168.10.2

R1#sh 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 172.16.1.2 to network 0.0.0.0
     172.16.0.0/30 is subnetted, 2 subnets
D       172.16.1.4 [90/30720] via 172.16.1.2, 00:22:04, FastEthernet0/0
C       172.16.1.0 is directly connected, FastEthernet0/0
D*EX 0.0.0.0/0 [170/256005120] via 172.16.1.2, 00:19:54, FastEthernet0/0


同样,其实路由协议也可以使用 重分布 redistribute 来达到相同的效果



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/45250/showart_695608.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP