cidr

command module
v0.0.0-...-90b064d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

README

cidr

Little tool to do CIDR calculations. I often need to look at CIDR ranges and quite honestly it's not an immediate ezpz mental arithmetic I can do. So I just wrote a tool to do the most common things I need.

Uses the helpful cidr library

Examples:

; cidr subnet 100.64.0.0/10 --num 2
100.64.0.0/11
100.96.0.0/11
; cidr range 100.64.0.0/11
100.64.0.0 100.95.255.255
; cidr count 100.64.0.0/11
2097152
; cidr print 100.64.0.0/30
100.64.0.0
100.64.0.1
100.64.0.2
100.64.0.3

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL