dino has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
basically I want to convert a netrange say:
192.168.0.0 - 192.168.1.15
to the equiv:
192.168.0.0/24
192.168.1.0/28
There are cpan modules that afaik will convert a simple range but not multiple ranges as given above
any pointers please
Regards
dino
basically I want to convert a netrange say:
192.168.0.0 - 192.168.1.15
to the equiv:
192.168.0.0/24
192.168.1.0/28
There are cpan modules that afaik will convert a simple range but not multiple ranges as given above
any pointers please
Regards
dino
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re: converting complex netrange to cidr notation
by tye (Sage) on May 11, 2001 at 13:33 UTC | |
by dino (Sexton) on May 11, 2001 at 15:07 UTC | |
by tye (Sage) on May 11, 2001 at 15:21 UTC | |
by MeowChow (Vicar) on May 11, 2001 at 20:58 UTC | |
by tye (Sage) on May 12, 2001 at 09:30 UTC | |
by dino (Sexton) on May 16, 2001 at 15:02 UTC | |
Re: converting complex netrange to cidr notation
by runrig (Abbot) on Sep 15, 2011 at 16:12 UTC |
Back to
Seekers of Perl Wisdom