A Few years back, ifconfig was the favorite way to know IP address in Linux. Unfortunately, ifconfig command has been deprecated. If you try to use this command today, you are most likely to see the following error:
In order to use it for other servers, you will need to edit “ 192.64.174.69” to fit your server’s IP – keep reading if you’re unsure of how to do that. How To Check Your League Of Legends Chat Server IP Open The Command Prompt Enter “euw1.lol.riotgames.com” into the Command Prompt. Here you can find all lookup results for public IP address 104.160.131.24 owned by Riot Games. This includes the type of address, DNS lookup information, ISP and location details. This includes the type of address, DNS lookup information, ISP and location details. Although we try to be precise with the lookup location and other details regarding a certain IP or domain we cannot guarantee 100% accuracy. But in most cases, at least when it comes to the USA and Europe, you will be able to get a credible result and information from our IP lookup and know where the device or person behind the requested IP address is geolocated.
C400.ru CS:Source Server ex Dust2 only v5394425. Riot Games Service Status. Cross-game Issues. All times shown in 24-hour format. Current Messages. Recently Closed. No recent issues.
So, how do you find the IP address then? Let me show you how to do that.
Find IP address in Linux command line
Well, you can use the ip command for this purpose. ip command is versatile and can be used for several other things related to networking.
But just to show the IP address, use the command with ip addr, ip a or ip address options (all are same) in the following manner:
And you will see an output like this:
In the above output, you can ignore the first one called lo (loopback). You can see that the IP address is displayed 192.168.1.20. The 24 that follows it is the subnet mask.
That’s it. That’s how you display IP address of host system in Linux command line.
Other ways to find the IP address of your system in Linux
There are more ways to check the IP address in Linux. Let me show you them as well.
Show IP address with hostname command
The hostname command usually displays the hostname of your system. It can also be used to display the IP address of the host:
It will simply display the IP address of the host in the terminal.
Display IP address with nmcli tool
Most Linux distributions come with a Network Manager tool. This tool has a command line interface called nmcli. You can use this nmcli tool to view a number of network configurations.
The IP address can be displayed with:
You should see the IP address in the output.
What about ifconfig?
Actually, you can still use ifconfig command. It is present in net-tools package. You can install it using the package manager of your system. However, use of net-tools is not encouraged so I suggest sticking with the ip command.
In Ubuntu-based distributions, you can install net-tools using this command:
Now you can use the ifconfig command to display the IP address of your system.
The output will be like this:
Again, ifconfig has been deprecated and should not be used.
Bonus Tip: Finding the public IP address of your system
What you saw so far was to display the private IP address of your system. What I mean is that if you use a network router, you are most probably behind a NAT.
The IP address of your system is a private one, used only for communicating with the devices on your sub-network. Any device outside your home/work network won’t be able to find you with this IP address. They need to now the IP address of your router. Your router recognizes your device and communicates via the private IP address.
How do you get your public IP address (IP address of your router)? You’ll have to utilize third party tools.
For example, you can use the host command with OpenDNS and get the public IP address:
Riot Server Ip Address Ip
The output should be similar to this:
In the end…
I hope this quick tip helped you in finding the IP address of your system in Linux command line. You may also read about finding the gateway IP in Linux.
Riot Server Ip Address Settings
As always, feel free to provide your feedback and suggestion in the comment section below.
Become a Member for FREE
Join the conversation.