Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: (tye)Re: converting complex netrange to cidr notation

by MeowChow (Vicar)
on May 11, 2001 at 20:58 UTC ( [id://79772]=note: print w/replies, xml ) Need Help??


in reply to (tye)Re: converting complex netrange to cidr notation
in thread converting complex netrange to cidr notation

Another interesting variant of this problem would be to find the minimal set of IP's + netmasks that cover a given range... hmm, I think a Golf outing is coming on :)

update: Actually, I think these are equivalent problems, so never mind, probably.

   MeowChow                                   
               s aamecha.s a..a\u$&owag.print
  • Comment on Re: (tye)Re: converting complex netrange to cidr notation

Replies are listed 'Best First'.
(tye)Re: converting complex netrange to cidr notation
by tye (Sage) on May 12, 2001 at 09:30 UTC

    For a single range, the above solution is the minimal one even if you allow arbitrary masks (though I haven't rigorously proved that -- just supporting your suspicion). If you allow multiple ranges, then the problem gets much harder and it becomes possible for arbitrary masks to provide smaller solutions.

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-20 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found