ENSP默认路由配置

ENSP配置 实例四 默认路由配置
1,配置R1路由器
sys ##进入系统视图模式
[Huawei]sys R1 ##修改名字
[R1]int e0/0/0 ##进入接口
[R1-Ethernet0/0/0]ip add 192.168.1.254 24 ##配置ip地址
[R1-Ethernet0/0/0]undo shut ##开启物理接口
[R1-Ethernet0/0/1]int e0/0/1
[R1-Ethernet0/0/1]ip add 10.0.12.1 24
[R1-Ethernet0/0/1]undo shutdown
[R1-Ethernet0/0/1]q ##退出接口
[R1]ip route-static 0.0.0.0 0.0.0.0 10.0.12.2 ##配置默认路由

sys
[Huawei]sys R2 ##修改名字
[R2]int e0/0/0 ##进入接口
[R2-Ethernet0/0/0]ip add 10.0.12.2 24 ##配置ip地址
[R2-Ethernet0/0/0]undo shutdown ##开启物理接口
[R2-Ethernet0/0/0]int loo 0 ##进入回环网卡
[R2-LoopBack0]ip add 2.2.2.2 32 ##设置地址 方便测试
[R2-LoopBack0]q
[R2]ip route-static 192.168.1.0 24 10.0.12.1 ##设置静态路由

相关文章:

  • 2022-12-23
  • 2021-04-29
  • 2022-01-23
  • 2021-11-01
  • 2021-11-01
  • 2021-12-13
猜你喜欢
  • 2021-11-01
  • 2022-02-12
  • 2021-11-01
  • 2021-06-29
  • 2022-01-03
  • 2021-12-26
相关资源
相似解决方案