[lkml]   [1999]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: howto disable auto route setup?
    No. is not legal for a Class C network (194.111.0) as a
    subnet mask on an interface. You could have that "mask" in a routing
    protocol that can use summaries or CIDR, such as OSPF, but you should not be
    able to configure that on an interface. In effect, you can't have a
    "reverse" subnet mask, it has to be at least as significant as the network
    itself. An interface that is using an IP from a Class C network must have
    at least a mask. The resulting broadcast address that you
    mention is also illegal.

    If you were using a Class A or Class B network (1 - 191.255) a subnet mask
    of is perfectly fine. So, if you were using 190.111 instead
    of 194.111.0 you could have a subnet mask of with a broadcast
    address of Your first subnet would be unless
    you use the not-really-legal-but-supported-by-most-router-vendors option of
    zero subnet masks
    (and-not-really-advisable-unless-you-know-what-you-are-doing). Your last
    subnet would be, as there is no "option" of
    all-ones-subnet-mask from any vendor AFAIK and it would not make much sense
    because, although you may be able to get away with using the all-zero's
    subnet portion of the IP because broadcasts to "this" subnet are not used
    often, you probably can't get away with all-one's because broadcast to "all"
    subnets are used often.

    Check out the RFC's if there is a question in the HOWTO's. They are
    authoritative, while the HOWTOs are rewrites for the lay person that are not
    necessarily authoritative.

    Someone correct me if I'm wrong on any details.

    What has this to do with the kernel?


    > -----Original Message-----
    > From:
    > []On Behalf Of Neil Conway
    > Sent: Tuesday, February 02, 1999 8:53 AM
    > To: Mike Jagdis
    > Cc: Sam Mortimer;
    > Subject: Re: howto disable auto route setup?
    > Vaguely on this topic, I've been wondering if it's
    > legal/advisable/safe
    > to have a netmask like ?
    > Anyone? The HOWTO is rather ambiguous about it. I think it's legal,
    > but am not entirely sure. This also seems to imply a
    > broadcast addr. of
    > something like for a network address of,
    > presumably that's OK too?
    > cheers
    > Neil
    > -
    > To unsubscribe from this list: send the line "unsubscribe
    > linux-kernel" in
    > the body of a message to
    > Please read the FAQ at

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:50    [W:0.046 / U:4.992 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site