PLANET Technology Corp. |
only possible when the number of hosts having concurrent requests to the external network is equal to or less than the number of external IP addresses on
admin# setup lan 1 attrib Virtual
admin# setup ip_share nat global interface 3 1 admin# setup ip_share nat global range 3 69.210.1.2 6 admin# setup ip_share nat virtual range 3 192.168.0.2 24
To show the configuration, use the list command:
admin# setup ip_share nat global list
admin# setup ip_share nat virtual list
Note: The IP translation only works between global and virtual IP pools with the same range number. Totally there are
5 NAT global and 5 NAT virtual IP pools for this purpose.
To save your changes, enter:
admin# write
In the above example, it might happen that packets from some hosts will be dropped when the number of hosts having concurrent requests to the external network is greater than the number of external IP addresses. If it is necessary to guarantee that some hosts (e.g., 192.168.0.31~192.168.0.33) can access Internet at any time, you can use the fixed IP address mapping pool with extra external IP addresses 69.210.1.8~69.210.1.10, also given from ISP via WAN 1:
admin# setup lan 1 attrib Virtual
admin# setup ip_share nat fixed interface 1 1
admin# setup ip_share nat fixed modify 1 192.168.0.31 69.210.1.8 admin# setup ip_share nat fixed interface 2 1
admin# setup ip_share nat fixed modify 2 192.168.0.32 69.210.1.9 admin# setup ip_share nat fixed interface 3 1
admin# setup ip_share nat fixed modify 3 192.168.0.33 69.210.1.10