Re: What are the correct NETMASKs for multiple PPPoE interfaces in a StaticIP block?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux