### About SNA Line Addressing

#### Introduction

For SNA over Frame Relay, DataFire SYNC 2000 for UnixWare 7 associates the IBM eNetwork Communications package Token Ring card MAC address with Frame Relay's tupple, which comprises the Protocol ID, DLCI number, and Subnet ID. Using the lssnadev tool located in /opt/sna/bin, the following associations can be made:

#### Example:

`#` `lssnadev`

Card_Type | Adapter Number | Line Address | MAC Address
TOKEN_RING | 0 | 444947490041 | 000500100041
TOKEN_RING | 1 | 444947490042 | 000500100042
TOKEN_RING | 2 | 444947490043 | 000500100043
TOKEN_RING | 3 | 444947490044 | 000500100044
TOKEN_RING | 4 | 444947490145 | 000500100145
TOKEN_RING | 5 | 444947490146 | 000500100146

#### Adapter Number

In the previous table, adapter number refers to the number assigned to the line on the SYNC 2000 adapter. IBM software sees each line as a distinct adapter.

#### Line Address

The address for a line can be broken down as follows:

44494749NNSS

where:

- 44494749 is a hexadecimal representation of the letters 'DIGI'.

- NN is the board number in hexadecimal format.

- SS is the Subnet ID in hexadecimal format.

The board and Subnet ID numbers can be found by viewing the file
/opt/snet/etc/syncconf.

In the previous example, IBM adapter 4 is associated with Digi adapter 1, Subnet ID `E', protocol id 5 (TOKEN_RING), and DLCI 16.

#### MAC Address

The MAC address can be broken down as follows:

PPPPDDDDSS

where:

- PPPP is the protocol ID. Current values are 0005 for PID_TOKEN_RING and 0001 for PID_ETHERNET.

- DDDD is the DLCI number in hexadecimal format. This valid range for this number is 16 to 991.

- NN is the board number in hexadecimal format.

- SS is the Subnet ID in hexadecimal format.

The board and Subnet ID numbers can be found by viewing the file
/opt/snet/etc/syncconf.