HPE FlexNetwork HSR6800 Configuration Manual page 290

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Figure 87 Network diagram
Configuration procedure
# Configure IP addresses for the interfaces on Router A and make sure that Router A can reach the
public network. (Details not shown.)
# Configure an NAT internal server on interface Serial 2/2/0, and specify 2.1.1.100/16 (on the same
network segment as the IP address of Serial 2/2/0 on Router A) as the public address of the HTTP
server 192.168.1.2/24.
<RouterA> system-view
[RouterA] interface serial 2/2/0
[RouterA-Serial2/2/0] nat server protocol tcp global 2.1.1.100 www inside 192.168.1.2 www
[RouterA-Serial2/2/0] quit
# Configure an NAT internal server on interface Serial 2/2/1, and specify 2.2.1.100/16 (on the same
network segment as the IP address of Serial 2/2/1 on Router A) as the public address of the HTTP
server 192.168.1.2/24.
[RouterA] interface serial 2/2/1
[RouterA-Serial2/2/1] nat server protocol tcp global 2.2.1.100 www inside 192.168.1.2 www
[RouterA-Serial2/2/1] quit
# Configure Node 10 for policy test to forward packets matching the reverse input interface Serial
2/2/0 to the next hop 2.1.1.2/16.
[RouterA] policy-based-route test permit node 10
[RouterA-pbr-test-10] if-match reverse-input-interface serial 2/2/0
[RouterA-pbr-test-10] apply ip-address next-hop 2.1.1.2
[RouterA-pbr-test-10] quit
# Apply policy test to GigabitEthernet 2/1/1 on Router A.
[RouterA] interface GigabitEthernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ip policy-based-route test
278

Advertisement

Table of Contents
loading

Table of Contents