• Send Us A Tip
  • Calling all Tech Writers
  • Advertise
Friday, July 3, 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

Honda and Nissan Edge Closer to Strategic Alliance as Shared Vehicle Brain Nears Approval

How Smart Rings Track Your Health: The Tiny Wearables That Know More Than You Think

Why Your Phone Stops Fast Charging at 80% And Why That’s Actually a Good Thing

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

Honda and Nissan Edge Closer to Strategic Alliance as Shared Vehicle Brain Nears Approval

by Samir Gautam
July 2, 2026
0
Honda Nissan Partnership Moves Closer With Shared ECU

Honda and Nissan appear to be entering a decisive phase in their growing partnership, with both Japanese automakers making significant progress toward a technology-sharing agreement that could influence...

Read more

How Smart Rings Track Your Health: The Tiny Wearables That Know More Than You Think

by Ishaan Negi
July 2, 2026
0
How Smart Rings Track Your Health: The Tiny Wearables That Know More Than You Think

Smartwatches have dominated the wearable technology market for years, but a much smaller gadget is quietly becoming one of the most advanced health trackers available. Smart rings pack...

Read more

Why Your Phone Stops Fast Charging at 80% And Why That’s Actually a Good Thing

by Ishaan Negi
July 2, 2026
0
Why Your Phone Stops Fast Charging at 80% And Why That’s Actually a Good Thing

If you've ever watched your phone charge, you've probably noticed a curious pattern. The battery races from 0% to 50% in what feels like minutes, reaches 80% surprisingly...

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?