RE: net_mask 255.255.255.255

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

 



Thanks for the response.  I completely understand.  

I guess my real gripe is witch Cisco and their OSPF hello packets on PPP
links.  You cannot configure a dialer interface for a /32 subnet.  The
result is that their OSPF hello packets contain a subnet greater than
/32 which doesn't match my ppp interface so OSPF doesn't come up unless
I change the subnet on the ppp0 interface to match what I am connected
to.

Commenting out those lines and allowing a different subnet just makes it
easier to operate in the Cisco world.

Thanks again.

-Nick

-----Original Message-----
From: linux-ppp-owner@xxxxxxxxxxxxxxx
[mailto:linux-ppp-owner@xxxxxxxxxxxxxxx] On Behalf Of James Carlson
Sent: Wednesday, July 09, 2008 11:23 AM
To: Nicholas Hickman
Cc: linux-ppp@xxxxxxxxxxxxxxx
Subject: Re: net_mask 255.255.255.255

Nicholas Hickman writes:
> What is the reason for the lines 2362 & 2363 in sys-linux.c?  Why not 
> just accept the netmask option from the peer config?

Netmask doesn't really mean anything for a point-to-point link.  A
point-to-point link (unlike broadcast or NBMA) has just two peers -- the
local system and the one at the other end.  There's no "subnet"
involved, nor any "broadcast" address, nor any L2-related way to talk
about any other nodes on the "local network."

For users who insist on setting up PtP links as though they were
Ethernet interfaces, pppd accepts (and ignores) the netmask option.
:-/

In most cases where you 'want' to set up a netmask, what you actually
need is a static route pointing to a remote network reachable through
the peer node or (better yet) a dynamic routing protocol.

-- 
James Carlson         42.703N 71.076W         <carlsonj@xxxxxxxxxxxxxxx>
--
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
--
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