最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

华为eNSP--4多个路由器连接配置(静态路由)

网站源码admin22浏览0评论

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

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论