Ifconfig which is my ip. This works the same in both Command Prompt and PowerShell.

Ifconfig which is my ip How to Find Your IP Address in Windows - Settings Click on your internet connection in the lower-right corner of your Taskbar. Look for the line labeled "IPv4 Address" — this is your private IP address. The website serves as a quick reference for individuals seeking to identify their IP address without the need for complex configurations or software installations. Press Enter to run the command. *\) . Mar 3, 2022 · Learn how to retrieve your public facing IP Address form the command-line for use in automation and scripting. su • What is my IP address? — The best tool to find your own IP address, and information about it. Feb 16, 2016 · Below are the commands used to find your IP Address on different operating systems: WINDOWS IP ADDRESS Start a CMD window and type ipconfig or ipconfig /all (not case sensitive) and press ENTER LINUX IP ADDRESS Start a TERMINAL session and type ifconfig (is case sensitive) and press ENTER SOLARIS IP ADDRESS Start a TERMINAL session and type ifconfig -a (is case sensitive) and press ENTER APPLE . Nov 26, 2019 · Explains how to find out your IP address (eth0) under a CentOS / RHEL / Fedora / Redhat Enterprise Linux using ip/ifconfig command line options. On most modern distributions ifconfig has been depracated, use ip instead. Running ifconfig returns command not found. But running ifconfig on the server does not sh The ip command in Ubuntu checks the IP address. Oct 9, 2025 · Get Ip address with ifconfig command in Linux The ifconfig command is a common command that is used to view IP related information in Linux. Check Local IP address via ip command: There’s another command looks more straightforward. When the command is successful, it doesn’t produce any output. So using ‘ifconfig’, ‘ip addr show’, ‘hostname -I’ or via the GUI won’t show the public IP. There are a couple of CMD Commands to check IP addresses in Windows 10/11. When i'm putting the code on: ifconfig ifconfig results in a terminal shows: eth0 Link encap:Ethernet HWaddr: f8:a9:63:64:3f:1c UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets: 0 errors:0 d You can find your IP address a couple of ways. More choices. It is used at boot time to set up interfaces as necessary. What is Ifconfig? Ifconfig, short for "interface configuration," is a command-line tool commonly used in Unix-based operating systems. We can use several several commands to interact with this site and get our current public IP address from this URL. root). As for IPv6, you only have a link-local address, which suggests that your local network supports it but your ISP doesn't May 7, 2011 · T he ifconfig command does not show IP address on my Linux based laptop computer. Oct 17, 2011 · You can use ifconfig to get the IP address of any of the interfaces on the system (note that there may well be more than one interface and more than one IP address). la • What is my IP address? — Fast, scalable ip lookup service server implementation powered by fastify and maxmind May 8, 2024 · H ow do I find out my Linux / UNIX system ip address, subnet, and related networking information from a bash shell command prompt? How can I determine my private and public IP addresses from the command line? To find out the IP address of Linux/UNIX/*BSD/macOS and Unixish system, you need to use the command called ifconfig on Unix and the ip command or hostname command on Linux. co — What is my IP address? The best tool to find your own IP address, and information about it. 142 Aug 31, 2022 · Also, read about how to check the mac address of your computer or any remote computer in the network. me is a straightforward online tool designed to provide users with their public IP address. Syntax ifconfig [interface] ifconfig interface [aftype] options | address Options interface The name of the interface. Thank you for your question and reaching out. Two commands, ifconfig and route, are used for network configuration. This page covers the GNU / Linux version of ifconfig. In Linux, the standard tool for displaying and configuring network interfaces is ip . 111. com. cx • What is my IP address? — The best tool to find your own IP address, and information about it. Here’s an example of the output from ipconfig. For the gateway, issue the ip route command and take note of the default route. The ifconfig (interface configuration) command in Linux is used to configure, manage, and display network interface settings. Multiple computers can have a single public IP if a network is set up using a technique called NAT (Network Address Translation). In this article, we will explore several methods to find your IP address in a Linux environment. The command output includes the interface name, its assigned IP address, netmask, broadcast address, and other network-related information. Jun 1, 2025 · There is a difference between the local IP address and the public IP address (your router’s IP on the Internet). One is ipconfig. The output will display the private IP address for all the network interfaces. How to use Dec 17, 2024 · The ifconfig command, part of the net-tools package, is a powerful utility used for network interface configuration in Unix-like operating systems. *$/\1/p' In this case, sed -n eliminates the routine printing of lines from input, and the search Get my IP Address ★ ifconfig. Wrapping It Up To sum up, ipconfig is a robust tool that is commonly underused for network planning and troubleshooting purposes. 255. But how do I find my Public IP? (I have a static public IP but I want to find it out using unix command) ifconfig. me/ip in your web browser of choice, you would see nothing except a public IP address. You have new mail in /var/spool/mail/acer acer@linux-ukd8:/etc> sudo ifconfig root’s Oct 27, 2010 · A better way: get ip adress from command "ip", because "ifconfig" is out of date. 2 on acer aspire 5515. Now about why there is more than one address. Important: ifconfig has been deprecated in favor of the ip command in many Linux distributions, but it is still available on some systems or can be installed separately. For me, the VM (using a DHCP address from my router) was not in my local machine's arp table. This article provides a comprehensive guide to uncovering your Linux system’s IP address and understanding its significance When curl'd or wget'd it's just your IP (when viewed normally it gives more info). By default, the ipconfig command displays your IP Address, Subnet Mask, and default gateway. Aug 31, 2022 · Also, read about how to check the mac address of your computer or any remote computer in the network. But what if the machine has no default route, but still has >1 IP addresses? Aug 20, 2021 · To find your local IP address on Windows 11, open Settings -> Network & Internet -> Your Wi-Fi Network. This article is part of the following series. com Need a robust API to Geolocate IPs and fetch other crucial information? Try IPinfo. " Oct 9, 2025 · Open the terminal application. I have openSuSE 11. If you know which interface you want the address for (e. Under Properties, look for "IPv4 address" to find your local IP address. Here are multiple ways to get the IP of host system in Linux. So if you are still curious how to read the output of ifconfig, you can continue reading this article. Used without any options, ifconfig displays network settings of all network interfaces on the system: In the picture above you can see, among other parameters, the IP address (inet addr) and the MAC address (HWaddr) of your system. But if you use Linux, you can get your public IP Address from the command line using curl command. co is a user-friendly online tool designed to help users quickly identify their public IP address along with additional information related to it. This works the same in both Command Prompt and PowerShell. search. Otherwise you will get a problem on using "ifconfig", because the output of ifconfig is language dependend. What is 0. This command can also be used to configure, disable and enable a network interface. Usually a driver name followed by a unit Learn what ipconfig is - and ipconfig commands like /release, /all, and /flushdns - to get the most out of this essential tool. May 11, 2009 · ifconfig en0 | grep inet | grep -v inet6 Output of above is expected to be in the following form: inet 192. How do I get this programmatically? Jul 11, 2025 · Knowing your IP address is fundamental for network administration, troubleshooting, and various Linux system tasks. Commonly, it’s used for querying or configuring network interfaces to facilitate networking capabilities on a given system. me to get the public IP address. As you know, especially if you are connected to a router, it will provide you private IP via the DHCP and it is NAT’ed. g. When I run the command I get acer@linux-ukd8:/etc> ifconfig Absolute path to ‘ifconfig’ is ‘/sbin/ifconfig’, so running it may require superuser privileges (eg. The best command line collection on the internet, submit yours and save your favorites. To make it knows on the network I had to get the VM to attempt a connection to my host ip - which was tricky, since i couldn't access the VM, but i did it. It enables users to manage IP addresses, troubleshoot network connectivity, and configure Aug 8, 2015 · Explains how to find my public IP address using the dig and host command line options on a Linux operating systems. co ifconfig. Oct 6, 2021 · So on Linux you should consider using ip link and ip address instead of ifconfig. In addition to revealing the IP Jul 23, 2025 · 3. www. With ifconfig, you can display your current network settings, including your local IP address, netmask, and broadcast address. It forms part of iproute2, which is by default included with most Linux releases. Linux command to find local ip address of a Linux system. *Bcast:\(. 100 netmask 255. If you need to find your public IP address, you can use the curl command. I've just installed CentOS7 as a virtual machine on my mac (osx10. 04. What is my IP address?Your IP: 52. How to get my IP So far, the following who use ifconfig in the domain name. Normally, if we want to find the public IP Address we use, we go to google and search “what is my ip address”. May 31, 2024 · The output will contain basic network information about each of the network adapters on your computer or server. me/port -> Port thonks to http://ifconfig. Oct 21, 2023 · If you were to navigate to https://ifconfig. To display your IP address in Linux, you can use the ifconfig command. To get more detailed information we need to use one or more of the command options discussed below. There’s much more to learn about this powerful tool, including more advanced usage scenarios and tips. Oct 4, 2016 · In my pc's network sharing center, there's wifi, ethernet, vpn, dial-up connection. To access your Raspberry Pi remotely (over the Internet), you need to set up port forwarding from your public address to the Raspberry Pi. This guide provides an in-depth look at ifconfig, including how to use it to set IP addresses, enable/disable interfaces, and troubleshoot network issues, complete with practical examples. Oct 9, 2025 · The best way to find your IP address on Mac is to use ifconfig command in the terminal. To get the IP address using the ifconfig command in Linux, follow these steps: Open a terminal: Launch a terminal Jul 24, 2023 · ifconfig in short “ interface configuration ” utility for system/network administration in Unix/Linux operating systems to configure, manage, and query network interface parameters via command-line interface or in a system configuration scripts. Run curl ifconfig. Although ifconfig is considered deprecated in favor of the ip command in many modern distributions, it remains a vital Jan 16, 2012 · If I check with google, I can see my public IP. Get my IP AddressNeed a robust API to Geolocate IPs and fetch other crucial information? Try IPinfo. 5 days ago · What is My IP in Linux? Unveiling Your System’s Identity Discover exactly what is my IP in Linux using command-line tools and explore the difference between public and private addresses, allowing you to troubleshoot network issues and configure services confidently. After that, it is usually only needed Dec 12, 2023 · In this example, we use the ifconfig command to activate the network interface named ‘eth0’. Enter the following command: ip addr show Your IP address will be listed next to inet under the interface name. I have seen solutions using an external Oct 19, 2025 · About ifconfig. Linux ifconfig and ip command help. Is there an easy way in a unix terminal to get just the IP address, rather than looking through ifconfig? Apr 26, 2025 · How to Check IP Address on Linux Command Line. What do we know about this IP address? In EU? This information is provided from the GeoLite2 database created by MaxMind, available from www. In this article, I will explain the ipconfig command and the different options that you can use. Jun 11, 2010 · I come from ubuntu were ifconfig is used to check my ip address and cards on my computer. Note: To find the address of a different connection, click on Network & Internet settings here. me/ua ->User Agent curl ifconfig. 0 Oct 14, 2021 · The ipconfig command is used to display information about your network configuration and refresh DHCP and DNS Settings. It is particularly useful for those who want to check their connection details Apr 18, 2025 · Ifconfig commands are one of the basic commands in Linux networking. com? Simple cURL API! $ curl ifconfig. Jun 28, 2021 · The ifconfig command is deprecated and replaced with ip and may not be included in the newer Linux distributions. Jan 22, 2017 · Unfortunately, when behind a router, the IP address you would get from ipconfig or ifconfig is the internal home or office network IP address of your computer, which is only visible to other internal home or office network devices. The IP address is four sets of digits May 6, 2025 · Find your private IP address On Windows, you can use the ipconfig command to display your network configuration details. Both "ip a" and "ifconfig" will give you an IP address. Jul 12, 2025 · A quick and easy guide for locating your Mac computer's IP using System Settings or the TerminalWhen your Mac is connected to a network, it is assigned an address on the network called an IP address. Hope this can help you. The ifconfig command provides more detailed output related to your system IP. It allows users to view the status of network interfaces, configure IP addresses, enable or disable interfaces, and more. Lets say that your first interface is eth0, you could get a bit more direct with ip and use "ip addr show eth0". io/ip 52. The “ ifconfig ” command is used for displaying current network configuration information, setting up an ip address, netmask, or broadcast Are you expecting to see a public IPv4? Because that's your router's address, the device isn't aware of it. These commands Dec 16, 2011 · I'm trying to use just the IP address (inet) as a parameter in a script I wrote. co • What is my IP address? — The best tool to find your own IP address, and information about it. Typical resource via a web browser is is whatismyip. But how exactly do you use ifconfig for network interface configuration? Your business is getting a private IP address from your ISP? Normally ISPs reserve the public IP addresses for business customers because they pay more than residential customers, and give any private IP addresses to residential customers. Oct 27, 2024 · Learn how to use cURL commands to check your public IPv4 and IPv6 addresses quickly and easily from the command line. 144. io. me) but the standard networking tools can't figure it out locally. As you get more familiar with it, you will know that you cannot do without it regarding network diagnostics. me ifconfig. If you are using Linux, ifconfig is deprecated and you will want to use ip. Since public IP is normally not provided free of cost, people use a What is my IP address? 52. Nov 17, 2023 · Using ifconfig Command The third method to find your IP address involves using the ifconfig command. This command will show you a variety of information about your network. Jul 23, 2025 · Method 1: Using the ip addr Command to Check IP address in linux ip addr command is the most consistent and up-to-date way to inspect your IP address. ifconfig in Linux is a utility that you can use to view and configure gateway settings. Click on Properties next to your internet connection. me/host -> Remote Host curl ifconfig. io/host msnbot-52-167-144-191. Feb 11, 2025 · On the other hand, macOS and Unix/Linux systems use the ifconfig command, which offers similar functionality but with a different syntax and additional features. Jun 1, 2025 · Linux ifconfig command, featuring practical examples and detailed information on configuring network interfaces in Unix-like command line systems. Here are some tips to solve this problem under Linux operating system when the ifconfig command does not show IPv4 address on Linux. Apr 23, 2010 · In linux, how can I get my IP address - ifconfig and ip addr show are not working Ask Question Asked 15 years, 7 months ago Modified 6 years, 10 months ago Oct 14, 2025 · Are you looking for an easy way to find your Mac's IP address? The Mac Terminal is the perfect tool for finding your network settings, including the physical May 6, 2020 · The ip command is the future of network config commands. meAbout ifconfig. Open the Terminal window and type in the following command: “ifconfig” . Feb 6, 2023 · Hi. You can easily find Public IP address (IPv4 and IPv6) assigned to your computer Dec 22, 2012 · Is there a way for me to get my public (WAN) IP address on the command line? I am behind a router (LAN network), with a dynamic IP address assigned by my ISP. How to Find the IP Address in Windows 10/11 Using the Command Prompt In this tutorial, we will learn how to find your IP address in Windows 10 using the Command Prompt. I am ro Jul 27, 2020 · For other desktops or Ubuntu server without an UI, you can run ifconfig command to find your IP. ifconfig. *$/\1/p' In this case, sed -n eliminates the routine printing of lines from input, and the search Apr 18, 2025 · Ifconfig commands are one of the basic commands in Linux networking. me - (Get your external IP address curl ifconfig. io 52. 191 $ curl ifconfig. me would be the best choice, in case you don't have curl: wget -qO- ifconfig. The operating system of the server is ubuntu 18. Need a hosts file to protect you from big tech - canihazprivacy. Aug 30, 2024 · Learn how to effortlessly check your IP address in Windows 10 using Command Prompt. Aug 10, 2024 · However, ifconfig is still able to use in many systems, and some of the users still use ifconfig to just check the IP address or change some configuration. See full list on howtogeek. May 25, 2020 · You can determine your system private IP address by querying the network stack with commands such as ip, ifconfig or hostname. 168. To open a command prompt, right-click the start button and choose PowerShell (Admin) or Windows Terminal (Admin Aug 2, 2022 · Ifconfig is an older version of the ip command, but many still prefer ifconfig due to its simpler syntax and ease of use. com However you can use ifconfig. The ifconfig command is a powerful tool for managing network interfaces on Unix-based operating systems. 0. Jun 1, 2025 · On some Unix-like operating systems, ifconfig is used to configure, or view the configuration of, a network interface. Key Features of ip addr: It shows advanced data Simple cURL API! $ curl ifconfig. 255 Add an awk statement to print the second column to avoid using cut (awk is a pretty standard unix tool): I think that everybody should start using ip addr show <INTERFACE> because the ifconfig way is deprecated on recent linux systems and I noticed that ifconfig behaviour on a Lollipop Nexus 5 and Marshmallow Nexus 5X was different for ifconfig and netcfg, so ip addr show way was the only way I could get both working predictably. co Good. , eth0, the first Ethernet card), you can use this: ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1)" In other words, get me the network configuration information, look for eth0, get that line and the next one (-A 1 Apr 21, 2010 · curl ifconfig. Mar 6, 2025 · In this post, I will show you how to get Public IP address using PowerShell. msn. I’d be more than happy to help you with your query Two command line utilities that can be used to check TCP/IP configurations and IP connectivity are: ipconfig (for Windows) or ifconfig (for Linux): This utility displays information about the network configurations of the local system, including IP addresses, subnet masks, default gateways ifconfig I nter f ace config urator - display your ip address, network interfaces, transferred and received data information, configure a network interface. Nevertheless, the primary tool used for configuring routing in recent Linux distributions is IP. Oct 9, 2025 · Change IP address using ifconfig command in Linux If you see an interface that is not configured correctly, you can use ifconfig to change its settings. Nov 18, 2015 · It's not so easy if you want to take into account wlan and other alternative interfaces. me/). It connects your local network to the Internet. Check this post to get more info about how to find ip address in Linux. io/host msnbot-52-167-144-236. Tried ipconfig and gip (powershell) both of them shows different ip compared to ip from the browser. Also running sudo /sbin/ifconfig returns commmand not found. 3 + virtualbox) . Mar 12, 2023 · I'm allowed to access a server via ssh. Another one is netsh. Feb 11, 2023 · In summary, finding your IP address in Ubuntu can be done using either the ip addr or ifconfig commands. Learn to manage network configurations efficiently on Ubuntu systems. me/ip -> IP Adress curl ifconfig. Related: Step by Step Guide to troubleshoot a network issue in Linux. Follow our step-by-step guide to master this essential tech skill. Public or External IP address is the one provided by your Internet Service Provider (ISP). ifconfig has been officially deprecated for the ip suite, so while many of us are still using the old ways, it is time to put those habits to rest and move on with the world. maxmind. ifconfig. Apr 21, 2025 · Discover how to easily find your IP address on Windows 11 using CMD with our step-by-step guide, ensuring seamless navigation and connectivity. 9. Includes commands, tips for IT teams, and troubleshooting steps. Feb 13, 2025 · Finding Your Mac’s Local IP Address Discovering your Mac’s local IP address is a straightforward process that can be accomplished through the Terminal using specific commands. Oct 28, 2024 · Refreshing IP Address: You can renew your IP address using ipconfig /renew if you’re troubleshooting connectivity. co/all. On modern Linux systems, the ip command has replaced ifconfig. This article will delve into the basics of using ifconfig to add an IP address to an interface, ensuring your system remains connected to your network You configure your network client hosts with the command line by using commands to change your current settings or by editing a number of system files. 0 ip address? 5 days ago · Learn how to check your IP address in CMD quickly on Windows. Using the ipconfig /all command The ipconfig /all command provides a comprehensive list of information about each adapter, including the IP address, subnet mask, default gateway, DNS Feb 29, 2024 · Conclusion In this article, we have shown you how to find your IP address on Mac using the command line, which is a useful skill for any Mac user. me to obtain that same IP information via command line via an Administrative PowerShell Prompt. Default Gateway: This is your router's IP address. Likewise, ip route to replace route, bridge (in addition to ip link) to replace brctl and then other subcommands of ip to replace various other commands (for VLANs, tunnels, bond interfaces). IFCONFIG(8) Linux System Administrator's Manual IFCONFIG(8) NAME top ifconfig - configure a network interface SYNOPSIS top ifconfig [-v] [-a] [-s] [interface] ifconfig [-v] interface [aftype] options | address DESCRIPTION top Ifconfig is used to configure the kernel-resident network interfaces. 236 Multiple command line HTTP clients are supported, including curl, httpie, GNU Wget and fetch. PowerShell Invoke-WebRequest The Invoke-WebRequest command sends requests to a URL. Get my IP Address You can also type ifconfig en0 or ifconfig en1 for the configuration of a particular interface only (as someone said in their answers, en0 is typically the wired Ethernet while en1 is the WiFi interface). me is a webservice that displays information about your connection Apr 9, 2024 · Find your IP address on Ubuntu using command-line tools or GUI. What about DHCP? ifconfig stands for "interface configuration. Feb 8, 2025 · Understanding Gateways in ifconfig A gateway is a device like a router that connects your local network to the internet or a different network. 1 netmask 0xffffff00 broadcast 192. Oct 6, 2009 · I can find my IP address using ifconfig or hostname -i command. You can find the private and public IP addresses of your Linux server; it depends o A Simple Public IP Address API Want to get started right away? Don't wait, run one of the code samples below in your terminal and check it out! May 8, 2024 · Explain how to find out an IP address assigned to an eth0 or br0 interface under Linux using ifconfig and ip commands. Basically, it is used to configure and manage various network interfaces. Introduction There are multiple instances in which you will need to locate the IP address of your Linux server. If I type ipconfig to checkout my ip address, it lists all kinds of address info separated by all kinds of adap Mar 8, 2024 · The ifconfig command in Linux is a powerful tool for network interface configuration and management. This is just a basic usage of the ifconfig command in Linux. me/ip ifconfig. json (included the headers sent with request). But with correct parameters, you can get a lot more information out of it. It enables users to view and configure network interface parameters, making it essential for systems administrators and network engineers. What does it mean if your local IP Address is different from your external IP address? If your local IP is different than the external IP, it means that you are behind a router and that you are sharing the external IP with at least one device (the router being one of them). Check Your Public IP address: For me, the VM (using a DHCP address from my router) was not in my local machine's arp table. You can use the ifconfig or ipconfig commands to find your local IP address, and the curl command to find your public IP address. However, with newer commands such as ip in modern distributions these days, ifconfig is still popular among network administrators and enthusiasts of Linux. Oct 8, 2012 · 30 You can use ifconfig, it will show your inet address (IP) and mask. The website provides a straightforward interface that displays the user's IP address prominently, making it easy for individuals to access this information without any technical knowledge. 100, you would type the following into your terminal: ifconfig eth0 192. This command will only show the eth0 interface. net • What is my IP address? — The best tool to find your own IP address, and information about it. io ifconfig. Explore installation and execution steps for accurate IP retrieval. Is there something on the Ubuntu command-line which will yield me the same answer? Nov 10, 2012 · How do you define "primary"? If you're thinking "the IP address that's on the same subnet as my default route", you'll need to program a bit for that. How do I fix this problem? You need to configure your networking. 167. I was given the ip address and port number of ssh service. Finding your computer’s IP address through Command Prompt is a quick and easy process. You can ask a service to echo back the IP it sees the connection from (like by running curl ifconfig. show • What is my IP address? — The best tool to find your own IP address, and information about it. Enter the following command to check the private IP address on your system: Oct 9, 2025 · In Linux, you can view a list of all the network interfaces and their associated IP addresses by running the ifconfig -a or ip addr command. Using ifconfig Command The ifconfig command is a versatile tool for configuring network Mar 31, 2019 · How do I find out the IP address of in Linux ? It's a common question for a number of Linux users. Continue reading for a comprehensive guide on mastering the ifconfig Jun 15, 2023 · Look for your adapter, and your IP address will be there. While ipconfig focuses on IP configuration, ifconfig handles both IP and other network interface parameters, making it a more versatile tool in non-Windows environments. Jan 30, 2013 · Add a comment | Show 3 more comments curl ifconfig. This section covers the primary method using the ifconfig command, along with alternative approaches for more tailored needs. This powerful utility enables users to view and manage network interface configurations. Also can request via json - ifconfig. Jun 1, 2023 · How to find public ip address of a windows 11 pc using powershell or command prompt. For example, to change the IP address of eth0 to 192. Learn how to use the ipconfig cmd command on Windows to display IP Addresses, release/renew an IP address, and flush DNS cache. Simply run: ip address 4. Get my IP AddressBrought to you by dudetechitout. Dec 16, 2024 · During the course of implimentation or troubleshooting, there may be a need to Identify the Public IP address of a connector server. IPv4 display If you are certain that wlan0 is the interface, then you can return the information for just this interface with: ifconfig wlan0 Now that you have only one line with Bcast: in it (eliminating tail) you can use sed to combine the grep and cut functions: ifconfig wlan0 | sed -n 's/^. So far, the following who use ifconfig in the domain name. As an alternative, netstat -i will list all interfaces and will show you the IP addresses you have assigned to each of them. Your business is getting a private IP address from your ISP? Normally ISPs reserve the public IP addresses for business customers because they pay more than residential customers, and give any private IP addresses to residential customers. Although the ip command has largely replaced ifconfig in modern distributions, ifconfig is still… Sep 22, 2025 · Learn how to get your public IP on Linux using curl. ifconfig If the command does not exit, run command to install it: sudo apt install net-tools 3. 236 $ curl ifconfig. nidvn ulnvobz ileo kczegh sexci fmz evf zyjik minx pwfwx bsx bophgjxz xxojc cqukgw frgxwxj