HP OpenVMS Systems Documentation

Content starts here

OpenVMS I/O User's Reference Manual


Previous Contents Index

9.9.2 Ethernet Address Classifications

An Ethernet address can be a physical address of a single node or amulticast address, depending on the value of the low-order bit of thefirst byte of the address (this bit is transmitted first). Followingare the two types of node addresses:

  • Physical address---The unique address of a single node on a LAN. The least significant bit of the first byte of a physical address is 0. (For example, in physical address AA-00-03-00-FC-00, byte AA in binary is 1010 1010, and the value of the low-order bit is 0.)
  • Multicast address---A multidestination address of one or more nodes on a given LAN. The least significant bit of the first byte of a multicast address is 1. (For example, in the multicast address 0B-22-22-22-22-22, byte 0B in binary is 0000 1011, and the value of the low-order bit is 1. This is the first bit of the address as transmitted over the wire.)

Contrary to the Ethernet specification and the IEEE 802.3 Standard, thebroadcast address (FF-FF-FF-FF-FF-FF) must be enabled as a multicastaddress in order to receive messages addressed to it.

9.9.3 Selecting an Ethernet Physical Address

The OpenVMS interface to the LAN controllers allows you to set aphysical address of the controller. The selection of the physicaladdress of a LAN controller is different for CSMA/CD (Ethernet and802.3) and FDDI.

For CSMA/CD, all users of the controller must agree on this address. The first user of the controller chooses the physical address; any additional users of the controller must specify either the same physical address, no physical address, or change the address (if allowed). When all channels to the controller are shut down, the next user to start a channel chooses the physical address. The controller's physical address is always chosen on the first successful startup when there are no active ports. If the address is not chosen at this time, the controller's hardware address is used as the physical address.

For CSMA/CD, the Can Change Address parameter allows the physicaladdress to be changed even though there are active users. If allcurrent users of the controller have set the NMA$C_PCLI_CCA parameterto NMA$C_STATE_ON, then the physical address can be changed.

For FDDI, each port using a controller may specify its own uniquephysical address. Any combination of sharing of physical addresses isalso allowed across the ports of an FDDI controller. For example, portsA, B, and C may use one unique physical address and ports D and E mayuse another unique address.

9.9.4 Ethernet Physical and Multicast Address Values

The following are multicast addresses assigned for use in cross-companycommunications:

Value Meaning
FF-FF-FF-FF-FF-FF Broadcast
CF-00-00-00-00-00 Loopback assistance

The following are commonly used multicast addresses:

Value Meaning
AB-00-00-01-00-00 Dump/load assistance
AB-00-00-02-00-00 Remote console
AB-00-00-03-00-00 Level 1 and Level 2 routers
AB-00-00-04-00-00 All end nodes
09-00-2B-02-00-00 Level 2 routers
AB-00-00-05-00-00
through
AB-00-03-FF-FF-FF
Reserved for future use
AB-00-03-00-00-00 LAT
AB-00-04-00-00-00
through
AB-00-04-00-FF-FF
For use by Compaq customers for their own applications
AB-00-04-01-00-00
through
AB-00-04-01-FF-FF
Local area VMScluster
AB-00-04-02-00-00
through
AB-00-04-FF-FF-FF
Reserved for future use
09-00-2B-01-00-00 Bridge management
09-00-2B-01-00-01 Bridge hello multicast

9.9.5 Token Ring Functional Address Mapping

Except for the global broadcast address (FF-FF-FF-FF-FF-FF), Token Ringhardware does not support the 802 standard group LAN address mechanism.Instead, it uses functional addresses. Thesefunctional addresses are locally administered group addresses(multicast addresses). The first two bytes of the address are always03-00 (canonical format), and the remaining four bytes contain a bitmask that specifies which of the 32 possible combination masks is beingdescribed.

Because most OpenVMS LAN applications use standard multicast addresses,a mechanism has been designed to map functional addresses to globallyand locally administered multicast addresses. This allows applicationsto use the same multicast addresses that are used in the other LANmedia.

Table 9-6 shows the default mapping used by the OpenVMS Alpha TokenRing drivers:

Table 9-6 Address Mappings of Token Ring Drivers
Multicast Address Functional Address Bit-Reversed Description
09-00-2B-00-00-04 03-00-00-00-02-00 C0:00:00:00:40:00 ISO 9542 All End-system Network Entites
09-00-2B-00-00-05 03-00-00-00-01-00 C0:00:00:00:80:00 ISO 9542 All Intermediate System Network Entities
CF-00-00-00-00-00 03-00-00-08-00-00 C0:00:00:10:00:00 Loopback Assistance
AB-00-00-01-00-00 03-00-02-00-00-00 C0:00:40:00:00:00 MOP Dump/Load
AB-00-00-02-00-00 03-00-04-00-00-00 C0:00:20:00:00:00 MOP Remote Console
AB-00-00-03-00-00 03-00-08-00-00-00 C0:00:10:00:00:00 DNA L1 Routers
09-00-2B-02-00-00 03-00-08-00-00-00 C0:00:10:00:00:00 DNA L2 Routers
09-00-2B-02-01-0A 03-00-08-00-00-00 C0:00:10:00:00:00 DECnet Phase IV---TRN---All Phase IV---TRN Routers
AB-00-00-04-00-00 03-00-10-00-00-00 C0:00:08:00:00:00 DNA End nodes
09-00-2B-02-01-0B 03-00-10-00-00-00 C0:00:08:00:00:00 Phase IV Prime Unknown
09-00-2B-00-00-07 03-00-20-00-00-00 C0:00:04:00:00:00 PCSA NETBIOS Emulatn
09-00-2B-00-00-0F 03-00-40-00-00-00 C0:00:02:00:00:00 Local Area Transport (LAT)
09-00-2B-02-01-04 03-00-80-00-00-00 C0:00:01:00:00:00 LAT Directory Service Solicit (to slave)
09-00-2B-02-01-07 03-00-00-02-00-00 C0:00:00:40:00:00 LAT Directory Service Solicit---X Service Class
09-00-2B-04-00-00 03-00-00-04-00-00 C0:00:00:20:00:00 LAST
09-00-2B-02-01-00 03-00-00-00-08-00 C0:00:00:00:10:00 DNA Naming Service Advertisement
09-00-2B-02-01-01 03-00-00-00-10-00 C0:00:00:00:08:00 DNA Naming Service Solicitation
09-00-2B-02-01-02 03-00-00-00-20-00 C0:00:00:00:04:00 DNA Time Service
03-00-00-00-00-01 03-00-00-00-00-01 C0:00:00:00:00:80 NETBUI Emulation

If an application needs to change or add mappings, QIOs exist forperforming such operations. If the system or network manager has arequirement regarding mapping of the functional addresses, the LANcontrol program (LANCP) utility may be used to manage the mapping. Thefollowing example maps the multicast address AB-01-01-01-02-03 tofunctional address 03-00-00-01-00-00 on Token Ring device ICA0:.


$MCR LANCPLANCP>SET DEVICE/MAP= -_LANCP>(MULTICAST=AB-01-01-01-02-03,-_LANCP>FUNCTIONAL=00-01-00-00) ICA0:

Note that it is possible for more than one multicast address to map tothe same functional address. In all cases, the use of the functionaladdress is associated with an individual application's protocol.

9.10 Configuring ISA Devices (Alpha Only)

On Alpha systems, the way to configure an ISA LAN device is to type'isacfg' at the console prompt (>>>). For complete informationon using 'isacfg' from your console prompt, refer to the hardwaredocumentation associated with your system for more information.

To help with your configuration, become familiar with the conceptslisted in Table 9-7. Refer to your LAN hardware documentation forconfiguring information on how to set the jumper settings for thosefeatures in Table 9-7.

Table 9-7 ISA Configuration Definitions
Concept Explanation
ISA Slot Number Also called node. The ISA slot number of the device. Writing OpenVMS Alpha Device Drivers in C describes how to number ISA slots.
IRQ Interrupt request line. Used to establish the interrupt level. Boards support IRQs between 1 and 15. Since OpenVMS does not support shared IRQs, every ISA device must have its own IRQ value reserved for it by the console ISACFG utility.
Port Address I/O base control status registers (CSR) address. Boards usually have I/O addresses associated with their CSR locations. These locations must not be used by any other device on the system.
Memory Address Also called shared memory. This address range is used to share memory resident on the adapter card between the host CPU and the LAN device on the adapter card. If the device uses shared memory, the I/O addresses for accessing this memory must be reserved. These locations must not be used by any other device on the system.
DMA Channel If the device performs direct memory access (DMA), either slave or bus mastering, a DMA channel is required. Channels are numbered 1 through 7, but channel 4 is always reserved for the system. Refer to your adapter documentation for DMA channels supported by the device.

9.10.1 OpenVMS LAN Devices Requiring Configuration

The DE203, DE204, and DE205 Ethernet and DW110 Token Ring devicesrequire configuration using isacfg. The following informationand examples show how this is done.

9.10.1.1 DE203 Ethernet

The DE203 is a shared memory Ethernet device. Example 9-1 shows howto configure the OpenVMS software to use the DE203. The followingexample illustrates a configuration of:

  • Slot 1
  • IO Base at %x300
  • IRQ 5
  • Shared memory at %xd0000 with length of %x10000

Example 9-1 Using the 'isacfg' at Console Prompt with the DE203

>>> isacfg -slot 1 -etyp 1 -ena 1 -irq0 5 -iobase0 %x300           -membase0 %xd0000 -memlen0 %x1000 -handle "DE20" -mk

The command ("-mk") makes an isacfg entry for an ISA device at slot 1.It is a Single port type of device (-etyp 1). The -handle parametertells the operating system what type of device it is.

Note

The DE204 and DE205 are variants of the same adapter and are configuredin the same way as the DE203.

9.10.1.2 DW110 Token Ring

The DW110 is a bus mastering DMA device on the ISA bus. In addition tosetting up the ISA I/O parameters, you may configure ring speed (4 or16 Mbits) and media (UTP or STP). By using LANCP you can also configurering speed and media during system startup. Example 9-2 shows how toconfigure the OpenVMS software to use the DW110. The following exampleillustrates a configuration of:

  • Slot 4
  • IRQ 10
  • DMA channel 7
  • Base %x4e20
  • Shielded Twisted Pair (STP)
  • Ring speed of 16

Example 9-2 Using the 'isacfg' at Console Prompt with the DW110

>>> isacfg -slot 4 -etyp 1 -ena 1 -irq0 %xa -dmachan0 7           -iobase0 %x4e20 -handle "DW11,STP,16" -mk

The command ("-mk") makes an isacfg entry for an ISA device at slot 4.It is a Single port type of device (-etyp 1). The -handle parametertells the operating system that this is a DW110, that STP media is tobe used, and the ring speed is 16.

9.11 Configuring the Ethernet Media Type from the Console (Alpha Only)

On Alpha systems prior to OpenVMS Version 7.1, the SYS$EWDRIVER LAN device driver autosensed the media connection: BNC, AUI, or Twisted Pair. LAN adapters supported by this driver include the DE435, DE450, DE500, and Tulip integral Ethernet device. Their device name under OpenVMS is EWx0, where x is the controller letter.

With OpenVMS Version 7.1, this driver uses the setting of a console environment variable to select the proper media connection. For each EW device recognized by the console there is a console environment variable called EWx0_MODE, where x is the controller letter (e.g. A, B, C). The console environment variable is set with the command:


>>>SET EWx0_MODE media_selection

In the previous command, the media_selection is one of the following:

Twisted-Pair
Full Duplex, Twisted-Pair
AUI
BNC
Fast
FastFD (Full Duplex)
Auto-Negotiate

During the OpenVMS device configuration a message is sent to the operator's console that shows which media was set by the console and handed to the device driver. For example, if the EWA0_MODE console environment variable was set to Fast the following message would be broadcast at the console:


  %EWA0, Fast(100baseT) mode set by console

If a console environment variable has been set with an unsupported media type for the corresponding device, then the driver attempts to autosense or auto negotiate the media type. Auto negotiation is supported by the DE500-AA.

An Alpha system console may assign a controller letter to an adapter differently from OpenVMS. In this case, the letter designation in the message broadcast to the console by the driver may not agree with the console setting.

9.12 Frame Formats

Several different LAN physical layer protocols are supported by OpenVMSwith some differences in frame formats. The following sections describethe similarities and differences in these frame formats. Despitedifferences, the QIO interface to the LAN drivers is designed to allowapplications to run over the different media with few changes to theapplication.

The frame formats available in the LAN media are shown in Figure 9-3.

Figure 9-3 LAN Frame Formats


Note that CSMA/CD provides two frame formats and the FDDI provides oneframe format. The 802.1 header is an optional extension to the 802.2header.

9.12.1 CSMA/CD Frames

There are two headers for CSMA/CD frames.

  • Ethernet header
  • IEEE 802.3 header

Figure 9-4 illustrates a CSMA/CD frame with an Ethernet header.

Figure 9-4 CSMA/CD Frame with Ethernet Header


The Ethernet header consists of the DA, SA, and PTY fields. Ethernetframes must be at least 64 bytes in length, which means that theminimum data length is 46 bytes. Applications select Ethernet format byspecifying NMA$C_LINFM_ETH (the default) as the value forNMA$C_PCLI_FMT in their P2 characteristics buffer. If the amount ofactual data to be transmitted is less than 46 bytes, the CSMA/CDdrivers transmit extra bytes of zero after the application data.

Figure 9-5 illustrates a CSMA/CD frame with an IEEE 802.3 header.

Figure 9-5 CSMA/CD Frame with IEEE 802.3 Header


The IEEE 802.3 format is similar to the Ethernet format, except the PTYfield is replaced by the LEN field.

9.12.2 FDDI Frames

Figure 9-6 illustrates the format of FDDI frames.

Figure 9-6 FDDI Frame Format


The FDDI header consists of the FC, DA, and SA fields.

9.12.3 Token Ring Frames (Alpha Only)

Figure 9-7 illustrates the format of Token Ring frames.

Figure 9-7 Token Ring Frame Format (Alpha Only)


9.12.4 ATM ELAN Frames (Alpha Only)

Figure 9-8 illustrates the format of LAN emulation data frame formatfor the IEEE 802.3 and Ethernet Header.

Figure 9-8 LAN Emulation Data Frame Format with IEEE802.3/Ethernet Header


9.12.5 802.2/802.1 Headers

The 802.2 header follows the 802.3 header in a CSMA/CD frame andfollows the FDDI header in an FDDI frame.

The 802.2 header is illustrated in Figure 9-9.

Figure 9-9 802.2 Header


This 802.2 header is followed by the 802.1 header illustrated inFigure 9-10 if the DSAP field is the SNAP SAP (AA hex), the SSAPfield is the SNAP SAP, and the CTL field is UI (03 hex).

Figure 9-10 802.1 Header


The PID field consists of two subfields: the company portion of the PIDand the implementation-specific portion of the PID (see Figure 9-11).

Figure 9-11 802.1 Header Subfields


9.12.6 Token Ring Source Routing Header (Alpha Only)

Figure 9-12 details the field of the source routing header.

Figure 9-12 Source Routing Field (Alpha Only)


The routing control (RC) contains the information about how the packetis to be routed.

The Sn contains the segment identifier for the hop. Each segmentidentifier contains a ring number and bridge number used in the hop.

9.13 Format Parameter

Each port (or user) of a LAN controller either specifies a value forthe format characteristic of the port or assumes the default. Theformat characteristic has three valid values: Ethernet, 802, and 802E.This section describes the actual frame formats for each medium foreach format parameter value.

For a format parameter value of NMA$C_LIMFM_ETH (the default), theframe formats are shown in Figure 9-13. Note that a name given to theFDDI frame with the Ethernet format is a mapped Ethernet frame.

Figure 9-13 Frames with Ethernet Format


For a format parameter value of NMA$C_PCLI_802, the frame formats areshown in Figure 9-14.

Figure 9-14 Frames with 802 Format


For a format parameter value of NMA$C_PCLI_802E, the frame formats areshown in Figure 9-15.

Figure 9-15 Frames with 802E Format


9.14 Features of Packet Formats

The Ethernet controllers can transmit and receive both Ethernet and802.2/802.3 packets. Each port on a controller is able to transmit andreceive either Ethernet or 802 packets. Ethernet and 802 ports can beassigned on the same controller at the same time.

The FDDI controllers can transmit and receive FDDI frames. There is amapped Ethernet frame format that is comparable to the Ethernet packetssent and received by the Ethernet controllers.

At the time each port on the controller is started, one of three packetformats can be specified: Ethernet (default), standard 802 (referred toas 802 packet format), and extended 802. If no format is specified, thedefault format is used.

Each port on the controller must be unique on that controller. For eachpacket format, there is a parameter that distinguishes the port fromall other ports with the same packet format. For Ethernet packet formatports, the 2-byte protocol type parameter defines the port. For 802packet format ports, the 1-byte SAP defines the port. For extended 802format ports, the 5-byte protocol identifier defines the port.

Sections 9.14.1, 9.14.2, and 9.14.3 describe thethree packet formats and the characteristics unique to each format.


Previous Next Contents Index