Ubuntu is one of the many Linux operating systems that provides several utilities to help us perform different tasks according to our requirements. It allows us to check the IP address of our system using multiple ways. It is important to know the IP address of your computer as it allows sending any type of information between multiple systems on the network. In this article, we will discuss the approaches to check IP addresses on your Ubuntu System.
An IP address abbreviated as an Internet Protocol address is a numeric assignment that is provided to many computers networked devices that use the Internet Protocol. It is used to identify a machine as well as to pinpoint its location. Public and private are two types of IP addresses and every IP address on the network is distinct, making communication between all linked devices easier. In the same way that your physical address is used for postal mail, your public IP address is used to communicate over the Internet. On the other hand, on a local network, every device is assigned a private IP address that is distinct in its sub-network.
There are two different internet protocols available for communication purpose which are IPv4 and IPv6. The classic IP format is IPv4, which consists of a four-part structure with four bytes separated by dots (e.g., 192.168.1.3). Besides as the number of devices grows, it becomes more difficult to keep track of them all, IPv4 may face a shortage of addresses soon. That’s why IPv6 was created in comparison to IPv4.
There are two ways through which your IP address can be checked in Ubuntu:
A brief detail of both methods is explained below:
The Command Line method is a simple and mostly used way in Linux to check your IP address in Ubuntu. Run the mentioned below command to check IP address using CLI:
$ ip addr show |
The above command will be used to display the IPv6 and IPv4 addresses. On the system, the IP command displays and manages routing, device, and routing of policies. The option “addr” in command is used to display IP or IPv6 addresses of devices.
You can further check IP addresses in Ubuntu by simply shortening this command which will give you the exact result for IP address.
$ ip a |
If you don’t know how to use the command line or you are facing any difficulty in the application of commands, you can also check IP addresses by another method.
Mentioned below are the steps to check IP-address using GUI.
Open up the Ubuntu Applications Menu which is provided in the left corner of the screen(denoted by nine dots symbol) and then search for the Settings option and click on the icon:
Settings Menu will be shown after clicking the settings icon. In settings options, go to Network.
When you press the gear icon given after your connection, a window will get opened that contain more setting and information about your connection with the network and IP address.
In this article, the basic overview of IP addresses, their types, and the contrast between the IPv4 and IPv6 protocols is being provided. There are multiple ways to check IP addresses in different operating systems. The two different ways through which you can find your IP address in Ubuntu Linux are being discussed in this article as well.
Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications including CCNA RS, SCP, and ACE. As an IT engineer and technical author, he writes for various websites.
One of the most critical gaps in traditional Large Language Models (LLMs) is that they…
Canonical is continuously hiring new talent. Being a remote- first company, Canonical’s new joiners receive…
What is patching automation? With increasing numbers of vulnerabilities, there is a growing risk of…
Wouldn’t it be wonderful to wake up one day with a desire to explore AI…
Ubuntu and Ubuntu Pro supports Microsoft’s Azure Cobalt 100 Virtual Machines (VMs), powered by their…
Welcome to the Ubuntu Weekly Newsletter, Issue 870 for the week of December 8 –…