PLANET Technology Corp. |
admin# write
3.11.3 NAT/PAT
NAT can be used to share an Internet connection, to reduce the requirement for publicly assigned IP addresses, to expand an existing network without affecting existing IP based account schemes, and to hide an internal network schema from public networks.
It is often used in the situation where only one IP address could be assigned for the network, such as a PPP connection to an local ISP, e.g., when your local ISP uses protocols of “PPPoA” or “PPPoE” over the ATM VC, you get a dynamic public IP at the WAN port from your local ISP. All requests originating from the LAN (private network) have their source IP addresses replaced with the public IP address. Only one IP address is visible from the public network. To setup this
admin# setup lan 1 attrib Virtual
Also, make sure to delete all entries in the NAT/PAT IP pools by the following commands:
admin# setup ip_share nat virtual delete <1~5> admin# setup ip_share nat global delete <1~5> admin# setup ip_share nat fixed delete <1~128> admin# setup ip_share pat clear <1~10>
Note: The maximum number of hosts on the LAN (private network) is limited to be of 253 in dynamic NAT.
To save your changes, enter:
admin# write
In some cases, the number of externally visible IP addresses is greater than one and less than the host number being hidden behind