Configuration

Configuring X.25 over LLC2

The file x25_host_box_0 should contain all the mandatory level 2 and level 3 parameters. Along with them it should contain the following entries:

device lan 0

XOL_logical_port_id 0

XOL_destination_macaddr 0x080009411371

XOL_DSAP 0x70

XOL_SSAP 0x70

The LLC2 specific configuration file, llc2_lan_0 is created in the /etc/x25 directory with the following entries:

lan02

To connect HOST to BOX 1

To configure HOST to communicate with BOX1, the generic configuration file named /etc/x25/x25_host_box_1 has be created as follows:

Apart from the mandatory level2 and level3 parameters the following parameters have to be added:

device lan 0

XOL_logical_port_id 1

XOL_destination_macaddr 0x080009C4728A

XOL_DSAP 0x7E

XOL_SSAP 0x7E

The LLC2 specific configuration is /etc/x25/llc2_lan_0.

To start and stop above configuration:

Starting:

Execute the following commands at the command prompt:

x25init -c x25_host_box_0 -L llc2_lan_0

Stopping:

To stop the configuration execute the following commands:

x25stop -d lan0 -L 0 # stop XOL interface with logical port id 0 on lan0 x25stop -d lan0 -L 1 # stop XOL interface with logical port id 1 on lan0

To Connect Box 0 to HOST

Chapter 3

63