
Configuration
Configuring X.25 over LLC2
Chapter 3 67
The LLC2 configuration file, llc2_lan_0_lan_1 will have the following
entires:
lan0 1
lan1 1
To configure Host to LAN 1 to BOX 1
To configure the Host to LAN 1 to BOX 1communication, the following
configuration file need to be created.
• X.25 generic configuration file, x25_lan_1_box_1
• LLC2 configuration file, llc2_2_lan_0_lan_1
The x25_lan_1_box_1 file is created in the /etc/x25 directory. It will
contain all the level 2 and level 3 parameters. It will also contain the
following entries:
device lan1
XOL_logical_port_id 1
XOL_destination_macaddr 0x080009C4728A
XOL_DSAP 0x7E
XOL_SSAP 0x7E
There is only one LLC2 specific configuration file per Host. The file is
llc2_lan_0_lan_1.
To Start and Stop above configuration:
Starting:
After reconfiguring the kernel of the two boxes execute the following
commands at the command prompt:
x25init -c x25_lan_0_box_0 -L llc2_lan_0_lan_1
x25init -c x25_lan_1_box_1 -L llc2_lan_0_lan_1
Stopping:
To stop the configuration, execute the following commands at the
command prompt:
xstop -d lan0 -L 1 # stop XOL interface with logical port id 1 on lan0
xstop -d lan1 -L 1 # stop XOL interface with logical port id 1 on lan1
To Connect Box 0 to HOST
Kommentare zu diesen Handbüchern