华为交换机不同网段互通教程
![](https://img2022.cnblogs.com/blog/1341552/202211/1341552-20221111151725914-1820241327.png)
1.配置PC1-3 的IP,掩码统一为255.0.0.0
2.g0/0/1接口配置ip 1.1.1.1
命令:
sys interface g0/0/1 ip add 1.1.1.1 255.0.0.0
3.g0/0/0接口配置ip2.2.2.1
sys interface g0/0/0 ip add 2.2.2.1 255.0.0.0
互通完成
1.配置PC1-3 的IP,掩码统一为255.0.0.0
2.g0/0/1接口配置ip 1.1.1.1
命令:
sys interface g0/0/1 ip add 1.1.1.1 255.0.0.0
3.g0/0/0接口配置ip2.2.2.1
sys interface g0/0/0 ip add 2.2.2.1 255.0.0.0
互通完成