Advanced Configuration and Management Guide
The following command saves all the configuration changes above to the routing switch’s
HP 9304M or HP 9308M(config)# write memory
Private NAT Clients Connected Directly to the routing switch
Figure 11.3 shows an example of a NAT configuration in which the NAT clients on the private network are directly connected to the routing switch. The configuration commands are similar to those for the configuration in “Private NAT Clients Connected to the routing switch by a switch” on page
Since all the clients are in the same
The virtual interface is required because you cannot configure IP addresses in the same
You can use a virtual interface for routing only when you add the interface to a
Internet
| Internet |
| access router |
| 63.251.295.1/26 |
Outside NAT interface | 1/1 |
Virtual interface 15 | 8/1 |
63.251.295.46/26 | 8/9 |
| |
| 8/16 |
Inside NAT interface | 8/24 |
| |
Virtual interface 10 |
|
10.10.10.50/26 |
|
Figure 11.3 NAT clients connected directly to the routing switch
The device performs NAT
for traffic between the outside NAT interface and the inside NAT interface.
NAT Pool = 63.251.295.47/26 - 63.251.295.48/26
10.10.10.2
10.10.10.3
10.10.10.4
10.10.10.5
Here are the CLI commands for implementing the NAT configuration shown in Figure 11.3. These commands configure the following:
•
•
•An Access Control List (ACL) for the range of private address in the private network on virtual interface 10
11 - 16