当前位置:网站首页>RIP路由信息协议-拓扑实验
RIP路由信息协议-拓扑实验
2022-07-26 22:50:00 【m0_72586049】
目录:
目录
一、实验目的
通过RIP路由信息协议(动态路由)让如下图所示的拓扑环境实现全网可达

二、实验需求
1.AR3环回为3.3.3.0/24
2.其他网段基于192.168.1.0/24网段来进行子网划分
3.AR1和AR2均有两个环回路段
4.整个网络运行RIPV2路由信息协议,但不能直接宣告AR3的环回3.3.3.0/24
5.整个拓扑环境实现全网可达,减少路由表条目数量,避免环路的产生
三、需求分析
1.对192.168.1.0/24网段进行子网划分:
由拓扑环境图可得
1)AR1和AR2每个路由器均存在两个环回接口,用于模拟连接PC网段,因此需要4个环回路段;
2)AR1,AR2和AR3两两连接,因此需要2个骨干链路;
4个环回路段+2个骨干链路网段=6个网段;
因此总共需要将192.168.1.0/24分成6个网段;
总母网:192.168.1.0/24(即192.168.1.00000000 255.255.255.0)
AR1-AR2:192.168.1.128/26
AR2-AR3:192.168.1.192/26
AR1环回路段:
总网段:192.168.1.0/26
子网段:①192.1681.0/27
②192.1681.32/27
AR2环回路段:
总网段:192.168.1.64/26
子网段:①192.168.1.64/27
②192.168.1.96/27
IP地址子网划分如图所示:

2.手动给AR3路由器定义缺省源头信息:
按实验要求,整个网络运行RIPV2路由信息协议,但不能直接宣告AR3的环回3.3.3.0/24;
因此我们只能通过给AR3边界路由器定义缺省源头信息,这样AR3将会向内网发布缺省路由,之后内部路由器将自动生成缺省路由指向边界路由服务器AR3的方向,这样才能让AR1和AR2访问到3.3.3.0/24环回网段。
四、实验步骤
1.更改路由器名称:
以AR1为例:
[Huawei]sysname r1
[r1]
![]()
2.内网骨干网段、环回路段ip地址配置:
1)AR1:
[r1-GigabitEthernet0/0/1]ip address 192.168.1.129 26
[r1]interface LoopBack 0
[r1-LoopBack0]ip address 192.168.1.1 27
[r1]interface LoopBack 1
[r1-LoopBack1]ip address 192.168.1.33 27

2)AR2:
[r2-GigabitEthernet0/0/0]ip address 192.168.1.130 26
[r2-GigabitEthernet0/0/1]ip address 192.168.1.193 26
[r2]interface LoopBack 0
[r2-LoopBack0]ip address 192.168.1.64 27
[r2]interface LoopBack 1
[r2-LoopBack1]ip address 192.168.1.96 27

3)AR3:
[r3-GigabitEthernet0/0/0]ip address 192.168.1.194 26
[r3]interface LoopBack 0
[r3-LoopBack0]ip address 3.3.3.1 24

3.路由器实行RIPV2协议并且宣告所直连网段:
1)AR1:
[r1]rip 1
[r1-rip-1]version 2
[r1-rip-1]network 192.168.1.0

2)AR2:
[r2]rip 1
[r2-rip-1]version 2
[r2-rip-1]network 192.168.1.0

3)AR3:
[r3]rip 1
[r3-rip-1]version 2
[r3-rip-1]network 192.168.1.0

4.定义缺省源头信息:
[r3]rip 1
[r3-rip-1]default-route originate

5.查询路由器路由表:
1)AR1:

2)AR2:

3)AR3:

五:全网可达测试



终上所述:该实验的所有要求已经达成 ,实验成功。
边栏推荐
- (CF1691D) Max GEQ Sum
- 【C语言程序设计】分支结构
- The latest C language introduction and advanced - the most complete and detailed C language tutorial in history!! Section 1 - overview of C language
- Codeforces Round #810 (Div. 2), problem: (B) Party
- C language -- nesting of relational and logical operators, if statements, switch statements, and branch structures
- C language -- while statement, dowhile statement, for loop and loop structure, break statement and continue statement
- 睡不着时闭眼躺着,到底有没有用?
- ESP8266Wi-Fi数据通讯
- TCP的三次握手与四次断开
- 静态路由基本配置 实现全网可达
猜你喜欢

最新京东短信登录+傻妞机器人保姆级部署教程(2022/7/24)

MySQL课程1.简单命令行--简单记录 欢迎补充纠错

动态路由配置

C language -- while statement, dowhile statement, for loop and loop structure, break statement and continue statement

C语言——字符和字符串、算术运算符、类型转换

C语言——while语句、dowhile语句、for循环和循环结构、break语句和continue语句

离开页面的提示

HCIA Basics (1)

Experiment of total connection and star topology of mGRE

数字集成电路:CMOS反相器(一)静态特性
随机推荐
勤写标兵——云小井
Codeforces Round #796 (Div. 2), problem: (1688C) Manipulating History
【C语言】strlen与sizeof相关区分
C语言——关系运算符和逻辑运算符、if语句、switch语句、分支结构的嵌套
HCIP-第五天-OSPF扩展配置实验
Experiment of total connection and star topology of mGRE
OSPF protocol overview and basic concepts
About unsafe problems such as fopen and strError encountered in vs2022 or advanced version running environment
Golang implements TCP chat room
Codeforces Round #809 (Div. 2), problem: (C) Qpwoeirut And The City
Can bus communication application
MySQL课程1.简单命令行--简单记录 欢迎补充纠错
Timer interrupt experiment
Influence of pre frequency division value and automatic reload value on interrupt frequency
Codeforces Round #809 (Div. 2), problem: (C) Qpwoeirut And The City
HCIP-第六天-OSPF静态大实验
OSPF static experiment
最新京东短信登录+傻妞机器人保姆级部署教程(2022/7/24)
First knowledge of C language (2)
Mechanical hard disk Selection Guide -- from the selection experience