汪涵与杨乐乐
<H3C>system-view
汽车发动机排名[H3C]nat address-group group-number start-add end-add
配置⼀对⼀静态地址转换
1.
<H3C>system-view
[H3C]nat static local-ip(本地IP) global-ip(通⽤IP)
[H3C]interface (端⼝号)
[H3C-inter]nat outbound static (把这个端⼝设置为出站)
2.
<H3C>system-view
[H3C]interface nat interface-number
[H3C-NAT]nat static local-ip golbal-ip
[H3C-NAT]quit
[H3C]interface (端⼝号)
[H3C-INT]nat outbound static (把这个端⼝设置为出站)
cisco:
ip nat inside source static local-ip global-ip
邓紫棋金鱼嘴int (端⼝号)
ip nat inside
int (端⼝号)
ip nat outside
配置⽹段对静态地址的转换
1.
<H3C>system-view
[H3C]interface nat interface-number
rotary supercars[H3C-NAT]nat static net-to-net local-network global-network
赫拉气垫粉底[H3C-NAT]quit
[H3C]interface (接⼝地址号)
[H3C-int]nat outbound static (把这个端⼝设置为出站)
2.
<H3C>system-view
[H3C]nat static net-to-net local-start-address local-end-address global global-network
[H3C]interface (端⼝号)
[H3C-INT]nat outbound static (把这个端⼝设置为出站)
配置动态NAT
司藤结局1.EASY IP
<H3C>system-view
[H3C]interface (端⼝号)
[H3C-INT]nat outbound acl-number [next-hop ip-address(可选,按设备定)] 2.NOPAT
<H3C>system-view
[H3C]interface (端⼝号)
[H3C-INT]nat outbound acl-number address-group group-number nopat 或者在⼊接⼝配置
[H3C-INT]nat inbound acl-number address-group group-number nopat 3.NAPT
<H3C>system-view
[H3C]interface (端⼝号)
[H3C-INT]nat outbound acl-number address-group group-number
或者在⼊接⼝配置
[H3C-INT]nat inbound acl-number address-group group-number
发布评论