| range_boundaries_to_cidr {iptools} | R Documentation |
takes in a single start/end pair and returns a charcter vector of all the CIDR blocks necessary to contain the range.
range_boundaries_to_cidr(ip_start, ip_end)
ip_start, ip_end |
range start/end (numeric) |
character vector
range_boundaries_to_cidr(
ip_to_numeric("192.100.176.0"),
ip_to_numeric("192.100.179.255")
)
## [1] "192.100.176.0/22"