Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

The IP addresses you give as invalid addresses in the "Invalid Client Addresses" section isn't strictly correct.

First there is no such thing as a classful addressing. In todays Internet classful means nothing. The subnet mask determines the range of IP addresses that can be considered local (on the same network).

Second, because of the above x.x.x.0 - or any variation eg x.0.0.0, except 0.0.0.0 - can be a valid IP address. For example the subnet mask 255.255.254.0 means that 2 contiguous /24's are part of the same network. In this case this makes .255 of the first /24 and .0 of the second /24 valid client IP addresses.

It is fair to say that some OSes seem to have a problem with this. But the fact remains the .0 and .255 addresses can be used by clients. It just all depends on the subnet mask.

Other than that a quality rant. ;)


In reply to Not so Invalid Client Addresses by Anonymous Monk
in thread Don't Use Regular Expressions To Parse IP Addresses! by ybiC

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-03-28 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found