Machine doesn't respond after IP swap

Linode Staff

I've swapped my IP to a restore box, now that I've swapped it back, the machine isn't responding.

2 Replies

There are some things that you want to look at when booting up a Linode after an IP swap. One of the things that might help with a successful boot is enabling Network Helper.

What Network Helper is designed to do is automatically configure static IP address configuration files, and it will update those to the new IP.

Network Helper

If Network Helper is turned off and you've manually configured a static IP address, you would need to update the configuration for that new address.

Static IP Configuration

Another thing to consider if you're unable to reach the IP address after awhile is letting the router directly know that the IP has changed. We've added a note describing how to do this in the section of our 'Remote Access' guide that talks about Swapping IP Addresses:

If the IP is unreachable after a few minutes, you may need to notify the router directly of the IP change with the arp command run on your Linode:

arping -c5 -I eth0 -S 198.51.100.10 198.51.100.1
ping -c5 198.51.100.10 198.51.100.1
Replace 198.51.100.10 with your new IP address, and 198.51.100.1 with the gateway address listed in your Remote Access tab under “Default Gateways”.

Thanks @rgerke - I think the arping command is meant to have a lower case s:

arping -c5 -I eth0 -s 198.51.100.10 198.51.100.1

Thankfully after hours of unresponsive IP this worked. It would be great of a real fix can be applied here as this issue has been ongoing for years.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct