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

Hi,

I'm connecting via PPPoE to my ISP (SBC).

I've a static IP /29 assigned to me (x.x.x.232 - x.x.x.239).

To 'get at' (for firewalling, etc, eventually) all the static IPs,
I've setup in-kernel PPPoE to negotiate the connection through
an ADSL mode config'd in bridge-mode.

I'm confused about assigning NETMASKs.

I'm making my primary ppp connection at interface

       ppp0, IP address = x.x.x.238

and setting up interface aliases of,

       ppp0:1, IP address = x.x.x.233
       ppp0:2, IP address = x.x.x.234
       ppp0:3, IP address = x.x.x.235
       ppp0:4, IP address = x.x.x.236
       ppp0:5, IP address = x.x.x.237

using an intfc cloning range defined in
"/etc/sysconfig/network-systems/ifcfg-ppp0-range0"

I plan to handle each interface ppp0 + ppp0:1-5 separately in my firewall.

Questions:

What should be the NETMASK for the primary 'ppp0'? /29 or /32?
And for each of the aliases?

If the right answer if ppp0 -> /29, & ppp0:# -> /32, should I ALSO
create an alias ppp0:6, IP address = x.x.x.238 (same as ppp0 !?) but
with a /32?

Thanks.

Geri :-)

             reply	other threads:[~2008-04-14 14:43 UTC|newest]

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