Linux PPP protocol development
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: linux-ppp@vger.kernel.org
Subject: Re: pppd creates route without "gateway" flag
Date: Thu, 09 Oct 2008 11:50:16 +0000	[thread overview]
Message-ID: <18669.61432.589922.730821@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <b09e96770809171223j34dd04d7k52f29677c9c7a540@mail.gmail.com>

James Carlson writes:

> Bill Unruh writes:
> > On Wed, 17 Sep 2008, Joakim Wennergren wrote:
> > 
> > > I just looked at my routing table, and the route pppd created does not
> > > have the "G" flag like I'm used to, is there a reason for this?
> > 
> > PPP is Peer to Peer Protocol. Ie, it is from one peer to another. It has
> > nothing whatsoever to do with gateways, etc. 
> 
> I think the original poster is talking about the default route
> inserted by the "defaultroute" option.  As he rightly notes, it's
> missing the "G" flag:
> 
> > > 0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
> 
> And that is in fact a gateway route.  The issue is whether that flag
> actually matters on Linux.

Why do you say it's a gateway route?  It doesn't have a gateway
address.  It's a route to the 0.0.0.0/0 network via the ppp0 device.

Paul.

  parent reply	other threads:[~2008-10-09 11:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-17 19:23 pppd creates route without "gateway" flag Joakim Wennergren
2008-09-17 21:15 ` Bill Unruh
2008-09-17 21:31 ` James Carlson
2008-10-09 11:50 ` Paul Mackerras [this message]
2008-10-14 10:26 ` James Carlson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18669.61432.589922.730821@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox