nat64 address-group

Function

The nat64 address-group command creates a NAT64 address pool or enters the view of a specified NAT64 address pool.

The undo nat64 address-group command deletes a NAT64 address pool.

No NAT64 address pool is configured by default.

This command is supported only on the NetEngine 8000 F1A.

Format

nat64 address-group address-group-name group-id id [ no-pat | vpn-instance vpn-instance-name [ no-pat ] ]

nat64 address-group address-group-name group-id id start-address { mask { mask-length | address-mask } | end-address } [ vpn-instance vpn-instance-name ] [ no-pat ]

nat64 address-group address-group-name

undo nat64 address-group address-group-name [ group-id id [ vpn-instance vpn-instance-name ] [ no-pat ] ]

undo nat64 address-group address-group-name [ group-id id [ start-address { mask { mask-length | address-mask } | end-address } ] [ vpn-instance vpn-instance-name ] [ no-pat ] ]

Parameters

Parameter Description Value
address-group-name

Specifies an address pool name.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

group-id id

Specifies an address pool ID.

The value is an integer ranging from 0 to 127.

no-pat

Indicates the No-PAT translation mode.

-

vpn-instance vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

start-address

Specifies a start IP address in a public address pool.

The value is in dotted decimal notation.

mask mask-length

Specifies the mask length of public IP addresses.

The value is an integer ranging from 1 to 32.

address-mask

Specifies the mask of public IP addresses.

The value is in dotted decimal notation.

end-address

Specifies an end IP address in a public IP address pool.

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

An IPv4 address pool can be configured in a NAT64 instance. To allow an IPv6 user to access an IPv4 network through a NAT64 device, the device translates the source IPv6 address in user packets into an IPv4 address from the IPv4 address pool and forwards the user packets to the IPv4 network.

The address pool supports the PAT and No-PAT modes. By default, the PAT mode is used. In PAT mode, the IPv6 addresses of multiple users can be translated into one IPv4 address. In No-PAT mode, a single IPv4 address is assigned to each IPv6 user.

Follow-up Procedure

If you do not specify an address range for a NAT64 address pool created using the nat64 address-group command, run the section command in the NAT64 address pool view to configure an address range.

Example

# Create a NAT64 address pool named nat1 with ID 1 in a NAT64 instance named group1.
<HUAWEI> system-view
[~HUAWEI] nat64 instance nat1 id 1
[*HUAWEI-nat64-instance-nat1] nat64 address-group group1 group-id 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >