*BSD News Article 83856


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!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!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: ppp troubles with routing tables
Date: 29 Nov 1996 02:05:55 -0000
Organization: Coverform Ltd.
Lines: 34
Sender: brian@awfulhak.demon.co.uk
Message-ID: <57lge3$3ls@anorak.coverform.lan>
References: <57hkvg$k5h@moon.dial.techfak.uni-kiel.de>
Reply-To: brian%anorak.coverform.lan@awfulhak.demon.co.uk
NNTP-Posting-Host: localhost.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 <57hkvg$k5h@moon.dial.techfak.uni-kiel.de>,
	maw@techfak.uni-kiel.de (Maciej Wiatr) writes:
: Destination      Gateway            Flags     Refs     Use     Netif Expire
: default          134.245.247.4      UGSc        1        0      tun0
: 127.0.0.1        127.0.0.1          UH          2        7       lo0
: 134.245.247.4    134.245.247.21     UGHS        2        0      tun0 
: 
: Here is 134.245.247.4 the server I am connected to, 134.245.247.21 the dynamically
: assigned address.

This is correct although you could probably do with another line (for
tidyness) saying

134.245.247.21     127.0.0.1          UH          0        0       lo0

so that packets destined from you to you are looped back.

: One more wonderin thing:
: I tried to setup my routing tebles on another day in the same way and was not
: successful. What could be the reason?

Did your IP change ?  Make sure you've got a /etc/ppp/ppp.linkup entry that
says

    delete ALL
    add 0 0 HISADDR

so that ppp rewrites the default route after you've been assigned an IP.

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