侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

CCNP(BSCI)实验:EIGRP的默认路由

2023-04-05 星期三 / 0 评论 / 0 点赞 / 67 阅读 / 1733 字

R1、R2、R3上的基本配置R1(config)#int s2/1R1(config-if)#ip add 12.0.0.1 255.255.255.0R1(config-if)#no shR1(co

.


R1、R2、R3上的基本配置
R1(config)#int s2/1
R1(config-if)#ip add 12.0.0.1 255.255.255.0
R1(config-if)#no sh
R1(config)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#exit
R1(config)#

R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.0
R2(config-if)#exit
R2(config)#int s2/1
R2(config-if)#ip add 12.0.0.2 255.255.255.0
R2(config-if)#no sh

R3(config)#int s2/1
R3(config-if)#ip add 23.0.0.3 255.255.255.0
R3(config-if)#no sh
3(config-if)#int lo0
R3(config-if)#ip add 3.3.3.3 255.255.255.0
R3(config-if)#no sh
第一步:在R1、R2上运行EIGRP协议
R1(config)#router eigrp 11
R1(config-router)#net 1.1.1.1
R1(config-router)#net 12.0.0.0
R1(config-router)#no au
R1(config-router)#end

R2(config)#router eigrp 11
R2(config-router)#net 2.2.2.2
R2(config-router)#net 12.0.0.0
R2(config-router)#net 23.0.0.0
R2(config-router)#no au
R2(config-router)#exit

//我们不能给R3上配置EIGRP协议,如果配置了就失去了意义)

第二步:在R2 、R3上配置一条默认路由
R2(config)#ip default-network 23.0.0.0
R2(config)#ip route 0.0.0.0 0.0.0.0 s2/2 permanent
R2(config)#exit

R3(config)#ip route 0.0.0.0 0.0.0.0 s2/1
R3(config)#exit

第三步:在R1上ping3.3.3.3
R1#ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/33/68 ms
R1#

.

广告 广告

评论区