Subject: SLIP packet routing problems
To: netbsd-help <netbsd-help@NetBSD.ORG>
From: John Maier <JohnAM@datastorm.com>
List: netbsd-help
Date: 03/15/1995 09:03:00
Here is what I'm trying to do.
I have successfully got SLIP to work, but only peer to peer.  I.e. I can 
ping NetBSD from Trumpet and I can ping from NetBSD to Trumpet.  Yea! 
 However, I try to ping, for example, ftp.netbsd.org, nothing.  Let me run 
it down.

So in a nutshell, sliplogin is working great, I just want to be able to SLIP 
to my NetBSD box and then connect to the rest of the network.

Yes I compiled GATEWAY into the kernel.

network specs:
NetBSD address (jam jam.datastorm.com) = 198.209.154.127
NetBSD peer, slip address (jamslip.datastorm.com) = 198.209.154.128
Trumpet address (slip0.datastorm.com) = 198.209.154.186
Gateway (Cisco router) = 198.209.154.254

In my /etc/netstart
routed_flags=-q
gated=YES
# rest of netstart omited


/etc/sliphome/slip.hosts
# slip.login
$3   $4   $5   $6        $7
slipper   jamslip   slip0     255.255.255.0  sl
ppper     jamslip   slip0     255.255.255.0  ppp


/etc/sliphome/slip.login
#!/bin/sh -
#
#       @(#)slip.login  5.1 (jam) 2/5/95
#
# generic login file for a slip line.  sliplogin invokes this with
# the parameters:
#      1        2         3        4          5         6     7-n
#   slipunit ttyspeed loginname local-addr remote-addr mask opt-args
#
# /sbin/ifconfig sl$1 inet $4 $5 netmask $6 -trailers
echo $1 $2 $3 $4 $5 $6 $7 > /dev/ttyv0
/sbin/ifconfig $7$1 inet $4 $5 netmask $6
/sbin/route add $5 $4
exit


/etc/sliphome/slip.logout
#
#       @(#)slip.logout  5.1 (jam) 2/5/95

#
# generic login file for a slip line.  sliplogin invokes this with
# the parameters:
#      1        2         3        4          5         6     7-n
#   slipunit ttyspeed loginname local-addr remote-addr mask opt-args
#
/sbin/ifconfig $7$1 down
/sbin/route delete $5 $4
exit



so close yet so far...

thanks
jam

**********************************************************************
*       John A. Maier          * Research Assistant For Datastorm    *
* E-mail: johnam@datastorm.com * Technologies Inc. (Procomm Plus)    *
* AOL:    BigJohnAM@aol.com    * (314) 443-3283                      *
**********************************************************************