快盘下载:好资源、好软件、快快下载吧!

快盘排行|快盘最新

当前位置:首页软件教程电脑软件教程 → 思科OSPF与rip多区配置与路由重分发

思科OSPF与rip多区配置与路由重分发

时间:2022-10-19 18:01:05人气:作者:快盘下载我要评论

拓补图;思科OSPF与rip多区配置与路由重分发

第一步;

配置R22

En

Conf t

Int f0/0

Ip add 192.168.10.254 255.255.255.0

no sh

int f0/1

ip add 192.168.20.254 255.255.255.0

no sh

int e1/1

ip add 192.168.30.254 255.255.255.0

no sh

int e1/0

ip add 192.168.40.254 255.255.255.0

no sh

ex

router ospf 1

router-id 192.168.1.254

network 192.168.1.254 0.0.0.0 area 1

network 192.168.10.0 0.0.0.255 area 1

network 192.168.20.0 0.0.0.255 area 1

network 192.168.30.0 0.0.0.255 area 1

network 192.168.40.0 0.0.0.255 area 1

R20

En

Conf t

Int f0/0

Ip add 192.168.10.1 255.255.255.0

no sh

int f0/1

ip add 192.168.5.254 255.255.255.0

no sh

ex

router ospf 1

router-id 192.168.1.1

network 192.168.1.1 0.0.0.0 area 1

network 192.168.10.0 0.0.0.255 area 1

network 192.168.5.0 0.0.0.255 area 1

R21

En

Conf t

Int f0/0

Ip add 192.168.20.1 255.255.255.0

no sh

int f0/1

ip add 192.168.25.254 255.255.255.0

no sh

ex

router ospf 1

router-id 192.168.1.2

network 192.168.1.2 0.0.0.0 area 1

network 192.168.20.0 0.0.0.255 area 1

network 192.168.25.0 0.0.0.255 area 1

第二部;

OSPF

       R23

En

Conf t

Int f0/0

Ip add 192.168.40.1 255.255.255.0

no sh

int e1/1

ip add 192.168.50.254 255.255.255.0

no sh

int e1/0

ip add 192.168.60.254 255.255.255.0

no sh

ex

router ospf 1

router-id 192.168.1.3

network 192.168.1.3 0.0.0.0 area 1

network 192.168.40.0 0.0.0.255 area 1

network 192.168.50.0 0.0.0.255 area 0

network 192.168.60.0 0.0.0.255 area 0

R24

En

Conf t

Int f0/0

Ip add 192.168.50.1 255.255.255.0

no sh

int e1/0

ip add 192.168.70.254 255.255.255.0

no sh

int f0/1

ip add 192.168.55.254 255.255.255.0

no sh

ex

router ospf 1

router-id 192.168.10.1

network 192.168.10.1 0.0.0.0 area 0

network 192.168.50.0 0.0.0.255 area 0

network 192.168.55.0 0.0.0.255 area 0

network 192.168.70.0 0.0.0.255 area 0

给24配置重分发

Router(config-router)default-information originate  

ex

Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.55.1

r26

en

conf t

int f0/0

ip add 192.168.55.1 255.255.255.0

no sh

int f0/1

ip add 192.168.56.254 255.255.255.0

no sh

ex

ip route 0.0.0.0 0.0.0.0 192.168.55.254

用pc192.168.30.1ping192.168.56.1

OSPF

R25

En

Conf t

Int f0/0

Ip add 192.168.60.1 255.255.255.0

no sh

int f0/1

ip add 192.168.80.254 255.255.255.0

no sh

ex

router ospf 1

router-id 192.168.8.1

network 192.168.8.1 0.0.0.0 area 0

network 192.168.60.0 0.0.0.255 area 0

network 192.168.80.0 0.0.0.255 area 0

第三部;

思科

R27  思科

En

Conf t

Int f0/1

Ip add 192.168.70.1 255.255.255.0

No sh

Int f0/0

Ip add 192.168.80.1 255.255.255.0

No sh

Int e1/0

Ip add 192.168.90.254 255.255.255.0

No sh

Int e1/1

Ip add 192.168.110.254 255.255.255.0

No sh

Ex

router ospf 1

router-id 192.168.7.1

network 192.168.7.1 0.0.0.0 area 0

network 192.168.70.0 0.0.0.255 area 0

network 192.168.80.0 0.0.0.255 area 0

network 192.168.90.0 0.0.0.255 area 2

network 192.168.110.0 0.0.0.255 area 3

R30

En

Conf t

Int f0/0

Ip add 192.168.90.1 255.255.255.0

no sh

int f0/1

ip add 192.168.100.254 255.255.255.0

no sh

ex

router ospf 1

router-id 192.168.4.1

network 192.168.4.1 0.0.0.0 area 2

network 192.168.90.0 0.0.0.255 area 2

network 192.168.100.0 0.0.0.255 area 2

给pc18加入ip192.168.100.1 子网掩码192.168.100.254

Ping 192.168.100.1 如果ping不通不要急;先ping192.168.70.1或者192.168.50.1

一点一点ping过去;第一次我也没通;但ping了一下70.1网段就好了;就全通了。

R31

En

Conf t

Int f0/0

Ip add 192.168.110.1 255.255.255.0

no sh

int f0/1

ip add 192.168.120.254 255.255.255.0

no sh

ex

router ospf 1

router-id 192.168.6.2

network 192.168.6.2 0.0.0.0 area 2

network 192.168.110.0 0.0.0.255 area 2

ex

route rip

version 2

network 192.168.120.0

redistribute ospf 1 metric 5

ex

router ospf 1

redistribute rip subnets

R32

En

Conf t

Int f0/0

Ip add 192.168.120.1 255.255.255.0

no sh

int f0/1

ip add 192.168.130.254 255.255.255.0

no sh

ex

route rip

version 2

network 192.168.120.0

network 192.168.130.0

给pc17配置ip192.168.130.1 255.255.255.0 子网掩码192.168.130.254

用pc15的192.168.30.1ping192.168.130.1

全网互通

rip

相关文章

  • 安卓浏览器横评_flash浏览器

    安卓浏览器横评_flash浏览器,近日国外媒体Android Authority就对全球使下载最大的11款手机浏览器进行了性能方面的横向评测,相信在看完后,你能够从中找到更适合自己的手机浏览器。......
  • ESLint 配置入门,你学会了吗?

    ESLint 是一款检查 JavaScript 程序是否符合特定的规则的工具。比如字符串用单引号还是双引号,Tab 缩进用 2 个空格还是 4 个空格还是其他,这些都可以用 ESLint 来规定。...

网友评论

快盘下载暂未开通留言功能。

关于我们| 广告联络| 联系我们| 网站帮助| 免责声明| 软件发布

Copyright 2019-2029 【快快下载吧】 版权所有 快快下载吧 | 豫ICP备10006759号公安备案:41010502004165

声明: 快快下载吧上的所有软件和资料来源于互联网,仅供学习和研究使用,请测试后自行销毁,如有侵犯你版权的,请来信指出,本站将立即改正。