The nat address-group unnumbered interface command configures the multiplexing relationship between address pools and interface addresses in a simplified NAT instance.
The undo nat address-group unnumbered interface command deletes the multiplexing relationship between address pools and interface addresses in a simplified NAT instance.
By default, no multiplexing relationship between address pools and interface addresses is configured in a simplified NAT instance.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
address-group-name |
Specifies the name of an IP address pool. |
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. |
unnumbered |
Borrow the address of an interface. |
- |
interface interface-name |
Specifies the name of an interface. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
interface-type |
Specifies the type of an interface. |
- |
interface-number |
Specifies the number of an interface. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. |
Usage Scenario
On an enterprise network, an interface address must be different from that in a NAT address pool. As public IP addresses are limited, enterprise users have to expand the number of public IP addresses. The NAT address pool can be configured to reuse interface addresses to help the enterprise users to lower the cost in applying for public IP addresses.
In easy IP mode, to configure the multiplexing relationship between address pools and interface addresses in a simplified NAT instance, run the nat address-group unnumbered interface command.Precautions
<HUAWEI> system-view [~HUAWEI] nat instance nat1 id 1 [*HUAWEI-nat-instance-nat1] commit [~HUAWEI-nat-instance-nat1] quit [~HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] ip address 1.1.1.1 255.255.255.0 [*HUAWEI-GigabitEthernet0/1/1] quit [~HUAWEI] nat address-group group1 group-id 1 unnumbered interface GigabitEthernet 0/1/1