If you need an IP subnet calculator that runs under Ubuntu and okay with using the command-line a bit, then I think
ones out there. But if you’re looking something that is more simpler than ‘Sipcalc’ then you also can try ‘SubnetCalc’.It is also based on the command-line but really easy to use and other than the subnet calculations, SubnetCalc resolves domain names automatically and shows the binary subnet mask value is in a different color for easy recognition as well.Some of its features …*. You can enter either the IP address (supports IP v 4 and 6) or the domain name.*.
address, broadcasting IP (if any),
mask, Wildcard mask (some ) etc.*. Host range.*. Properties of the IP such as: Its class, private/global value, country of the IP, DNS host (if any) or the local Host name and few others.You can install SubnetCalc in Ubuntu 12.04 Precise Pangolin, 11.10 Oneiric Ocelot, 11.04 Natty Narwhal, 10.10 and 10.04 by using the below command in your Terminal window.sudo apt-get install subnetcalcThe output is both simple and informative thus you can easily find what you’re looking for.A simple example …Let’s say that I wanted to find the subnet mask value of 192.168.1.2 (my local PC’s IP address, replace it with your own IP/). Then I’d simply enter the below command.subnetcalc 192.168.1.2It should give an output similar to the first screenshot above (which of course will differ according to your IP address).You can also add the “prefix” value in the standard format. For instance …subnetcalc 192.168.1.2/31If you want to use the actual domain name, then use something like the below command.subnetcalc www.google.comBut as mentioned above, unlike with “Sipcalc” you cannot use multiple address at once. So each has to be executed separately.For more details please read its manual by using the below command (you might wanna visit
for more).man subnetcalcGood luck.Related Posts
An RHCE, ‘Linux’ user with 14+ years of experience. Extreme lover of Linux and FOSS. He is passionate to test every Linux distribution & compare with the previous release to write in-depth articles to help the FOSS community.This site uses Akismet to reduce spam. .Recent Posts
ContactAbout HecticGeekWelcome to HecticGeek, it is an independent blog founded back in 2010. We cover in-depth Linux OS, product review with other all technology-related software and tools. Our mission is to provide valuable and trustful technology-related content to our users.