Add second ip / gateway
Hi,
Adding a second ip on a linode server.
Linode provided 2 public IP with different gateways for the same server, how are we supposed to use both IP concurrently ?
Thanks.
1 Reply
If you reached out to request two IPs for technical reasons, two IPs with different default gateways should work for you without issue. You can test to see if they are configured by trying to ping both IPs.
We recommend using Network Helper for most use cases. That helper will be able to handle setting up two different IPs, even with different default gateways. After you reboot with the second IP added, you can check the network configuration file and ip r
output, and you should see that one gateway is chosen, but both IPs will work.
We also have guides to help with manual configurations:
If you run into a specific problem with your IPs while setting up your desired use case, you can share any logs or error messages you see and someone might be able to provide more specific troubleshooting.