snet

command module
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

README

✳ snet

Simple, easy to use, CLI based subnetting calculator/tool built in Go

Installation

Linux
curl -LJO https://github.com/thompsonbear/snet/releases/latest/download/snet
chmod +x snet
sudo mv snet /usr/bin
Windows
  1. Download snet.exe
  2. Add snet.exe to path
    • Run sysdm.cpl / Advanced System Settings
    • Advanced Tab > Environment Variables...
    • Select variable "path" and select Edit
    • Add the desired install location for snet.exe
  3. Move snet.exe to the path location previously specified

Usage

Address with Mask Bits
snet <options> <host-address>/<mask-bits>
snet -b 192.168.20.10/23
Address with Subnet Mask
snet <options> <host-address> <subnet-mask>
snet -b 192.168.20.10 255.255.254.0
Sample Output
Prefix            Network       Useable Hosts        Broadcast       Mask
192.168.20.10/23  192.168.20.0  192.168.20-21.1-254  192.168.21.255  255.255.254.0

Options

-a, -all

  • Display ALL possible networks within the specified subnet.

-b, -borderless

  • Display with a BORDERLESS table.

-c, -count

  • Display ip ranges with host count.

-h, -help

  • Display help message

-s, -simple

  • Display ip ranges without sub-range notation.

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