*BSD News Article 80813


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem setting up IIJPPP for dynamic address.
Date: 16 Oct 1996 00:43:20 +0100
Organization: Coverform Ltd.
Lines: 30
Sender: brian@awfulhak.demon.co.uk
Message-ID: <5417io$1dh@anorak.coverform.lan>
References: <01bbb9d6$490dc640$f716abc7@default>
    <326479cb.51932905@netnews.worldnet.att.net>
    <32618F59.46A8@erinet.com>
Reply-To: brian@awfulhak.demon.co.uk
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <32618F59.46A8@erinet.com>,
	"J.B. Rawlings" <rawlings@erinet.com> writes:
[.....]
: When I've gone ahead and entered "add 0 0 HISADDR" and check the routing
: tables ("show route" at the PPP prompt) they look fine.  Then I shell
: out and ping 127.0.0.1 which works fine.  I then ping my dynamically
: assigned address and that works fine also.  But as soon as I try and
: ping an address outside of my internal network (such as the default
: gateway) I get no response.  I hope this further helps anyone to help
: us.

You need to reset your routes.  In ppp.conf, you need

    ifaddr me him
    add 0 0 HISADDR

where "him" may be a guess at what the other IP number might be.  However,
in ppp.linkup, you need

    delete ALL
    add 0 0 HISADDR

So that you can remove the incorrect route and create a correct default
to the "actual" other side that was assigned.

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