• Send Us A Tip
  • Calling all Tech Writers
  • Advertise
Tuesday, June 9, 2026
  • Login
TechStory
  • News
  • Crypto
  • Gadgets
  • Memes
  • Gaming
  • Cars
  • AI
  • Startups
  • Markets
  • How to
No Result
View All Result
  • News
  • Crypto
  • Gadgets
  • Memes
  • Gaming
  • Cars
  • AI
  • Startups
  • Markets
  • How to
No Result
View All Result
TechStory
No Result
View All Result
Home How to

How to find ip address in Linux

by Khushi Sethi
March 22, 2022
in How to, Tech
Reading Time: 2 mins read
0
How to find ip address in Linux
TwitterWhatsappLinkedin

Whether we realise it or not, we all use the Internet Protocol (IP) on a daily basis. When you type a website address or a search term into your web browser, for example, it looks up the IP address of that URL (or of a search engine) and then loads the website.

You might also like

Apple Unveils Siri AI at WWDC 2026 The Ground-Up Rebuild Powered by Google Gemini

How To Evolve Floette

How To Open The Secret Aquarium Loot In Heatwave Harbor In Fortnite

How to Check the IP Address in Linux: 12 Steps (with Pictures)
Source: Wikihow

Let’s divide IP addresses into private and public categories. Your WiFi box (and company intranet) will provide you with private IP addresses. They’re in the 10.x.x.x, 172.16.x.x, 172.31.x.x, and 192.168.x.x ranges, with x=0 to 255. Public IP addresses are “public,” as the name implies, and can be accessed from anywhere on the planet. Every website has a unique IP address that can be accessed by anyone, from any location; this is referred to as a public IP address.

Furthermore, IP addresses are divided into two categories: IPv4 and IPv6.

The format of IPv4 addresses is x.x.x.x, with x ranging from 0 to 255. There are 232 (approximately 4 billion) IPv4 addresses available.

IPv6 addresses have a more complicated hexadecimal format. There are 2 128—340 undecillion!—possible IPv6 addresses because the total number of bits is 128, which means there are 2 128—340 undecillion!—possible IPv6 addresses. IPv6 was created in order to deal with the impending exhaustion of IPv4 addresses.

Your WiFi router has a public IP address, which is the WAN (wide-area network) IP address, and any device connected to that WiFi will have the same address. The range provided above identifies the private IP addresses of all devices connected to the same WiFi.

The IP address list can be obtained using the following commands to find public IP addresses for your machine:

  • curl ifconfig.me
  • curl -4/-6 icanhazip.com
  • curl ipinfo.io/ip
  • curl api.ipify.org
  • curl checkip.dyndns.org
  • dig +short myip.opendns.com @resolver1.opendns.com
  • host myip.opendns.com resolver1.opendns.com
  • curl ident.me
  • curl bot.whatismyipaddress.com
  • curl ipecho.net/plain

The private IP address of your interfaces can be obtained using the commands below:

  • ifconfig -a
  • ip addr (ip a)
  • hostname -I | awk ‘{print $1}’
  • ip route get 1.2.3.4 | awk ‘{print $7}’
  • (Fedora) Wifi-Settings→ click the setting icon next to the Wifi name that you are connected to → Ipv4 and Ipv6 both can be seen
  • nmcli -p device show
Tags: IP Addresslinuxtechtechnology
Tweet54SendShare15
Previous Post

Top Terra Ecosystem Coins To Follow

Next Post

How to see Instagram private account posts

Khushi Sethi

Recommended For You

Apple Unveils Siri AI at WWDC 2026 The Ground-Up Rebuild Powered by Google Gemini

by Anochie Esther
June 9, 2026
0
Siri AI

Apple used its annual Worldwide Developers Conference on Monday, June 8, 2026, to introduce a radical shift in its software ecosystem. Headlining the opening keynote, the tech giant...

Read more

How To Evolve Floette

by Khilav Jadav
June 9, 2026
0
How to Evolve Floette Pokémon GO

Floette is a Fairy-type Pokémon that belongs to the evolutionary line introduced in Pokémon X and Pokémon Y. It evolves from Flabébé and can eventually become the elegant...

Read more

How To Open The Secret Aquarium Loot In Heatwave Harbor In Fortnite

by Khilav Jadav
June 9, 2026
0
How to Get the Free De-Rezz De-Stroyer Pickaxe in Fortnite

Fortnite is packed with hidden locations, Easter eggs, and secret loot spots that reward players willing to explore beyond the main points of interest. One of the newest...

Read more
Next Post
How to see Instagram private account posts

How to see Instagram private account posts

Please login to join discussion

Techstory

Tech and Business News from around the world. Follow along for latest in the world of Tech, AI, Crypto, EVs, Business Personalities and more.
reach us at info@techstory.in

Advertise With Us

Reach out at - info@techstory.in

Aviator Game India 2026

BROWSE BY TAG

#Crypto #howto 2024 acquisition AI amazon Apple Artificial Intelligence bitcoin Business China cryptocurrency e-commerce electric vehicles Elon Musk Ethereum facebook funding Gaming Google India Instagram Investment ios iPhone IPO Market Markets Meta Microsoft News OpenAI samsung Social Media SpaceX startup startups tech technology Tesla TikTok trend trending twitter US

© 2025 Techstory.in

No Result
View All Result
  • News
  • Crypto
  • Gadgets
  • Memes
  • Gaming
  • Cars
  • AI
  • Startups
  • Markets
  • How to

© 2025 Techstory.in

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?