*BSD News Article 67957


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!news.mathworks.com!uunet!in1.uu.net!news.vader.org!news.demon.co.uk!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD 2.1 Ethernet <-> PPP router help!
Date: 7 May 1996 16:50:01 +0100
Organization: Coverform Ltd.
Lines: 37
Message-ID: <4mnrf9$15b@anorak.coverform.lan>
References: <fsc.831010027@zot.io.org>
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Finite Systems Consulting (fsc@zot.io.org) wrote:
: I'm supposed to set up a FreeBSD box as a router between a local
: Ethernet and an ISP.  I think I've done everything right, but when I
: try to ping the outside world ping tells me "no rooute to host".

: Here's what I've done:

: In sysconfig I set the box's IP to x.y.z.97, and netmask to ffffffd0 (it's
: a 32-host subnet).
: I set the gateway option on.  But I do not give a default gateway.

: In ppp.config I specify device and speed, and CHAP info.

: In the ppp program, I enter "term", then use AT commands to my
: BitSURFR to dial the ISP.  It connects, enters packet mode, and comes
: back to the PPP prompt.  Then I say "add 0 0 HISADDR".

: At this point I think it should work; but ping (even to the gateway,
: i.e. the machine on the other side of the PPP link) fails with "no
: route to host".

: What have I done wrong?



: Thanks,

: Paul Reynolds
: -- 

After you do the 'add 0 0 HISADDR', what does 'netstat -nr' say ?  What
IP numbers are involved ?


--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....