Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1538801
  • 博文数量: 416
  • 博客积分: 10061
  • 博客等级: 上将
  • 技术积分: 3287
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-05 11:12
个人简介

技术在于专研

文章分类

全部博文(416)

文章存档

2021年(3)

2015年(34)

2013年(2)

2012年(1)

2011年(2)

2010年(5)

2007年(344)

2006年(25)

分类: 系统运维

2006-12-08 09:28:05

此文档的PDF下载 请见 默认路由试验(一)的说明

EIGRP

 

Eigrp在默认的情况下不重发 0.0.0.0 0.0.0.0 默认路由 但是如果在NETWORK中添加network 0.0.0.0命令 由于ip route 0.0.0.0 0.0.0.0 interface 命令所产生的结果(不是ip route 0.0.0.0 0.0.0.0 add ip default-network).他将重分发一条默认路由。实验见:

 

 

方法:一

 

P1R1(config-router)#ip route 0.0.0.0 0.0.0.0 s1/0

P1R1(config)#

*Mar  1 00:00:44.851: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down

P1R1(config)#router eigrp 100y

P1R1(config-router)#network 0.0.0.0

 

P1R1 路由表

P1R1#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 0.0.0.0 to network 0.0.0.0

 

     172.31.0.0/16 is variably subnetted, 2 subnets, 2 masks

C       172.31.1.0/24 is directly connected, Serial1/0

D       172.31.0.0/16 is a summary, 00:05:04, Null0

     10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks

D       10.1.2.0/24 [90/2172416] via 10.1.0.2, 00:05:07, Serial1/1

C       10.1.1.0/24 is directly connected, FastEthernet0/0

D       10.0.0.0/8 is a summary, 00:05:04, Null0

C       10.1.0.0/24 is directly connected, Serial1/1

S*   0.0.0.0/0 is directly connected, Serial1/0

P1R1#

*Mar  1 00:06:28.071: %SYS-5-CONFIG_I: Configured from console by console

P1R1#

 

P1R2

P1R2#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 10.1.0.1 to network 0.0.0.0

 

D    172.31.0.0/16 [90/2681856] via 10.1.0.1, 00:00:02, Serial1/1

     10.0.0.0/24 is subnetted, 3 subnets

C       10.1.2.0 is directly connected, FastEthernet0/0

D       10.1.1.0 [90/2172416] via 10.1.0.1, 00:00:05, Serial1/1

C       10.1.0.0 is directly connected, Serial1/1

D*   0.0.0.0/0 [90/2681856] via 10.1.0.1, 00:00:02, Serial1/1

P1R2#

 

已经传递过来了!

阅读(979) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~