Find Your Linode's IP Address
Updated by Linode Written by Linode
Finding your Linode’s IP address (or addresses) is easy and can be done in two different ways.
From the Linode Manager
Log in to the Linode Manager.
From the Linodes tab of your account, select the Linode you want to work with.
Click the Remote Access tab.
- The Linode’s public IP addresses (both IPv4 and IPv6) are under the Public Network section near the top of the Remote Access page.
- Private addresses are under the Private/LAN Network section near the bottom of the page.
The graphic above shows:
- One public IP address,
96.126.109.54
on a255.255.255.0
subnetwork. - One public IPv6 address,
2600:3c03::f03c:91ff:fe70:cabd
on a/64
subnet. - This Linode does not have a private IPv4 address.
- One private IPv6 address (Link-Local IP),
fe80::f03c:91ff:fe70:cabd
, also on a/64
subnetwork.
From an SSH Session
Use the command below to view your Linode’s IP addresses:
ip addr | grep inet
An example of the output:
root@localhost:~# ip addr | grep inet
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
inet 45.56.99.254/24 brd 45.56.99.255 scope global eth0
inet 97.107.134.191/24 scope global eth0:1
inet 192.168.192.154/17 scope global eth0:2
inet6 2600:3c03::f03c:91ff:fe26:7e8e/64 scope global mngtmpaddr dynamic
inet6 fe80::f03c:91ff:fe26:7e8e/64 scope link
The output shows:
- Two public IPv4 addresses,
45.56.99.254
and97.107.134.191
- One private IPv4 address,
192.168.192.154
- One public IPv6 address,
2600:3c03::f03c:91ff:fe26:7e8e
- One private IPv6 address,
fe80::f03c:91ff:fe26:7e8e
NoteDHCP will only recognize one IPv4 address. If you have more than one IPv4 address assigned to your Linode, you must either set those addresses statically or enable Network Helper. Otherwise, those addresses will not be usable to the system, nor will they display in
ip
commands. See the following guides for more information:
Join our Community
Find answers, ask questions, and help others.
This guide is published under a CC BY-ND 4.0 license.