How to Calculate IP Subnet Address With ipcalc Tool

English

How to calculate IP Subnet address with ipcalc tool is easy and important for managing a network, since you will undoubtedly need to deal with subnetting.

Some network administrators are able to do the binary math in their head, to determine the subnet mask.

However, many others may need some help and this is where the ipcalc tool comes in handy.

Ipcalc takes an IP address and netmask then provides the resulting broadcast, network, Cisco wildcard mask, and host range.

You can also use it as a teaching tool to present subnetting results, in easy to understand binary values.

This tool is excellent for students getting Cisco CCNA certified at some of the universites offering these courses.

Certifications within Cisco's portfolio include the following credentials:

  • Cisco Certified Entry Networking Technician (CCENT)
  • Cisco Certified Technician (CCT)
  • Cisco Certified Network Associate (CCNA) - This the basic, where you begin.
  • Cisco Certified Design Associate (CCDA)
  • Cisco Certified Network Professional (CCNP)
  • Cisco Certified Design Professional (CCDP)
  • Cisco Certified Internetwork Expert (CCIE)
  • Cisco Certified Design Expert (CCDE)
  • Cisco Certified Architect (CCAr)

How to calculate IP Subnet address with ipcalc tool.

Some of the uses of ipcalc are:

  • Validate IP address
  • Show calculated broadcast address
  • Display hostname determined via DNS
  • Display network address or prefix

How to install ipcalc via a terminal window:

sudo apt install ipcalc

Press Enter,

How to use the tool:

To get information about a network address.

Type the following command:

ipcalc 192.168.1.0

Press Enter,


To calculate a subnet for 192.168.0.1/24.

Note: There is 254 subnets in 24 bits
Submask: 255.255.255.0
Subnets: 256 (254)

Type the following command:

ipcalc 192.168.1.0/24

Press Enter.


Want to calculate a single subnet with 10 hosts.

Type the following command:

ipcalc  192.168.1.0 -s 10

Press Enter,


To suppress the binary output, use -b option.

Type the following command:

ipcalc -b 192.168.1.100

Press Enter,


More on how to use ipalc, type one of the two commands:

ipcalc --help

Press Enter,

OR

man --ipcalc

Press Enter.

I hope this will be of use to anyone interested in networking.

Developers website

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.

Disclaimer

All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While linuxexperten.com strives to make the information on this site as accurate as possible, linuxexperten.com does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.

 

Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.

 

Limited Time Offers

Coming soon...