配好ip拉好线静态路由实现两台主机互通
配置pc1与pc2电脑ip

在R1上配置ip地址并**
<Huawei>sys
[Huawei]sysname R1
[R1]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add 10.0.0.1 24
[R1-GigabitEthernet0/0/1]undo sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 20.0.0.1 24
[R1-GigabitEthernet0/0/0]undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
配置静态路由
[R1]ip route-static 30.0.0.0 24 20.0.0.2
让pc1主机跟pc2主机通讯时从20.0.0.0下跳30.0.0.0网段
R2路由器配置同理
最后用pc1 ping pc2能否互通
静态路由实现两台主机互通

相关文章:

  • 2021-09-18
  • 2021-09-30
  • 2021-11-13
  • 2022-01-13
  • 2021-04-30
  • 2021-03-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-17
  • 2021-11-15
  • 2021-05-06
  • 2022-12-23
  • 2021-05-03
  • 2021-11-04
  • 2021-10-07
相关资源
相似解决方案