当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
OSPF comprehensive experiment
Swagger -- the most popular API framework in the world
Keep two decimal places and take values upward
DHCP服务
High quality subroutine
Win10 下OneDrive 失效重装
expect免交互
wangEditor介绍(入门级)
多层数据包结构及TCP三次握手
Understand network namespaces
时间复杂度和空间复杂度分析技巧
Various development tools
Swing swing ~ firewall
Unicast、Multicast、Broadcast
Test knowledge preparation
Rhce8 Learning Guide Chapter 4 getting help
RHCE Study Guide Chapter 5 VIM editor
Shell编程规范与变量
TCP three handshakes and four disconnects
Oracle中字符串截取最全方法总结









