Static Nat444 Configuration Example - HPE FlexNetwork MSR Series Comware 7 Layer 3 - Ip Services Configuration Manuals

Table of Contents

Advertisement

Static NAT444 configuration example

Network requirements
As shown in
10.110.10.10 to use public IP address 202.38.1.100 for accessing the Internet. Configure the port
range as 10001 to 15000, and set the port block size to 500.
Figure 74 Network diagram
Configuration procedure
# Specify IP addresses for the interfaces on the router. (Details not shown.)
# Create NAT port block group 1.
<Router> system-view
[Router] nat port-block-group 1
# Add the private IP addresses from 10.110.10.1 to 10.110.10.10 to the port block group.
[Router-port-block-group-1] local-ip-address 10.110.10.1 10.110.10.10
# Add the public IP address 202.38.1.100 to the port block group.
[Router-port-block-group-1] global-ip-pool 202.38.1.100 202.38.1.100
# Set the port block size to 500.
[Router-port-block-group-1] block-size 500
# Configure the port range as 10001 to 15000.
[Router-port-block-group-1] port-range 10001 15000
[Router-port-block-group-1] quit
# Apply the port block group 1 to the outbound direction of GigabitEthernet 2/0/2.
[Router] interface gigabitethernet 2/0/2
[Router-GigabitEthernet2/0/2] nat outbound port-block-group 1
[Router-GigabitEthernet2/0/2] quit
Verifying the configuration
# Verify that users at the private IP addresses can access the Internet. (Details not shown.)
# Display all NAT configuration and statistics.
[Router] display nat all
NAT logging:
Log enable
Flow-begin
Flow-end
Flow-active
Port-block-assign
Port-block-withdraw : Disabled
Alarm
Figure
74, configure static NAT444 to allow users at private IP addresses 10.110.10.1 to
: Disabled
: Disabled
: Disabled
: Disabled
: Disabled
: Disabled
186

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FlexNetwork MSR Series and is the answer not in the manual?

Table of Contents