首页 > 编程知识 正文

ensp直连路由不通,ensp静态路由ping不通

时间:2023-05-04 07:12:55 阅读:229348 作者:435

[Huawei]sys
[Huawei]sy R1
[R1]int e0/0/0 [R1]ip route-static 0.0.0.0 0 192.168.1.3
[R1]ip route-static 0.0.0.0 0 192.168.1.2 preference 80

[Huawei]sys
[Huawei]sy R2
[R2]int e0/0/0
[R2-Ethernet0/0/0]ip address 192.168.3.1 24
[R2-Ethernet0/0/0]int e0/0/1
[R2-Ethernet0/0/1]ip address 192.168.1.2 24
[R2-Ethernet0/0/1]
[R2-Ethernet0/0/1]int g0/0/0
[R2-GigabitEthernet0/0/0]ip address 192.168.2.4 24
[R2]ip route
[R2]ip route-static 192.168.10.0 24 192.168.1.1
[R2]ip route
[R2]ip route-static 192.168.20.0 24 192.168.1.4
[R2]ip route
[R2]ip route-static 0.0.0.0 0 192.168.4.1 preference 80

[Huawei]sys
[Huawei]sy R3
[R3]int e0/0/0 [R3]ip route
[R3]ip route-static 192.168.10.0 24 192.168.2.1
[R3]ip route
[R3]ip route-static 192.168.20.0 24 192.168.2.6
[R3]ip route
[R3]ip route-static 0.0.0.0 0 192.168.3.1 preference 80

[Huawei]sys
[Huawei]sy R4
[R4]int e0/0/0
[R4-Ethernet0/0/0]ip address 192.168.5.1 24
[R4-Ethernet0/0/0]
[R4-Ethernet0/0/0]int e0/0/1
[R4-Ethernet0/0/1]ip address 192.168.1.4 24
[R4-Ethernet0/0/1]
[R4-Ethernet0/0/1]int g0/0/0
[R4-GigabitEthernet0/0/0]ip address 192.168.2.6 24
[R4]ip route
[R4]ip route-static 0.0.0.0 0 192.168.2.5
[R4]ip route
[R4]ip route-static 0.0.0.0 0 192.168.2.4 preference 80

.

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。