当前位置:网站首页>HCIA's first static routing experiment
HCIA's first static routing experiment
2022-07-19 02:52:00 【 ᝰꫛꫀꪝ】
The experimental requirements :
Lay out the following topology , And the whole network can reach

The configuration is as follows :
R1:
Get into R1, Enter the corresponding interface configuration IP
[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
Then configure the corresponding static route
[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
Other routers such as R1 The steps are the same
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
Static routing
[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
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
static state :
[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:
PC2:
PC3:
And then use PC1 Go separately pingPC2 and PC3:


Use PC2 Go to pingPC3
边栏推荐
- Leetcode 1: Two Sum
- [unity Editor Extension] displays the memory size of all files in the resource directory
- Rhce8 Study Guide Chapter 7 service management
- High quality subroutine
- A practical case of redisson's implementation of distributed locks - lock single key - lock multiple keys - watchdog
- Flyway's SaaS multi tenant implementation scheme
- Squid agent service deployment
- Echo -e usage
- Understand network namespaces
- Changes of service account in kubernetes1.24
猜你喜欢
随机推荐
让我们了解awk~
HCIA静态综合实验
第一篇博客------自我介绍
5、AsyncTool框架竟然有缺陷?
Traversal of binary tree
MDK Keil/ARM printf 用法说明
LAMP平台部署及应用
Reflection and Discussion on time management methods
使用gatekeeper限制kubernetes创建特定类型的资源
RHCE-ansible第二次作业
HCIA总结
win10网络连接显示无网络但可以上网
Conditional statement of shell script
wangEditor介绍(入门级)
High quality subroutine
Echo -e usage
Circular statements and functions of shell scripts
二进制安装kubernetes 1.23.2
[solution] the local Group Policy Editor (gpedit.msc) in Win 11 cannot be opened
梦开始的地方----初识c语言









