admin 管理员组

文章数量: 887021

R1路由器的配置

[Huawei]int e0/0/0
[Huawei-Ethernet0/0/0]ip add 192.168.1.10 24
[Huawei-Ethernet0/0/0]int e0/0/1
[Huawei-Ethernet0/0/1]ip add 192.168.12.1 24
[Huawei-Ethernet0/0/1]ip route-static 0.0.0.0 0.0.0.0 192.168.12.2

R2路由器的配置

[Huawei]int e0/0/1
[Huawei-Ethernet0/0/1]ip add 192.168.23.2 24
[Huawei-Ethernet0/0/1]int e0/0/0
[Huawei-Ethernet0/0/0]ip add 192.168.12.2 24
[Huawei]ip route-static 192.168.1.0 255.255.255.0 192.168.12.1  //是将PC1处的网段地址 与R1路由器与R2路由器连接处的地址连接
[Huawei]ip route-static 192.168.3.0 255.255.255.0 192.168.23.3   //是将PC3处的网段地址 与R2路由器与R3路由器连接处的地址连接

R3路由器的配置

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo in en
Info: Information center is disabled.
[Huawei]int e0/0/0
[Huawei-Ethernet0/0/0]ip add 192.168.23.3 24
[Huawei-Ethernet0/0/0]int e0/0/1
[Huawei-Ethernet0/0/1]ip add 192.168.3.10 24
[Huawei-Ethernet0/0/1]ip route-static 0.0.0.0 0.0.0.0 192.168.23.2

本文标签: 华为 多个 路由 路由器 静态