*BSD News Article 99160


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!uunet!in3.uu.net!128.230.129.112!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.icm.edu.pl!korweta.task.gda.pl!not-for-mail
From: Adam Baran <badam@zimw.gdynia.pl>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: User PPP (iijppp) and routing
Date: Mon, 07 Jul 1997 14:38:11 +0200
Organization: Zespół Informatyki MW
Lines: 31
Message-ID: <33C0E333.68A4@zimw.gdynia.pl>
References: <timleeECwzr4.8tL@netcom.com>
NNTP-Posting-Host: mega.zimw.gdynia.pl
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (Win95; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44061

Timothy J. Lee wrote:
> 
> With FreeBSD 2.2.1, I configured and used the user PPP (iijppp)
> according to the on line handbook and ppp man page.  I can get a PPP
> connection and an IP address from the remote host (a SunOS 4.1.3
> machine with pppd), and "show ipcp" shows the expected IP addresses.
> "show route" does not give a route to either the IP assigned by the
> remote host, or the IP address of the remote host.  This means that
> attempts to telnet the remote host's IP address or others it is
> connected to fail.
> 
> What else needs to be done to get the routing across the PPP connection
> to work properly?
> 
> --
> ------------------------------------------------------------------------
> Timothy J. Lee                                                   timlee@
> Unsolicited bulk or commercial email is not welcome.             netcom.com
> No warranty of any kind is provided with this message.


Under FreeBSD 2.1.5 (but I think things have'nt changed so far) You
should type at PPP prompt:

PPP ON ...>add 0 0 HISADDR

From this moment routing table contains default route entry.
Alternatively, revisit PPP man page and see section about "ppp.linkup"
file (there should be an example in /etc/ppp/ppp.linkup.sample).

Good luck !