*BSD News Article 41919


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!paladin.american.edu!gatech!howland.reston.ans.net!swrinde!pipex!peernews.demon.co.uk!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.os.386bsd.questions
Subject: Re: SLIP configuration
Date: 27 Jan 1995 02:55:43 -0000
Organization: None
Lines: 32
Message-ID: <3g9nbf$2b8@awfulhak.demon.co.uk>
References: <3fualr$ior@lucy.infi.net>
NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

rkohli@richmond.infi.net (rkohli@infi.net) wrote:
: Greetings,
: 	If you have a FreeBSD box not connected to ethernet but hooked up to
: another UNIX box over slip can you please, please ( pretty please ) mail me 
: your "netstat -r" or "netstat -nr" output along with your /etc/netstart and your/etc/hosts files, I would really appreciate it. 

: I'm having no luck trying to get our SLIP line working. I can login to the slip server, the people on the other can see me login in but I can't ping the slip-server. I have pretty much followed the directions in the SLIP FAQ other noteson SLIP in the main FAQ and the TCP/IP book.

I'm in a bit of a rush, but you probably need something like this:

    ifconfig sl0 inet myhost targethost netmask 0xffffff00
    route add default targethost

my routing table looks like this:

Destination      Gateway            Flags     Refs     Use  Interface
default          gate               UGS         0      300  sl0
localhost        localhost          UH          0        2  lo0
gate             awfulhak           UH          1       66  sl0
158.152.17       link#1             UC          0        0  ed0
awfulhak         0:0:e8:c8:8e:95    UHL         1       74  lo0
tirnanog         0:0:e8:c8:92:31    UHLS        0        0  ed0
224              link#1             UCS         0        0  ed0

where gate and awfulhak are the only relevant bits in /etc/hosts.

Send me email if you've still got problems.

--
Brian <brian@awfulhak.demon.co.uk>

Don't _EVER_ lose your sense of humour....