System Administration Guide, Volume 3

New Version of Logical Link Control Driver

The Class II logical link control driver (llc2) interfaces network software (NetBIOS, SNA, OSI, and so forth), running under the Solaris operating environment to a physical LAN network controlled by one of the supported communications adapters. The llc2 driver, which appears as a driver to the network software, resides in the kernel and is accessed by standard UNIX STREAMS functions.

This version of the llc2 driver includes support for both connectionless and connection-oriented logical link control class II llc2 operations for Ethernet, Token Ring, and FDDI adapters when accessed through the appropriate Solaris MAC layer driver. The Data Link Provider Interface (DLPI) to the llc2 driver enables multiple and different protocol stacks, (including NetBIOS and SNA), to operate simultaneously over one or more local area networks.

To start the llc2 driver by default, rename file /etc/llc2/llc2_start.default to /etc/llc2/llc2_start. This allows the /etc/init.d/llc2/rc2.d/S40llc2 script to build up the configuration file for each ppa interface in /etc/llc2/default/llc2.* and start llc2 on each interface. To verify the configuration files, manually run /usr/lib/llc2/llc2_autoconfig.

For more information on the llc2 driver, see the IEEE standard 802.2 Logical Link Control and the llc2(7) man page.

The llc2 files contain information needed by LLC2 to establish the appropriate links to the underlying MAC layer drivers as well as the parameters necessary to configure the LLC (Logical Link Control) Class II Station Component structures for that link. For more information the llc2 configuration files, see the llc2(4) man page.

The llc2_autoconfig utility is used to generate LLC2 configuration files (/etc/llc2/default/llc2.*). If there is no configuration file in /etc/llc2_default/, it detects all the available interfaces in the system and generates corresponding default configuration files.

If configuration files exist in /etc/llc2_default/, it will check if those interfaces defined in the files still exist. If they do not exist in the system, it sets llc2_on in those files to 0. After this, it detects if there are new interfaces in the system. If there are, it generates configuration files for them. For more information on the llc2_autoconfig utility, see the llc2_autoconfig(1) man page.

The llc2_config utility is used to start/stop the LLC2 subsystem and to configure LLC2 interface parameters. For more information on the llc2_config utility, see the llc2_config(1) man page.

You can use the llc2_loop loopback diagnostics command to test the driver, adapter, and network. For more information on the llc2_loop command, see the llc2_loop(1M) man page.

The llc2_stats command is used to retrieve statistical information from the Host-based Logical Link Control Class 2 component of the LLC2 Driver. Statistics are kept for the station, Service Access Point (SAP), and connection components. For more information on the llc2_stats command, see the llc2_stats(1) man page.