Copyright © 2006 – STM Norway AS
Publication no. 101557, Rev. T, November 3
th
, 2006
Page 65
15.1.3 Configuration of Static NAT
Static NAT provides two-way access to servers behind NAT. The destination IP address of the incoming
packet is replaced by the corresponding local address that is configured in the Static NAT Map Table.
Likewise, when the host device sends a packet towards the satellite network, the source IP address of the
outgoing IP packet is replaced by the global address configured in the Static NAT Map Table.
The Static NAT MAP Table is configured using the following CLI command:
ip nat static add <globaddr> <locaddr>
Entries in the Static NAT MAP Table are deleted using:
ip nat static del <globaddr> <locaddr>
To view entries in the NAT tables, use
ip nat show.
Example:
# ip nat static add 10.10.2.1 192.168.0.10
# ip nat show
NAT Configuration
-----------------
Network Address Port Translation (NAPT): Enabled
Global Address Table
If IP Address
dvb0 10.10.1.10
Static NAT Map
If Global Address Local Address
dvb0 10.10.2.1 192.168.0.10
Static NAPT Map
If Global Address/Port Local Address/Port
dvb0 10.10.2.2/5000 192.168.0.12/3000
NAT Status
----------
Total Sessions 0
Active Sessions 0
Failed Sessions 0
Packet Translations 0