静态NAT地址转换

1.配置路由器端口ip(两个端口需要设置两个网段)

  Router(config)#inter f0/1

  Router(confiog-if)#ip add 202.1.1.2 255.255.255.0

2.确定内网外网

  Router(config)#inter f0/1

  Router(config-if)#ip nat outside

  Router(config)#inter f0/0

  Router(config-if)#ip nat inside

3.静态转换

  Router(config)#ip nat in source static 192.168.1.2 202.1.1.3

  Router(config)#ip nat in source static 192.168.1.3 202.1.1.4

  Router(config)#ip nat in source static 192.168.1.4 202.1.1.5

-----查看地址转换信息

 Router#sh ip nat staticstice (统计信息)

 Router#sh nat translation (详细的翻译信息)

 

相关文章:

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