Linux PPP protocol development
 help / color / mirror / Atom feed
From: "Gerianne McC" <geriannemcc@gmail.com>
To: linux-ppp@vger.kernel.org
Subject: Re: What are the correct NETMASKs for multiple PPPoE interfaces in a StaticIP block?
Date: Tue, 15 Apr 2008 13:52:35 +0000	[thread overview]
Message-ID: <b510d0250804150652v466048a2n41cf8453eda7a3ae@mail.gmail.com> (raw)
In-Reply-To: <b510d0250804140743o4528107dq834a63e4666f549d@mail.gmail.com>

Hi James,

>  >        ppp0:5, IP address = x.x.x.237
>
>  That should work, though it's perhaps not how I'd handle it.

I'm definitely in 'learning mode' -- how *would* you handle it?

>  > What should be the NETMASK for the primary 'ppp0'? /29 or /32?
>  > And for each of the aliases?
>
>  They're all /32 -- individual IP addresses.
>
>  PPP creates point-to-point interfaces.  It's not a broadcast-type
>  medium, like Ethernet.  There's no "subnet" as far as the interface is
>  concerned, but rather just two arbitrary IP nodes connected together.
>
>  That's why the link has a "local" address and a "remote" address, and
>  no "broadcast" address.  It's not a subnet.

"point to point".  You know, that simply never hit home.  Thanks for a
simple/clear explanation!

and, of course, you're right ... @ ifconfig, I see,

 for eth# interfaces, e.g.

	inet addr:10.0.0.100  Bcast:10.0.0.255  Mask:255.255.255.0
	UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
	
 whereas for ppp# interfaces,

	ppp0:5      Link encap:Point-to-Point Protocol
	inet addr:x.x.x.227  P-t-P:y.y.y.y  Mask:255.255.255.255
	UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1

i.e., no BROADCAST

>  Setting a /29 on a PPP interface should have no effect.  The system
>  should be smart enough to know that the right answer is /32.

The system maybe was ... as for me ;-)

Thanks again!

Geri :-)

  parent reply	other threads:[~2008-04-15 13:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-14 14:43 What are the correct NETMASKs for multiple PPPoE interfaces in a StaticIP block? Gerianne McC
2008-04-15 13:33 ` James Carlson
2008-04-15 13:52 ` Gerianne McC [this message]
2008-04-15 13:59 ` James Carlson
2008-04-15 17:51 ` Gerianne McC
2008-04-15 18:46 ` 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=b510d0250804150652v466048a2n41cf8453eda7a3ae@mail.gmail.com \
    --to=geriannemcc@gmail.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