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")In reply to (tye)Re: converting complex netrange to cidr notation
by tye
in thread converting complex netrange to cidr notation
by dino
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |