8、华为路由交换-静态路由

[R1]-[R2] 
[R1-GigabitEthernet0/0/0]ip address 192.168.1.1 24  \\R1路由器GE0/0/0端口配置IP地址
[R1-Serial2/0/0]ip address 192.168.12.1 24   \\R1路由器Serial串口配置IP地址
[R1]ip route-static 192.168.23.0 24 s2/0/0 192.168.12.2  
    \\配置静态路由,对端地址192.168.23.0 24    出口(s2/0/0)下一跳(192.168.12.2)
[R2]-[R1]
[R2]ip route-static 192.168.1.0 24 s2/0/1 192.168.12.1 
    \\配置静态路由,对端地址192.168.1.0 24    出口(s2/0/1)下一跳(192.168.12.1)

[R2]-[R3]
[R2]ip route-static 192.168.3.0 24 g0/0/1 192.168.23.3
    \\配置静态路由,对端地址192.168.3.0 24  出口(g0/0/1)  下一条(192.168.23.3)
[R3]-[R2]
[R3]IP route-static 192.168.1.0 24 g0/0/0 192.168.23.2
    \\配置静态路由,对端192.168.1.0 24 出口(g0/0/0) 下一跳192.168.23.2
[R3]-[R4]
[R3]IP route-static 192.168.3.0 24 S2/0/0 192.168.34.4
    \\配置静态路由,对端地址192.168.3.0 24  出口(s2/0/0) 下一条(192.168.34.4)
[R4]-[R3]
[R4]IP route-static 192.168.1.0 24 S2/0/1 192.168.34.3
    \\配置静态路由,对端192.168.1.0 24 出口(s2/0/1)下一跳192.168.34.3

相关文章:

  • 2021-12-28
  • 2021-04-25
  • 2021-12-02
  • 2021-12-03
  • 2021-04-25
  • 2021-07-13
  • 2022-01-01
  • 2021-10-26
猜你喜欢
  • 2021-12-16
  • 2021-12-02
  • 2021-11-17
  • 2022-12-23
  • 2021-04-09
  • 2021-12-06
  • 2021-12-30
相关资源
相似解决方案