ChorusOS 4.0 Network Administration Guide

SLIP on a Solaris Host

This section describes how to configure SLIP on a SolarisTM host for use with a ChorusOS system.

The following procedures concern hosts running Solaris 2.6.


Note -

You must be root to install and configure SLIP. If you either do not know the root password for the host system or do not feel comfortable with the tasks required, ask your system administrator to perform the tasks below.


Checking for Required Packages
  1. Before attempting to configure SLIP, check that the package SUNWpcnfs is installed on the workstation:


    host% pkginfo | grep SUNWpcnfs
    networking  SUNWpcnfs     PC-NFS Daemons
    

    The SUNWpcnfs works on systems running Solaris 2.6.

  2. (Optional) If the SUNWpcnfs package is not installed, get the Solstice NFS ClientTM 3.1 product, and install the package.

  3. During installation, reply y ("yes") to the question, "Do you want to install the PC-NFS SLIP driver?", and n to all other questions.

Configuring the Network
  1. Make sure /etc/hosts or the NIS configuration files include SLIP addresses for both the host and target systems:

    # If you are using /etc/hosts, then include the following lines.
    # Host SLIP address          Host SLIP hostname
    host_SLIP                    host_name
    # Target SLIP address        Target SLIP hostname
    target_SLIP                  target_name
    

Configuring the Terminal
  1. Start admintool.


    host% admintool &
    

  2. Select Go to expert mode from the serial port configuration menu.

  3. Unset the Service Enable flag.

Starting SLIP on the Host
  1. Start SLIP:


    # slattach ttya host target baud_rate
    

  2. Make sure the interface is operational:


    # netstat -i
    Name  Mtu  Net/Dest    Address     Ipkts  Ierrs Opkts  Oerrs Collis Queue 
    lo0   8232 loopback    localhost   307    0     307    0     0      0     
    hme0  1500 host        host        14720  268   10827  0     507    0     
    sl0   1006 target_SLIP host_SLIP   0      0     0      0     0      0

Stopping SLIP on the Host
  1. Stop SLIP:


    # sldetach ttya
    

Routing

If you want the SLIP target to be visible from the whole network, you must enable routing on your workstation.

  1. Enable routing:


    # ndd -set /dev/ip ip_forwarding 1
    

  2. Use the proxy-arp command to declare the SLIP target as having the same Ethernet address as the workstation:


    # ypcat ethers | grep host
    Ethernet_address host
    # arp -s target_SLIP Ethernet_address pub