Solstice X.25 9.2 Administration Guide

Editing the Link Configuration Files

To configure a single link to a PSDN across using the onboard serial port:

  1. Open the file /etc/SUNWconn/x25/config/link_config_0000.cfg for editing.

    This is the file that configures link 0.

  2. Scroll down to SECTION LINK.

    This is the first section below the identification section, and looks like this:


    SECTION LINK
        device          /dev/zsh0
        local_address   0011
        type            WAN
        version         1988
        mode            DTE
        protocol        LAPB
        alias           switch
        description     Link to switch
  3. Change the local_address parameter to your local X.121 address.

    This is the X.121 address of your modem. Your service supplier should tell you what it is.

  4. If necessary, change the version parameter to the year of the X.25 Recommendations used by your PSDN.

  5. Optionally, set an alias and description.

  6. Scroll down to SECTION X25 and find the Logical Channel Range parameters.

    These are called pvc_range, inc_range, out_range, and two_range and are near the top of SECTION X25:


    SECTION X25
        network         X25_88
        plpmode         Normal
        pvc_range       0-0
        inc_range       0-0
        out_range       0-0
        two_range       1-30
  7. Set the appropriate Logical Channel Ranges by editing the existing entries.

    Don't leave any spaces between the values and the hyphen. Your service supplier will tell you the appropriate values to use.

  8. Save and exit the file.

  9. Start X.25 by entering the following as root:


    # /etc/init.d/x25.control start

    This brings up the software.

    To check that the configuration is valid, make a pad call to yourself. To do this, enter the pad command at a command line, followed by your own X.121 address:


    hostname% pad X.121 address
    

    Once you have created a link that works, you can fine-tune it, or configure the application(s) you want to run over it. See Chapter 8, Example Configurations for more information.