nat64 server

Function

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.

Format

nat64 server global global-address [ vpn-instance vpn-instance-name ] inside host-address prefix-id prefix-id

undo nat64 server global global-address [ vpn-instance vpn-instance-name ] inside host-address prefix-id prefix-id

Parameters

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.

Views

NAT64 instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nat write

Usage Guidelines

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.

Example

# In the view of a NAT64 instance named nat1, set the internal server address to 2001:db8::1, prefix ID to 1, and public IPv4 address to 10.12.12.12.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >