SROS Command Line Interface Reference Guide

PPP Interface Configuration Command Set

 

 

nat source list <access list names> address <IP address> overload

All packets passed by the access list(s) entered will be modified to replace the source IP address with the entered IP address. The overload keyword allows multiple source IP addresses to be replaced with the single IP address entered. This hides private IP addresses from outside the local network. This function is also known as “many-to-one NAT”.

nat source list <access list names> interface <interface> overload

All packets passed by the access list(s) entered will be modified to replace the source IP address with the primary IP address of the listed interface. The overload keyword allows multiple source IP addresses to be replaced with the single IP address of the specified interface. This hides private IP addresses from outside the local network. This function is also known as “many-to-one NAT”.

nat destination list <access list names> address <IP address>

All packets passed by the access list(s) entered will be modified to replace the destination IP address with the entered IP address. The overload keyword is not an option when performing NAT on the destination IP address; each private address must have a unique public address. This hides private IP addresses from outside the local network. This function is also known as “port forwarding”.

Step 4:

Apply the created access policy to an interface. To assign an access policy to an interface, enter the Interface Configuration Mode for the desired interface and enter access policy <policy name>. The following example assigns access policy MatchAll to the virtual PPP interface labeled 1:

(config)#interface ppp 1 (config-ppp 1)#access-policy MatchAll

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

719

Page 719
Image 719
HP 7000 dl Router manual Copyright 2005 Hewlett-Packard Development Company, L.P 719