Hello everyone, I think I just changed the IP of VPS, how should I operate?
Hello everyone, I think I just changed the IP of VPS, how should I operate?
3 Replies
rdaniels
Linode Staff
I also wanted to give you some extra tips. You mentioned that you think you've changed your Linode's IP address. You can check which address is assigned in Cloud Manager from the Networking tab. Then, you can run the below commands from within your Linode to confirm that the address matches.
Debian/Ubuntu
To view your network interface file:
cat /etc/network/interfaces
The next two commands will confirm, or deny, that your Linode's routing tables have the correct IP address.
ip a
ip r
CentOS
To view your network interface file:
cat /etc/sysconfig/network-scripts/ifcfg-eth0
The next two commands are the same for CentOS:
ip a
ip r