当前位置:网站首页>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:

五:全网可达测试



终上所述:该实验的所有要求已经达成 ,实验成功。
边栏推荐
- Golang -- parse yaml file
- TCP的三次握手与四次断开
- Educational Codeforces Round 132 (Rated for Div. 2), problem: (D) Rorororobot
- HCIA动态路由RIP基础实验
- Lesson 5 - key control LED
- HCIP-第三天-广域网拓扑实验
- 求解100~200之间的素数
- ESP8266Wi-Fi数据通讯
- C语言的常数知识讲解
- Static comprehensive experiment (comprehensive exercise of static route, loopback interface, default route, empty interface, floating static)
猜你喜欢

Nb-iot networking communication

Lesson 5 - key control LED

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

HCIP第一天

C language - first program, print, variables and constants

Dynamic routing rip protocol experiment

About unsafe problems such as fopen and strError encountered in vs2022 or advanced version running environment

【C语言】阶乘实现
![C language implementation of the small game [sanziqi] Notes detailed logic clear, come and have a look!!](/img/b9/ade9a808a3f6d24cd9825dc9b010c1.png)
C language implementation of the small game [sanziqi] Notes detailed logic clear, come and have a look!!

【C语言】strlen与sizeof相关区分
随机推荐
微信小程序:用户微信登录流程(附:流程图+源码)
MGRE, PPP, HDLC comprehensive experiment
全连MGRE与星型拓扑MGRE
NAT网络地址转化实验
Tim output comparison - PWM
C language - value range of data type and basic data type
First knowledge of C language (2)
打开编程的大门
C language - first program, print, variables and constants
NAT network address translation experiment
Codeforces Round #809 (Div. 2), problem: (C) Qpwoeirut And The City
MySQL course 1. simple command line -- simple record welcome to supplement and correct errors
HCIP-第五天-OSPF扩展配置实验
RISC-V工具链编译笔记
Hcip OSPF knowledge summary
The latest C language introduction and advanced - the most complete and detailed C language tutorial in history!! Section 1 - overview of C language
Lecture 4 - explain GPIO_ Write function and related routines
(超详尽版,不懂随时评论)Codeforces Round #804 (Div. 2)C The Third Problem
7.16 written examination of Duoyi network
C语言的常数知识讲解