2 ways to find my IP address on Ubuntu 22.04 Jammy JellyFish

Let’s learn the GUI and Command ways to find the IP address on Ubuntu 22.04 Jammy JellyFish to identify the local Internal address, Default Gateway, MAC address, or DNS server.

If you are into system administration or installing some program that requires your system’s IP address, then this tutorial could help you.

What is an IP address?

An IP address (Internet-Protocol address) is the address of a device on the network or the Internet. A network’s router assigns its IP address to each Internet-enabled device. Via the IP address, the router knows from which device a data request has come. After completing the data request the router then forwards the result back to the appropriate IP address from which the request originally came.

Steps to find my IP address on Ubuntu 22.04 LTS

The steps are given here can be used for other Ubuntu versions including for Linux OS such as Mint, Elementary OS, Debian POP_OS, and more…

#1st way:

1. Open your command terminal

Either go to the Application launcher and search for the terminal app or simply press Ctrl+Alt+T to open the command terminal.

 

2. Find Ubuntu 22.04 IP address

On your Terminal app, type the given command. This will provide all the IP-address assigned to the system’s network adapters.

ip a

In this screenshot, you can see our system has two network interfaces one is loopback, and the other is ethernet (ens160)  assigned with 192.168.17.133 IP address. In the same way, your system will also show the network interfaces and addresses.

command to find ip address on Ubuntu 22.04

 

3. How to find DNS address

If you want to know what nameserver address is used by your system, you can use the given command:

grep "nameserver" /etc/resolv.conf

Alternatively, to find the DNS of the website or server, we can use the dig command.

dig your-server-or-domain-name

For example:

dig localhost

or 

dig google.com

 

4. Check default gateway Ip-address

If you just want to check out the network gateway address on your system, then run:

ip r

Check default gateway Ip address

 

#2nd way:

5. Find IP, Mac & Gateway address using GUI

Those who are not comfortable with the command-line method can go for Ubuntu 22.04 graphical user interface to find out the network configuration of their system.

Click on the Network icon given on the top right side of the Taskbar.
Click on the Drop icon given for “Wired Connected“.
Select Wired Settings.

Check Ubuntu 22.04 IP address using GUI

 

Click on the Gear icon given under Wired connection and then you will have all the details such as Ip-address, MAC, Gateway, and DNS address.

GUI to find IP address Ubuntu 22.04

 

Other Articles:

8 Different Ways to Know Linux OS Version
Ubuntu 22.04 Remote Desktop Access from Windows 11
How to Install 7-Zip on Ubuntu 22.04 LTS
Download Youtube videos on Ubuntu 22.04

 

Leave a Comment

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