The nat64 server global command specifies an internal server address in a NAT64 instance.
The undo nat64 server global command deletes an internal server address from a NAT64 instance.
By default, no internal server address is configured in a NAT64 instance.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name |
Specifies a VPN instance name. |
The value is a string of 1 to 31 case-sensitive characters. The VPN instance name cannot be _public_. The string can contain spaces only if it is enclosed with double quotation marks ("). |
inside host-address |
Specifies the IPv6 address of an internal server. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
prefix-id prefix-id |
Specifies an IPv6 prefix. |
The value is an integer ranging from 1 to 16. |
global global-address |
Specifies the IPv4 address of an internal server. |
The value is in dotted decimal notation. |
Usage Scenario
NAT64 converts IPv6 addresses into IPv4 addresses and shields the internal network, including hosts on the internal network. If a device on an external network needs to access an internal host, for example, a web server, you can configure the mapping between external IPv4 addresses and the pairs of internal IPv6 addresses and prefixes to implement reverse translation from IPv4 addresses to IPv6 addresses.
Precautions
Before configuring a NAT64 internal server, configure a NAT64 prefix.
The global-address must be different from an existing IP address assigned to a device or its interface, preventing IP address conflicts.<HUAWEI> system-view [~HUAWEI] nat64 instance nat1 id 1 [~HUAWEI-nat64-instance-nat1] nat64 prefix 64:FF9B:: prefix-length 96 1 [~HUAWEI-nat64-instance-nat1] nat64 server global 10.12.12.12 inside 2001:db8::1 prefix-id 1