*BSD News Article 36184


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!gmi!zombie.ncsc.mil!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!news-rocq.inria.fr!univ-lyon1.fr!ipgaix!not-for-mail
From: peppe@ipgaix.unipg.it (G. Vitillaro)
Newsgroups: comp.os.386bsd.questions
Subject: FreeBSD 1.1.5.1 slip and Cisco CS-500
Date: 26 Sep 1994 19:53:46 +0100
Organization: Centro di Calcolo - Universita' di Perugia
Lines: 54
Message-ID: <3675bq$ajf@ipgaix.unipg.it>
NNTP-Posting-Host: ipgaix.unipg.it
X-Newsreader: NN version 6.5.0 #1 (NOV)

I'm trying to setup a slip connection (well
actually a cslip connection) between my home
FreeBSD 1.1.5.1 and a Cisco CS-500 terminal
server.

I know slip/cslip work on the Cisco because
I got it running perfectly from Trumpet WinSock.

What I do is roughly:

1) attach slip port

   slattach -h -c -z -r/usr/ppp/dial -s38400 /dev/cua01

   where /dev/cua01 is my COM2 dialout port (with a 16550A UART)
   and /usr/ppp/dial is my terminal server dial script.

   I regularly got the slattach message that sl0 is connected
   at 38400 on cua01. I have two sl interfaces defined in
   my kernel.

2) config the interface

   ifconfig sl0 inet 141.250.100.1 141.250.1.33 netmask 255.255.255.0
   ifconfig sl0 up
   route add default 141.250.1.33

   note that the "destination address" is not on the same
   subnet (the Cisco async interface is "unnumbered"): they
   are different subnets 1 and 100 of our 141.250 class B net.
   
   On both sides the MTU is defined as 296.

At this point "netstat -in" and "netstat -rn" show a
correctly defined situation and also "ifconfig sl0" looks
good, but, guess ... it doesn't work.

When I try to ping the gateway 141.250.1.33 packets flow
into the modem, but nothing come back (tcpdump fully confirm
this fact).

I tried many variations of slip/cslip routing always
with the same result. The problem maybe may come from
the "ip unnumbered" interface?

Note that FreeBSD PPP perfectly works with the same hw/sw
configuration.

Any ideas or clue? Thank in advance, Peppe.
-- 
Giuseppe Vitillaro - IBM SEMEA      |  E-Mail : peppe@unipg.it 
University of Perugia Italy         |  06124 Perugia  Phone:+39.75.585-2799
---------------------------------------------------------------------------
All comments/opinions are mine and don't represent those of IBM