You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lumiere
if you do that parse_cidr, I'd love it to also return the subnet_size (or whatever we want to word it) so "24" in that case (I know I could get it with split, but getting everything at once is nice)
libera - @kjetilho
Yury - I personally do this in Ruby code in ERB, but for EPP that would certainly be useful. I'd want "subnet_size: 24", to. HostMin is not useful for me - what is your usecase? where people put their routers vary quite a bit. it can even be .0, since no one uses zero broadcast anymore.
perhaps a separate function ipaddr_next(address, n) for the nth address after address?
the name ipaddr_add() is probably as intuitive - or more
I'd like to propose having
extlib::parse_cidr()
function which returns a Structure similar to whatipcalc.pl
returns (with bit values stripped):My original problem was to get first usable IP in a routable range I have.
Please add your ideas and use-cases in comments below
The text was updated successfully, but these errors were encountered: