Skip to main content

2. Specification

SNMP packets will always set the Packet Type field in the IPX header to 4 (i.e., Packet Exchange Packet).

2.1. Socket Assignments​

SNMP protocol entities will receive GetRequest-PDU, GetNextRequest-PDU, and SetRequest-PDU messages on socket 36879 (Destination Socket field set to hexadecimal 900F), and Trap-PDU messages on socket 36880 (Destination Socket field set to hexadecimal 9010).

GetResponse-PDU messages will be addressed to the IPX address and socket from which the corresponding GetRequest-PDU, GetNextRequest-PDU, or SetRequest-PDU originated.

2.2. Maximum Packet Length​

Although SNMP does not require conformant implementations to accept messages whose length exceed 484 bytes, it is recommended that implementations support a maximum SNMP message size of 546 bytes (the maximum size allowed under IPX). Furthermore, this limit is the maximum packet length guaranteed to traverse IPX routers which do not provide fragmentation. Implementors may choose to use longer packet lengths if the maximum is known, which depends on the intermediate routers and/or intermediate datalink layer protocols.

2.3. The agent-addr Field for the Trap-PDU​

The agent-addr field in a Trap-PDU emitted by an SNMP agent should contain the IpAddress 0.0.0.0. An SNMP manager may ascertain the source of the trap by querying the transport layer.

2.4. IPX Transport Address Representation​

There are occasions when it is necessary to represent a transport service address in a MIB. For instance, the SNMP party MIB [6] uses an OBJECT IDENTIFIER to define the transport domain (IP, IPX, etc.) and an OCTET STRING to represent an address within that domain. The following definitions are provided for use in such a scheme.

RFC1298-MIB DEFINITIONS ::= BEGIN

IMPORTS
enterprises FROM RFC1155-SMI;

novell OBJECT IDENTIFIER ::= { enterprises 23 }
transportDomains OBJECT IDENTIFIER ::= { novell 7 }

ipxTransportDomain OBJECT IDENTIFIER ::= { transportDomains 1 }

-- Authoritatively names the IPX Transport Domain

IpxTransportAddress ::= OCTET STRING (SIZE (12))

-- A textual convention denoting a transport service address in
-- the ipxTransportDomain. An IpxTransportAddress is 12 octets
-- long and comprises 3 fields, each in network-byte (high-low)
-- order.

-- The first field is 4 octets long and contains the network
-- number.

-- The next field is 6 octets long and contains the physical
-- address of the node. Since IPX can run over a variety of
-- subnet architectures, the physical node address may not
-- require all 6 octets. As specified in [2], the physical
-- node address will occupy the least significant portion of
-- the field and the most significant octets should be set
-- to zero.

-- The last field is 2 octets long and contains the socket
-- number.

END