Tornado Reference : Tornado Utilities

configUlipSolaris

NAME

configUlipSolaris - User-Level IP (ULIP) start/stop script

SYNOPSIS

configUlipSolaris [ start | stop ]

DESCRIPTION

This script installs the pseudo-network ULIP driver in a Solaris (SunOS 5.X) kernel. It loads the device driver into the kernel, creates 16 devices, and configures the devices' Internet addresses and routing information.

By convention, addresses are 127.0.1.0 through 127.0.1.31 for the 32 processors/processes that may interact at once. The /dev directory will have entries from /dev/ul0 to /dev/ul31.

This script must be run as root.

OPTIONS

start
Start ULIP services. If ULIP devices already exist they are unplumbed first, and any running loopd daemons are stopped. After this the ul driver is installed in the kernel, the loopd daemon is started, and the new devices are plumbed.

stop
Stop ULIP services. ULIP devices are unplumbed, the loopd daemon is stopped, and the ul driver is removed from the kernel.

CAVEAT

If VxSim is using any of the 16 ULIP devices when this script is executed with the start or stop command, an error will occur like the following:

    host# /etc/init.d/ulip stop
    stopping ULIP services...
    Device busy
    Cannot unload module: ul
    Will be unloaded upon reboot.
    host#
To ensure ULIP starts properly when this occurs: terminate all VxSim processes, execute this script with the stop command for a second time, and then execute the following script with the start command.

    host#
    host# ps -af | grep vxWorks
    user  3006  2963  0 12:12:25 pts/3    0:00 vxWorks -p 1
    user  3164  3016  0 12:19:00 pts/3    0:00 grep vxWorks
    host# kill 3006
    host#
    host# /etc/init.d/ulip stop
    stopping ULIP services...
    host# /etc/init.d/ulip start
    starting ULIP services...
    host#
At this point ULIP services should be running properly.

SEE ALSO

configUlipSolaris, VxWorks Programmer's Guide: VxSim