ip nat4

Enables or disables IPv4 Network Address Translation (NAT) on an interface.

Syntax

[no] ip nat4 off|on

Syntax Description

Keyword
Description

no

(Optional) This is the same as ip nat4 off.

off

Disables IPv4 NAT on the interface.

on

Enables IPv4 NAT on the interface.

Defaults

IPv4 Network Address Transnation is enabled on WAN interfaces and disabled on LAN interfaces by default.

Usage Guidelines

When Network Address Translation (NAT) is enabled on an interface, the source IP address of transmitted packets is changed to the Island's IP address assigned to the interface. Depending on the protocol involved, the source port number, as well as address information embeded in the payload, may be modified as well.

Island maintains a list of active NAT translations so that received packets can be routed back to the proper internal client.

NAT is typically used to map private IP addresses on a LAN to a public IP address on the WAN.

This command is valid only in interface context. Entering it will set the interface mode to manual.

Examples

ip nat4 on
interfaceip nat6

Last updated