>> MIB - Management Information Base

>> Table: ipNatPresetTable - (.1.3.6.1.4.1.272.4.5.6.1)

ipNatPresetTable
OIDNameTypeAccess
.1IfIndexINTEGERRW
.2ProtocolENUMD
.3RemoteAddrIpAddressRW
.4RemoteMaskIpAddressRW
.5ExtAddrIpAddressRW
.6ExtMaskIpAddressRW
.7ExtPortINTEGERRW
.8ExtPortRangeINTEGERRW
.9IntAddrIpAddressRW
.10IntPortINTEGERRW
.11IntMaskIpAddressRW
.12TimeoutINTEGERRW

IfIndex
This object specifies the interface index, for which the

table entry shall be valid. If set to 0, the entry will

be valid for all interfaces configured to use NAT.
Protocol
This object specifies the protocol, for which the table

entry shall be valid.
Enumerations:
  • icmp (1)
  • tcp (6)
  • udp (17)
  • ipv6 (41)
  • gre (47)
  • esp (50)
  • ah (51)
  • ospf (89)
  • ipinip (94)
  • l2tp (115)
  • any (255)
  • delete (256)
RemoteAddr
This object specifies together with ipNatPrRemoteMask the

the set of IP addresses of remote hosts initiating the

connection. The table entry will be valid for an incoming

call, when the IP adress of the remote host initiating 

the connection lies in the range specified by both objects.

If both objects are set to 0.0.0.0, the table entry will

be valid for any remote host.
RemoteMask
This object specifies together with ipNatPrRemoteAddr the

the set of IP addresses of remote hosts initiating the

connection. The table entry will be valid for an incoming

call, when the IP adress of the remote host initiating 

the connection lies in the range specified by both objects.

If both objects are set to 0.0.0.0, the table entry will

be valid for any remote host.
ExtAddr
This object specifies together with ipNatPrExtMask the

the set of called IP addresses, for which the table entry

shall be valid. The entry is valid, if the called IP address

of an incoming calls setup packet lies in the range specified

by both objects.

If both objects are set to 0.0.0.0, the table entry will

be valid for any called IP address.
ExtMask
This object specifies together with ipNatPrExtAddr the

the set of called IP addresses, for which the table entry

shall be valid. The entry is valid, if the called IP address

of an incoming calls setup packet lies in the range specified

by both objects.

If both objects are set to 0.0.0.0, the table entry will

be valid for any called IP address.
ExtPort
This object specifies together with ipNatPrExtPortRange the

range of portnumbers for incoming call, for which the table

entry shall be valid. If both objects are set to -1, the

entry is valid for all portnumbers. If ipNatPrPortRange

is set to -1, the entry is only valid, when the called

portnumber of an incoming call is equal to ipNatPrExtPort.

Otherwise, the entry is valid, if the called portnumber

lies in the range ExtPort .. ExtPortRange.
ExtPortRange
This object specifies together with ipNatPrExtPort the

range of portnumbers for incoming call, for which the table

entry shall be valid. If both objects are set to -1, the

entry is valid for all portnumbers. If ipNatPrPortRange

is set to -1, the entry is only valid, when the called

portnumber of an incoming call is equal to ipNatPrExtPort.

Otherwise, the entry is valid, if the called portnumber

lies in the range ExtPort .. ExtPortRange.
IntAddr
With ipNatPrIntMask, this object specifies the internal target

hosts IP address for incoming calls matching the table entry.

An incoming call matching this entry will be routed to the

internal server specified by this object and ipNatPrIntMask.

If this object is set to 0.0.0.0, the target host will be

the original target host in the incoming calls setup

packet. No translation of the IP-addresses take place

in this case.

If ipNatPrIntMask is set to 255.255.255.255, the internal 

server IP address is ipNatPrIntAddr.

If ipNatPrIntMask is a subnet mask, the internal server 

IP address is the incoming one in which the NET part is mapped

according to 'ipNatPrIntAddr / ipNatPrIntMask'.
IntPort
This object specifies the internal target hosts port-number

for incoming calls matching the table entry. If this

object is set to -1, the target portnumber will be

taken from the original incoming calls setup packet.

No translation of the portnumber will take place in this

case. If the set of portnumbers for this table entry is

a range instead of a single portnumber, this object will

specify the base of the target range of portnumbers. The

internal portnumber will be constructed as follows:

new-target-port := old-target-port

- ipNatPrExtPort

+ ipNatPrIntPort

IntMask
With ipNatPrIntAddr, this object specifies the internal target

hosts IP address for incoming calls matching the table entry.

An incoming call matching this entry will be routed to the

internal server specified by this object and ipNatPrIntMask.

If this object is set to 255.255.255.255, the internal 

server IP address is ipNatPrIntAddr.

If this object is a subnet mask, the internal server 

IP address is the incoming one in which the NET part is mapped

according to 'ipNatPrIntAddr / ipNatPrIntMask'.
Timeout
When there is no traffic associated with a NAT entry, this 

entry is discarded at the end of a timeout value. This object 

holds this timeout value in seconds. If set to the default 

value of 0, the timeout will be set to the value specified 

either in ipExtIfNatTcpTimeout or ipExtIfNatOtherTimeout, 

depending on the protocol.


Copyright ©2003 by BinTec Access Networks GmbH