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

Not so Invalid Client Addresses

by Anonymous Monk
on Nov 23, 2005 at 22:40 UTC ( [id://511275]=note: print w/replies, xml ) Need Help??


in reply to Don't Use Regular Expressions To Parse IP Addresses!

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. ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://511275]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-04-23 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found