Hetzner – Additional IP ordered … how can I add it to the server?

Good question. I just did that and asked their support what can I do to enable it. They replied, like always with me, in less than 20 minutes but .. with an outdated tutorial. On Ubuntu 18.04 ifupdown package was replaced with netplan.

So .. I adapted it like this:

  1. ran “crontab -e” to edit the crons
  2. put, at the top the following line:


What does that do? On every reboot it adds your additional IP to be served by the network interface (in my case enp4s0).

Of course, if you don’t want to restart right after editing the crontab .. well, just run the command without the “@reboot” part.

That’s it!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.