论坛
潜水/灌水快乐,沉淀知识,认识更多同行。
ToB圈子
加入IT圈,遇到更多同好之人。
朋友圈
看朋友圈动态,了解ToB世界。
ToB门户
了解全球最新的ToB事件
博客
Blog
排行榜
Ranklist
文库
业界最专业的IT文库,上传资料也可以赚钱
下载
分享
Share
导读
Guide
相册
Album
记录
Doing
搜索
本版
文章
帖子
ToB圈子
用户
免费入驻
产品入驻
解决方案入驻
公司入驻
案例入驻
登录
·
注册
只需一步,快速开始
账号登录
立即注册
找回密码
用户名
Email
自动登录
找回密码
密码
登录
立即注册
首页
找靠谱产品
找解决方案
找靠谱公司
找案例
找对的人
专家智库
悬赏任务
圈子
SAAS
IT评测·应用市场-qidao123.com
»
论坛
›
备份容灾
›
备份
›
路由计谋实验
路由计谋实验
来自云龙湖轮廓分明的月亮
金牌会员
|
2024-10-10 06:53:32
|
显示全部楼层
|
阅读模式
楼主
主题
975
|
帖子
975
|
积分
2935
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要
登录
才可以下载或查看,没有账号?
立即注册
x
实验拓扑
实验要求:路由选路最佳
1.如图配置IP地点
R1:
interface GigabitEthernet0/0/0
ip address 12.1.1.1 255.255.255.0
interface GigabitEthernet0/0/1
ip address 15.1.1.2 255.255.255.0
interface LoopBack0
ip address 1.1.1.1 255.255.255.0
R2:
interface GigabitEthernet0/0/0
ip address 12.1.1.2 255.255.255.0
interface GigabitEthernet0/0/1
ip address 13.1.1.1 255.255.255.0
interface LoopBack0
ip address 2.2.2.2 255.255.255.0
R3:
interface GigabitEthernet0/0/0
ip address 14.1.1.2 255.255.255.0
interface GigabitEthernet0/0/1
ip address 15.1.1.1 255.255.255.0
interface LoopBack0
ip address 3.3.3.3 255.255.255.0
R4:
interface GigabitEthernet0/0/0
ip address 13.1.1.2 255.255.255.0
interface GigabitEthernet0/0/1
ip address 14.1.1.1 255.255.255.0
interface LoopBack0
ip address 4.4.4.4 255.255.255.0
2、抓取定向流量并在接口下执行计谋
R1:
ip ip-prefix gl2 index 10 permit 3.3.3.0 24
ip ip-prefix gl2 index 30 permit 14.1.1.0 24
ip ip-prefix gl2 index 40 permit 4.4.4.4 32
ip ip-prefix gl3 index 10 permit 2.2.2.0 24
ip ip-prefix gl3 index 20 permit 13.1.1.0 24
interface GigabitEthernet0/0/0
rip metricin ip-prefix gl2 10 ——————执行名为gl2的计谋,并把开销值改为10
interface GigabitEthernet0/0/1
rip metricin ip-prefix gl3 10 ——————执行名为gl3的计谋,并把开销值改为10
R2:
ip ip-prefix gl index 20 deny 3.3.3.0 24
ip ip-prefix gl index 30 deny 15.1.1.0 24
ip ip-prefix gl index 40 permit 0.0.0.0 0 less-equal 32 ————前缀列表末尾隐含一条拒绝全部,在匹配前要放通全部
rip 1
filter-policy ip-prefix gl import GigabitEthernet0/0/0 —————在协议中调用,注意方向
R3:
ip ip-prefix gl index 20 deny 2.2.2.0 24
ip ip-prefix gl index 30 deny 12.1.1.0 24
ip ip-prefix gl index 40 deny 1.1.1.0 24
ip ip-prefix gl index 50 permit 0.0.0.0 0 less-equal 32 ————前缀列表末尾隐含一条拒绝全部,在匹配前要放通全部
rip 1
filter-policy ip-prefix gl import GigabitEthernet0/0/1 —————在协议中调用,注意方向
4、观察R1,R4的路由表
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复
使用道具
举报
0 个回复
正序浏览
返回列表
快速回复
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
or
立即注册
本版积分规则
发表回复
回帖并转播
发新帖
回复
来自云龙湖轮廓分明的月亮
金牌会员
这个人很懒什么都没写!
楼主热帖
C#实现HTTP访问类HttpHelper
容器化 | 在 S3 实现定时备份 ...
【黄啊码】MySQL入门—5、数据库小技巧 ...
工作流引擎在vivo营销自动化中的应用实 ...
Kubernetes-理解对象
MySQL索引的理解学习,面试不问索引原理 ...
揭秘“AI换脸”诈骗背后,黑灰产使用的 ...
【低代码】低代码平台协同&敏捷场景下 ...
【OpenHarmony】VSCode下移植 LiteOS-M ...
RabbitMQ真实生产故障问题还原与分析 ...
标签云
AI
运维
CIO
存储
服务器
浏览过的版块
开源技术
Postrge-SQL技术社区
程序人生
Mysql
SQL-Server
快速回复
返回顶部
返回列表