发布时间:2016-03-22 09:42:01 来源: 作者:
华为SMC2.0其实是可以通过命令行做NAT,如下:
1.打开SSH工具,登陆SMC2.0内置SC,输入账号:admin,密码:Change_Me
2.登陆成功后:<SC>system sys-config network-config
<SC>system sys-config network-config lan1
              SC(lan1)>   
  ipv4                           - Set the ipv4 address of LAN1 
  ipv4-nat                       - Set the ipv4 nat address of LAN1 
  ipv6                           - Set the ipv6 address of LAN1 
  ipv6-nat                       - Set the ipv6 nat address of LAN1 
  quit                           - Quit 
  return                         - Return to the user view 
3.选择ipv4-nat
<SC(lan1)>ipv4-nat enable 10.37.1.241 
enable                         enable the ipv4 NAT address of LAN1 {true|false} 
[address]                      the ipv4 NAT address of LAN1
4. 输入以下命名,输入后提示修改成功,需要重启系统
<SC(lan1)>ipv4-nat enable true address 10.37.1.241 
Please restart the system, as some critical configuration items have been modified.
5.到此,SMC2.0内置SC NAT配置成功
            公司简介
company profile
            解决方案
solution
            客户案例
Customer case


官方微信