当前位置:网站首页>静态路由实验
静态路由实验
2022-07-21 05:18:00 【土尔奇酱】
实验要求:
布置如下拓扑并做到全网可达
题目图
先配置好各个终端和路由器端口的IP地址
效果图
路由器端口设置操作
RA1:
sysname r1(改名)
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]ip address 192.168.1.1 255.255.255.0
[r1]int g0/0/1
[r1-GigabitEthernet0/0/1]ip address 192.168.2.1 255.255.255.0
静态路由:
[r1]ip route-static 192.168.3.0 24 192.168.2.2
[r1]ip route-static 192.168.4.0 24 192.168.2.2
[r1]ip route-static 192.168.5.0 24 192.168.2.2
RA2:
sysname r2
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ip address 192.168.3.1 255.255.255.0
[r2]int g 0/0/1
[r2-GigabitEthernet0/0/1]ip address 192.168.2.2 255.255.255.0
[r2]int g 0/0/2
[r2-GigabitEthernet0/0/2]ip address 192.168.4.1 255.255.255.0
静态路由:
[r2]ip route-static 192.168.1.0 255.255.255.0 192.168.2.1
[r2]ip route-static 192.168.5.0 255.255.255.0 192.168.4.2
RA3:
sysname r3
[r3]int g 0/0/0
[r3-GigabitEthernet0/0/0]ip address 192.168.5.1 255.255.255.0
[r3-GigabitEthernet0/0/0]int g 0/0/1
[r3-GigabitEthernet0/0/1]ip address 192.168.4.2 255.255.255.0
静态路由:
[r3]ip route-static 192.168.1.0 255.255.255.0 192.168.4.1
[r3]ip route-static 192.168.2.0 255.255.255.0 192.168.4.1
[r3]ip route-static 192.168.3.0 255.255.255.0 192.168.4.1
PC1分别去ping PC2和PC3:
使用PC2去ping PC3:
边栏推荐
猜你喜欢
[untitled] rhcsa first operation
实验2-白盒测试-软件质量保障与测试
Dx11 --- texture and lighting (flame animation, texture rotation, paste different textures)
SIP account acquisition method of Telecom Optical cat network phone
OK the telephone system rules configured in the outbound call center
局域网电话软件系统功能与应用
Why does okcc call center introduce voice into the web?
实验1-黑盒测试-软件质量保障与测试
Hcip day 7
Comprehensive experiment of static routing
随机推荐
C implementation of binary heap
Dynamic routing ---rip
Integer常量池的理解
【无标题】RHCSA第一次作业
Why does okcc call center introduce voice into the web?
OK the telephone system rules configured in the outbound call center
JWT creation and verification demo
全网清晰虚拟机安装截图
网络类型 --- 根据数据链路层使用的协议来进行划分的
实验1-黑盒测试-软件质量保障与测试
HCIP MGRE综合实验
超大Excel的读取与写入
FXS与FXO:有什么区别以及它是如何工作的
Hcip day 5
Directx11-- window initialization (Win32)
第三天作業
mongoDB复杂查询实例(嵌套多个数组和正则表达式使用)
Rip comprehensive experiment
Rip experiment
What is SIP Protocol?