*BSD News Article 81991


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!elausrv2.att.net.au!news.att.net.hk!newsgate.cuhk.edu.hk!hammer.uoregon.edu!hunter.premier.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: Routed starts PPP dial?
Date: 30 Oct 1996 18:23:45 -0000
Organization: Coverform Ltd.
Lines: 31
Sender: brian@awfulhak.demon.co.uk
Message-ID: <5586fh$4bh@anorak.coverform.lan>
References: <mvhE00AF3.M5@netcom.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 <mvhE00AF3.M5@netcom.com>,
	mvh@netcom.com (Michael Harding) writes:
: I got non-demand PPP working fairly well, but the dial on demand
: connects every 30 seconds - I believe it is routed sending out routing
: infomation.  Should I change the flags to routed, turn it off, or does
: it sound like I have my network set up wrong???
: 
: I am using SLIRP on the other end, which gives me a constant address
: of something like 10.2.1.15, with the connecting machine in a range.
: I'm not really sure what I should be doing here, as I'm just
: bootrapping - ijppp seems to want a fixed address for the dial on
: demand stuff, no?

I've posted my config a few times in the last couple of days.  You can
set up a dfilter (also shown in the sample files in /etc/ppp) to stop
whatever packets are activating your connection.  To find out what's
causing things, run "tcpdump -i tun0".  You'll probably need to build
a kernel with "pseudo-device bpfilter 2" or some such.

Dynamic IP numbers are no problem as long as you have a ppp.linkup file
that says something like:

mylabel:
 delete ALL
 add 0 0 HISADDR

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