Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: finding if an ip is in a subnet

by atcroft (Abbot)
on Mar 05, 2014 at 19:09 UTC ( [id://1077139]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl
    
    ...
    # 192.168.127.10 in 192.168.127.0 / 255.255.255.0
    # 192.168.127.255 in 192.168.127.0 / 255.255.255.0
    #
    
  2. or download this
    #!perl
    
    ...
    # 192.168.127.10 in 192.168.127.0/255.255.255.0
    # 192.168.127.255 in 192.168.127.0/255.255.255.0
    #
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-24 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found