HPE FlexNetwork HSR6800 Configuration Manual page 156

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

[Router-address-group-2] address 202.38.1.3 202.38.1.3
[Router-address-group-2] quit
# Enable inbound NO-PAT on interface GigabitEthernet 2/1/2 to translate the source IP address in
the DNS reply payload into the address in address group 1, and allow reversible NAT.
[Router] interface gigabitethernet 2/1/2
[Router-GigabitEthernet2/1/2] nat inbound 2000 address-group 1 no-pat reversible
# Enable outbound PAT on interface GigabitEthernet 2/1/2 to translate the source address of
outgoing packets into the address in address group 2.
[Router-GigabitEthernet2/1/2] nat outbound 2000 address-group 2
[Router-GigabitEthernet2/1/2] quit
# Configure a static route to 202.38.1.2 with GigabitEthernet 2/1/2 as the output interface and
20.2.2.2 as the next hop. (The next hop address varies by network.)
[Router] ip route-static 202.38.1.2 32 gigabitethernet 2/1/2 20.2.2.2
Verifying the configuration
# Verify that Host A can access the Web server by using its domain name. (Details not shown.)
# Display all NAT configuration and statistics.
[Router] display nat all
NAT address group information:
Totally 2 NAT address groups.
Address group 1:
Port range: 1-65535
Address information:
Start address
202.38.1.2
Address group 2:
Port range: 1-65535
Address information:
Start address
202.38.1.3
NAT inbound information:
Totally 1 NAT inbound rules.
Interface: GigabitEthernet2/1/2
ACL: 2000
Address group ID: 1
Add route: N
Config status: Active
NAT outbound information:
Totally 1 NAT outbound rules.
Interface: GigabitEthernet2/1/2
ACL: 2000
Address group ID: 2
Port-preserved: N
Config status: Active
End address
202.38.1.2
End address
202.38.1.3
NO-PAT: Y
NO-PAT: N
Reversible: N
143
Reversible: Y

Advertisement

Table of Contents
loading

Table of Contents