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

How To Get the One Wish Willow Sprite in Fortnite

How to Breed Punkleton in My Singing Monsters

Anthropic Tells Investors Quarterly Revenue Surged Nearly 50% to $16.8 Billion Ahead of IPO

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
Tweet55SendShare15
Previous Post

Top Terra Ecosystem Coins To Follow

Next Post

How to see Instagram private account posts

Khushi Sethi

Recommended For You

How To Get the One Wish Willow Sprite in Fortnite

by Khilav Jadav
October 16, 2026
0
How To Archive Items in Fortnite

The One Wish Willow Sprite is a Mythic collectible added to Fortnite with the v42.40 update during Fortnitemares 2026. It has unusual abilities, but finding one can take...

Read more

How to Breed Punkleton in My Singing Monsters

by Khilav Jadav
October 15, 2026
0
How To Breed Punkleton in My Singing Monsters

Punkleton is one of the most recognizable Seasonal Monsters in My Singing Monsters, thanks to its pumpkin head, skeletal body, and spooky musical style. It appears during special...

Read more

Anthropic Tells Investors Quarterly Revenue Surged Nearly 50% to $16.8 Billion Ahead of IPO

by Shailja Jha
October 15, 2026
0
Anthropic Tells Investors Quarterly Revenue Surged Nearly 50% to $16.8 Billion Ahead of IPO

Anthropic has told investors that its quarterly revenue has climbed nearly 50% to $16.8 billion, highlighting the artificial intelligence company's rapid commercial expansion as it prepares for a...

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 iPhone IPO Market Markets Meta Microsoft News OpenAI samsung Social Media SpaceX startup startups tech Tech news 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?