Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by MeowChow (Vicar)
on May 11, 2001 at 20:58 UTC ( #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? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2023-09-25 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?