2.2.1 Replication Partner AutoDiscovery Message

NBNS Replication Partner AutoDiscovery Message is used to announce that a NBNS server is running and functional, or to announce that a NBNS server is shutting down. The following diagram shows the NBNS Replication Partner AutoDiscovery Message.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

SigId

OpCode

NBNS IPv4 Address (variable)

...

SigId (4 bytes):  An unsigned 32-bit integer indicating that this message is a NBNS Replication Partner AutoDiscovery Message. It is in little-endian byte order. The valid range is 0x0000ABCD to 0x0000ABCF inclusive. A packet with SigId outside this range MUST be discarded upon receipt. When sending a packet, only 0x0000ABCD MUST be used. Other values are reserved.

OpCode (4 bytes):  An unsigned 32-bit integer. It is in little-endian byte order.

The following are the possible values for the OpCode:

Value

Meaning

0x00000000

NBNS server MUST announce that it is present and functional using this OpCode.

0x00000001

NBNS server MUST announce that it is shutting down using this OpCode.

Other OpCodes MUST be treated as 0x00000001 upon receipt.

NBNS IPv4 Address (variable): These fields are a list of all the IPv4 addresses configured on the NBNS server in big-endian byte order. If any IPv4 address is 0.0.0.0, this IPv4 address and all the IPv4 addresses after it MUST be ignored.<3>