Skip to content

zm1990s/ip-address-calculation-shell-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

this is a script that can calculate avaliable ip address range netmask/netmask length

based on ip add and netmask length/netmask

Usage network.sh Input : IP-address netmask or IP-address netmask-length

Examples network.sh 192.168.1.1 24 or 192.168.1.2 255.255.255.0

it'll give you the following informations about the network:

  • network-id: 192.168.1.0
  • netmask-length: 24
  • netmask: 255.255.255.0
  • wildcard-mask: 0.0.0.255
  • ip address range: 192.168.1.1 - 192.168.1.254

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages