*BSD News Article 38013


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!warrane.connect.com.au!troll.apana.org.au!rivendell.apana.org.au!not-for-mail
From: phil@rivendell.apana.org.au (Phil Homewood)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Can FreeBSD act as a SLIP router/gateway for a subnet?
Date: 18 Nov 1994 18:44:57 +1000
Organization: Rivendell - APANA Brisbane
Lines: 38
Message-ID: <3ahpi9$d0j@rivendell.apana.org.au>
References: <mark.1261.2EC9193C@novell.business.uwo.ca>
NNTP-Posting-Host: rivendell.apana.org.au
X-Comment-To: mark@novell.business.uwo.ca
X-Newsreader: TIN [version 1.2 PL2]

mark@novell.business.uwo.ca wrote:
: Can FreeBSD act as a SLIP router/gateway for a subnet?

You betcha!

: They would define the FreeBSD as their default gateway and the box would route 
: onto the SLIP line.  The slip line would have enough smarts to redial on loss 
: of carrier and pass login info via script.

Exactly correct.
We have such a setup (FreeBSD box, 16ish SLIP links and an ether
connection) running our router.

It's not 100% reliable (tends to fall over every couple of days), but
I think this is more hardware than anything.
At least two of the SLIP links on this router go to other FreeBSD
boxes with local ether, and they work fine (uptimes of weeks on end,
and redial immediately on loss of carrier.) Routing works flawlessly.

: I am not sure of the extent of SLIP/PPP support in freebsd (dialin, dialout or 
: both) 

Dialin and dialout SLIP and PPP are all supported, and work perfectly.
(well the SLIP does, I haven't used the PPP support yet.)

: The ideal situation would be the com ports look like standard network 
: interfaces and I simply use net config routing commands.

Yep, the com ports come up as sl0, sl1, etc (SLIP) or ppp0, ppp1, etc
(PPP). ifconfig and route via them to your hearts content :)

Cheers,

Phil.
--
Phil Homewood                           phil@rivendell.apana.org.au
APANA Brisbane Regional Co-Ordinator    brisbane@apana.org.au
   "386bsd 1.0 - like 386bsd 0.1, but a bit backwards."