*BSD News Article 51702


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!news.duke.edu!agate!reason.cdrom.com!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: SLIP woes...  or do I just not know what I am doing :-)
Date: 25 Sep 1995 02:04:53 GMT
Organization: Walnut Creek CDROM
Lines: 22
Message-ID: <4452o5$99r@reason.cdrom.com>
References: <43p6ut$dp6@outer.net>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; FreeBSD 2.1-STABLE i386)
To: joshk@tanisys.com
X-URL: news:43p6ut$dp6@outer.net

joshk@tanisys.com (Josh Karnes) wrote:
>  everything works great as long as I only want to communicate with the
>  server I am connected to...  like viewing my web page, sending myself mail,
>  etc...  also, DNS does not work, can't ping anyone except the SLIP server.

This sounds a lot like one or two things are happening (check for both):

1. The Mac has not configured itself properly so that the FreeBSD box is set as
the default gateway.

2. The FreeBSD gateway hasn't been configured as one.  See the man page for
   sysctl and in particular the setting of the `net.inet.ip.forwarding' 
   variable.  It should be set to 1.

>  The buddy says that I need a separate subnet for the SLIP hosts, and that
>  is the only way to make the ethernet card in the SLIP server communicate

Naw.  Just so long as the Mac has a valid IP address, it should be able to
have its packets forwarded by the FreeBSD machine.
-- 
						Jordan