In this tutorial you will learn:
- How to find local IP address
- How to check for default gateway
- How to display DNS server IP address
- How to display MAC address
Software Requirements and Conventions Used
Category | Requirements, Conventions or Software Version Used |
---|---|
System | Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa |
Software | N/A |
Other | Privileged access to your Linux system as root or via the sudo command. |
Conventions | # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command $ - requires given linux commands to be executed as a regular non-privileged user |
How to find my IP address on Ubuntu 20.04 step by step instructions
Check for internal network configuration from command line
The UAF Geophysical Institute, is looking for an experienced Linux Systems Analyst to join their team of research cyber infrastructure analysts and engineers. LOCATION: Fairbanks, Alaska, USA
APPLY NOW
- To check for your internal IP address execute the following command:
$ ip a
Locate the requested network interface and check for assigned IP address. Additionally, the above command also reveals the network interface hardware address a.k.a MAC address. - To check for currently used DNS server IP address execute:
$ systemd-resolve --status | grep Current
- To display default gateway IP address run:
$ ip r