码迷,mamicode.com
首页 > 其他好文 > 详细

配置默认路由

时间:2019-05-04 18:55:15      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:shadow   默认路由   tps   image   proc   配置   技术   type   term   

1.配置默认路由拓扑图
技术图片
2.配置R1
[Huawei]sysname R1
[R1]ip route-static 0.0.0.0 0 192.168.2.2
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip address 192.168.1.254 24
[R1-GigabitEthernet0/0/0]int e0/0/0
[R1-Ethernet0/0/0]ip address 192.168.2.1 24
3.配置R2
[Huawei]sysname R2
[R2]ip route-static 192.168.1.0 24 192.168.2.1
[R2]ip route-static 192.168.4.0 24 192.168.3.2
[R2]int e0/0/0
[R2-Ethernet0/0/0]ip address 192.168.2.2 24
[R2-Ethernet0/0/0]int e0/0/1
[R2-Ethernet0/0/1]ip address 192.168.3.1 24
4.配置R3
[Huawei]sysname R3
[R3]ip route-static 0.0.0.0 0 192.168.3.1
[R3]int g0/0/0
[R3-GigabitEthernet0/0/0]ip address 192.168.4.254 24
[R3-GigabitEthernet0/0/0]int e 0/0/0
[R3-Ethernet0/0/0]ip address 192.168.3.2 24

配置默认路由

标签:shadow   默认路由   tps   image   proc   配置   技术   type   term   

原文地址:https://blog.51cto.com/6053450/2388836

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!