Reference Manual

NAME

ipmap - specify an IP address mapping
SYNOPSIS
ipmap [ifn [on | off [addr]]]
ipmapa ifn
ipmapas ifn
ipmapb ifn | off
DESCRIPTION
Command ipmap maps the private IP network address specified by argument addr to the IP address of the NAT32 interface specified by argument ifn. If no addr argument is specified, the network address of the NAT32 Secondary interface is assumed. The interfaces are numbered as follows:
0 localhost
1..16 Network Interfaces
If no arguments are specified, the current IP map settings for all interfaces are printed.

Command ipmapa turns on IP mapping for the specified interface and also enables port mapping for that interface. Command ipmapas is a silent variant of ipmapa, producing no output.

Command ipmapb maps all incoming UDP traffic for unmapped port numbers to the same port number at the subnet broadcast address for the interface specified in argument ifn. NAT32 uses Ethernet broadcasting to propagate such packets on the network attached to the specified private interface.

IP mapping is used to map private IP addresses to the IP address used on some other interface (usually an Internet-connected interface). It is described in RFC 1631.

NOTES
The Secondary Interface is the main private interface and is specified using the sets command. If several private interfaces exist, they must all be configured to belong to the same subnet.
SEE ALSO
netcfg, ns, pmap, ppmap, sets, umap
Edit this page