*BSD News Article 77136


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!hookup!jussieu.fr!rain.fr!news.sprintlink.net!news-dc-9.sprintlink.net!news.comm.net!caj
From: caj@emanon.comm.net (Craig A. Johnston)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PPP dial-on-demand woes and other q's
Date: 29 Aug 1996 04:46:40 GMT
Organization: Private FreeBSD site, Seattle, WA
Lines: 37
Message-ID: <5037bg$dq9@fox.comm.net>
NNTP-Posting-Host: ts01-port04.nod.comm.net

I've configured PPP just as the FreeBSD handbook describes, and am 
having a problem.  I'm wanting to have ppp dial on demand, and
everything seems pretty peachy except for the fact that every 30 secs,
my routed wants to send out a UDP packet to my provider.  (I start 
routed with the -s flag as the handbook says to.)  This obviously 
makes ppp dial up my provider every 30 seconds if I am not already
connected.

I want to know how to prevent this.  I'm doing exactly as the handbook says,
but I'm not sure this is the right thing.  I have no "real" IP address,
so I am pretending to be 10.0.0.1 (handbook seemed to suggest this.) 
my ifconfig_tun0 line is: inet emanon.comm.net <provider gatway ip address>
netmask 0xffffff00

...where I am emanon.comm.net.  I am dynamically allocated an IP address
by my provider.  It's a randomly picked hostname in my provider's domain,
comm.net.

Now, my questions: am I doing the Right Thing in choosing a random
hostname and 10.0.0.1 as my IP address?  

Also, I retrieve my mail from a POP3 server -- what is the right thing
to do about who sendmail says my machine is, and getting the right
reply-to address on news posts?  I'm sure there are tons of people out
there who have handled this exact problem.  I've only administered
machine with "real" network connections previously and really have no
idea what to do with all this.  I need to be telling the world I'm
actually caj@comm.net and not the bogus emanon.comm.net.  Should I have
sendmail masquerade as comm.net?  What about the newsreader? (trn)

Could I pretend to be comm.net, solving both these probs, without
screwing something up? 

Thanks in advance,
Craig
caj@comm.net (ignore bogus hostname in headers.. ;P )