HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference

147
Syntax
nat hairpin enable
undo nat hairpin enable
Default
NAT hairpin is disabled.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
NAT hairpin allows internal hosts behind the same NAT device to access each other only after they use
the NAT addresses. NAT hairpin functions on the interface that connects the internal network and
translates the source and destination IP addresses of a packet on the interface.
NAT hairpin typically operates with NAT Server, outbound dynamic NAT, or outbound static NAT.
Examples
# Enable NAT hairpin on interface GigabitEthernet 1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/1
[Sysname-GigabitEthernet1/1] nat hairpin enable
Related commands
display nat all
nat inbound
Use nat inbound to configure an inbound dynamic NAT rule on an interface.
Use undo nat inbound to remove the specified inbound dynamic NAT rule.
Syntax
nat inbound acl-number address-group group-number [ vpn-instance vpn-instance-name ] [ no-pat
[ reversible ] [ add-route ] ]
undo nat inbound acl-number
Default
No inbound dynamic NAT rule is configured.
Views
Interface view
Predefined user roles
network-admin
Parameters
acl-number: Specifies an ACL number in the range of 2000 to 3999.