Close Menu
    X (Twitter)
    Hectic GeekHectic Geek
    • Apps
      • Apps for Mac
      • Apps for PCs
      • Best Apps
    • Concepts
      • Comparison
      • For Geeks
      • IT Careers
    • Gadgets
      • Accessories
      • Best Work Laptops
      • Budget Laptops
    • GNU/Linux
      • Ubuntu
    • How To
      • Virtualization
      • Windows
      • Windows How-To
    Hectic GeekHectic Geek
    Home » Simple IPv4/IPv6 Subnet Calculator for Ubuntu Linux – SubNetCalc
    Ubuntu

    Simple IPv4/IPv6 Subnet Calculator for Ubuntu Linux – SubNetCalc

    GayanBy GayanJanuary 26, 2012Updated:September 26, 2012No Comments2 Mins Read
    Twitter Reddit Telegram WhatsApp Email
    Share
    Twitter Reddit Telegram WhatsApp Email

    If you need an IP subnet calculator that runs under Ubuntu and okay with using the command-line a bit, then I think Sipcalc is one of the best 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.

    *. Shows network address, broadcasting IP (if any), network mask, Wildcard mask (some routers may not have it) 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 subnetcalc

    The 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/network). Then I’d simply enter the below command.

    subnetcalc 192.168.1.2

    It 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/31

    If you want to use the actual domain name, then use something like the below command.

    subnetcalc www.google.com

    But 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 this official Subnetcalc home page for more).

    man subnetcalc

    Good luck.

    Share. Twitter Reddit Telegram WhatsApp Email
    Gayan

    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.

    Related Posts

    How to Check Linux CPU Usage?

    February 5, 2024

    Linux export Command: A Comprehensive Tutorial

    February 3, 2024

    Debian vs Ubuntu Server: A Brief Comparison for Beginners

    July 2, 2023

    CPU Based Simple System Stability and Benchmark Tester for Ubuntu Linux – systester

    June 16, 2023

    Typespeed: Typing Speed Testing Game for Ubuntu Linux

    March 12, 2023

    Debian vs Ubuntu in 2023- Which Linux OS is Right for You?

    January 6, 2023
    Leave A Reply Cancel Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Latest Posts

    Transforming Geek Culture with Advanced Software Development

    April 8, 2024

    The Role of Technology in Enhancing Digital Signage Solutions

    February 21, 2024

    How to Check Linux CPU Usage?

    February 5, 2024

    Linux export Command: A Comprehensive Tutorial

    February 3, 2024

    [Fixed] HDMI No Signal to TV or Monitor on Windows 10/11

    November 7, 2023

    AlmaLinux vs Ubuntu – How to Select the Best One?

    October 22, 2023

    Subscribe to Updates

    Get the latest news and updates from Hectic Geek. We won't overload you or sell your data!

    Contact
    • About Us
    • Contact Us
    • Privacy Policy
    • Write for Us
    X (Twitter)
    © 2026 Hectic Geek.

    Type above and press Enter to search. Press Esc to cancel.