当前位置:网站首页>IP作业(2)RIP
IP作业(2)RIP
2022-07-24 05:22:00 【九字宸】
一、实验要求

1、R1、R2、R3、R4、R5运行RIPV2,R6、R7运行RIPV1。
2、使用合理IP地址规划网络,各自创建环回接口。
3、R1创建环回172.16.1.1/24 172.16.2.1/24 172.16.3.1/24
4、要求R3使用R2访问R1环回。
5、减少路由条目数量,增加路由传递安全性。
6、R5创建一个环回模拟运营商,不能宣告。
7、R1 telnet R2环回实际 telnet 到R7上。
8、R6、R7路由器不能学习到达R1环回路由。
9、全网可达。
二、实验步骤
1、IP地址的分配及配置和环回接口的配置
AR1
[r1-GigabitEthernet0/0/0]ip a 192.168.1.1 30
[r1-GigabitEthernet0/0/1]ip a 192.168.1.9 30
[r1-LoopBack0]ip a 172.16.1.1 24
[r1-LoopBack1]ip a 172.16.2.1 24
[r1-LoopBack2]ip a 172.16.3.1 24
[r1-LoopBack3]ip a 1.1.1.1 24
AR2
[r2-GigabitEthernet0/0/0]ip a 192.168.1.2 30
[r2-GigabitEthernet0/0/1]ip a 192.168.1.5 30
[r2-LoopBack0]ip a 2.2.2.2 24
AR3
[r3-GigabitEthernet0/0/0]ip a 192.168.1.14 30
[r3-GigabitEthernet0/0/1]ip a 192.168.1.6 30
[r3-LoopBack0]ip a 3.3.3.3 24
AR4
[r4-GigabitEthernet0/0/0]ip a 192.168.1.13 30
[r4-GigabitEthernet0/0/1]ip a 192.168.1.10 30
[r4-GigabitEthernet0/0/2]ip a 192.168.1.21 30
[r4-GigabitEthernet4/0/0]ip a 192.168.1.17 30
[r4-LoopBack0]ip a 4.4.4.4 24
AR5
[isp-GigabitEthernet0/0/0]ip a 192.168.1.18 30
[isp-LoopBack0]ip a 5.5.5.5 24
AR6
[r6-GigabitEthernet0/0/0]ip a 192.168.1.22 30
[r6-GigabitEthernet0/0/1]ip a 192.168.1.25 30
[r6-LoopBack0]ip a 6.6.6.6 24
AR7
[r7-GigabitEthernet0/0/1]ip a 192.168.1.26 30
[r7-LoopBack0]ip a 7.7.7.7 24
2、对各个路由器启动RIP协议
AR1
[r1]rip 1
[r1-rip-1]v 2
[r1-rip-1]network 192.168.1.0
[r1-rip-1]network 172.16.0.0
[r1-rip-1]network 1.0.0.0
AR2
[r2]rip
[r2-rip-1]v 2
[r2-rip-1]network 192.168.1.0
[r2-rip-1]network 2.0.0.0
AR3
[r3]rip
[r3-rip-1]v 2
[r3-rip-1]network 192.168.1.0
[r3-rip-1]network 3.0.0.0
AR4
[r4]rip
[r4-rip-1]v 2
[r4-rip-1]network 192.168.1.0
[r4-rip-1]network 4.0.0.0
AR5
[isp]rip
[isp-rip-1]v 2
[isp-rip-1]network 192.168.1.0
AR6
[r6]rip
[r6-rip-1]v 1
[r6-rip-1]network 192.168.1.0
[r6-rip-1]network 6.0.0.0
AR7
[r7]rip
[r7-rip-1]v 1
[r7-rip-1]network 192.168.1.0
[r7-rip-1]network 7.0.0.0
3、对AR5配置缺省和AR6的互通
AR5
[isp-rip-1]default-route originate
AR6
[r6-GigabitEthernet0/0/0]rip version 2
4、对AR1上的环回做手工汇总和空接口配置
AR1
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]rip summary-address 172.16.0.0 255.255.252.0
[r1-GigabitEthernet0/0/1]rip summary-address 172.16.0.0 255.255.252.0
[r1]ip route-static 172.16.0.0 22 NULL 0
5、R3上抓取流量并修改开销值
AR3
[r3]acl 2000
[r3-acl-basic-2000]rule permit source 172.16.0.0 0
[r3-acl-basic-2000]rule permit source 1.1.1.0 0
[r3]int g0/0/0
[r3-GigabitEthernet0/0/0]rip metricin 2000 10
5、R1和R2做手工认证
AR1
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]rip authentication-mode simple cipher 123456
AR2
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]rip authentication-mode simple cipher 123456
6、R6、R7路由器不能学习到达R1环回路由配置
[r6]acl 2000
[r6-acl-basic-2000]rule deny source 172.16.0.0 0
[r6-acl-basic-2000]rule deny source 1.1.1.0 0
[r6-acl-basic-2000]rule permit source any
[r6-rip-1]filter-policy 2000 import
7、R7上开启 telnet 服务及R2上nat 映射服务
AR7
[r7]aaa
[r7-aaa]local-user xujialong privilege level 15 password cipher 123456
[r7-aaa]local-user xujialong service-type telnet
[r7]user-interface vty 0 4
[r7-ui-vty0-4]authentication-mode aaa
AR2
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]nat server protocol tcp global interface loopback 0 23
inside 7.7.7.7 23
Are you sure to continue?[Y/N]:y
8、对R2和R4上将数据包的传输方向进行策略改变
AR2
[r2]acl 2000
[r2-acl-basic-2000]rule permit source 7.0.0.0 0
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]rip metricin 2000 10
AR4
[r4]acl 2000
[r4-acl-basic-2000]rule permit source 192.168.1.0 0
[r4]int g 0/0/1
[r4-GigabitEthernet0/0/1]rip metricin 2000 10
边栏推荐
- Sorting of common AR and MR head mounted display devices
- Hit the wall record (continuously updated)
- Dameng database_ Common initialization parameters
- UE4 reload system 2. Scene capture of reload system
- Unity Shader从内置渲染管线迁移到URP
- unity2D游戏之让人物动起来-下
- Detailed explanation of KMP code distribution
- HoloLens 2 开发101:创建首个HoloLens 2应用程序
- Unity (II) more APIs and physical engines
- Yolov5 learning summary (continuously updated)
猜你喜欢

Using keras to realize LSTM time series prediction based on attention mechanism
![[principles of database system] Chapter 5 algebra and logic query language: package, extension operator, relational logic, relational algebra and datalog](/img/6a/c30b139823208a2e021135a4bf8d58.png)
[principles of database system] Chapter 5 algebra and logic query language: package, extension operator, relational logic, relational algebra and datalog

公网访问内网IIS网站服务器【无需公网IP】

Basic knowledge of unity and the use of some basic APIs

不租服务器,自建个人商业网站(1)

MySQL download and installation environment settings

Openpose unity plug-in deployment tutorial
![Oserror: [winerror 127] the specified program cannot be found. Error loading “caffe2_detectron_ops.dll“ or one of its dependencies](/img/1d/4c9924c20f697011f0e9cda6616c12.png)
Oserror: [winerror 127] the specified program cannot be found. Error loading “caffe2_detectron_ops.dll“ or one of its dependencies

Lua基础

IP笔记(12)
随机推荐
ue4 瞄准偏移
通道注意力与空间注意力模块
Accessing a two-dimensional array with a pointer
++cnt1[s1.charAt(i) - ‘a‘];
Dameng database_ Common commands
快速简单搭建FTP服务器,并内网穿透实现公网访问【无需公网IP】
Force buckle: 1-sum of two numbers
unity2D横版游戏跳跃实时响应
JVM system learning
Openpose unity plug-in deployment tutorial
异地远程连接在家里的群晖NAS【无公网IP,免费内网穿透】
Demo of UDP communication applied to various environments
Pytorch single machine multi card distributed training
如何建立一个仪式感点满的网站,并发布到公网 1-2
Foundation of JUC concurrent programming (4) -- thread group and thread priority
不租服务器,自建个人商业网站(如何购买域名)
JUC concurrent programming foundation (9) -- thread pool
HoloLens 2 开发:开发环境部署
Unity2d horizontal game jump real-time response
Lua基础