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 Cloud Manager
Log in to the Cloud Manager.
From the Linodes tab of your account, select the Linode you want to work with.
Click the Networking tab.
A side panel opens to reveal more networking information including the subnet mask.
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 220.127.116.11/24 brd 18.104.22.168 scope global eth0 inet 22.214.171.124/24 scope global eth0:1 inet 192.168.192.154/17 scope global eth0:2 inet6 2600:3c03::f03c:91ff:fe73:9675/64 scope global mngtmpaddr noprefixroute inet6 fe80::f03c:91ff:fe26:7e8e/64 scope link
The output shows:
- Two public IPv4 addresses,
- One private IPv4 address,
- One public IPv6 address,
- One private IPv6 address,
DHCP 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
ipcommands. See the following guides for more information:
Join our Community
This guide is published under a CC BY-ND 4.0 license.