Linux PPP protocol development
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: pppd creates route without "gateway" flag
Date: Wed, 17 Sep 2008 21:31:28 +0000	[thread overview]
Message-ID: <18641.30512.331773.157910@gargle.gargle.HOWL> (raw)
In-Reply-To: <b09e96770809171223j34dd04d7k52f29677c9c7a540@mail.gmail.com>

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.

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

  parent reply	other threads:[~2008-09-17 21:31 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 [this message]
2008-10-09 11:50 ` Paul Mackerras
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=18641.30512.331773.157910@gargle.gargle.HOWL \
    --to=carlsonj@workingcode.com \
    --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