Proxmox VE multiple Gateways

dqq

Member
Jan 30, 2020
34
1
6
52
Hi,

I want to utilize IPs pointing to my server.
Some of them are failover IPs, that are set to my server and can be redirected to other machines in case of dedicated machine failure.


What I want to do is setting up IP address and gateway to my second Network Device, but I get default gateway error (as attached)

What I do have:
- Linux bridge vmbr0 for my main ip with gateway

What I want to add:
- Linux bridge vmbrX for my failover IP with different gateway


Thanks for help
 

Attachments

  • scr.png
    scr.png
    12.3 KB · Views: 98

aaron

Proxmox Staff Member
Staff member
Jun 3, 2019
3,068
512
118
There can be only one default gateway.

In most setups a failover is done on the router that is placed in front of Proxmox VE. I don't know a way of how to achieve failover in that way set up directly on Proxmox VE.

Maybe someone else has an idea or an actual working setup.
 
  • Like
Reactions: hmohr

Bent

Member
Jun 12, 2018
17
7
23
The advantages of a dual gateway setup on the OS level (Proxmox) for 'redundancy' is at best questionable. As @aaron said, usually you achieve failover / redundancy on the router level, which is way more suitable.

@dqq please provide more details about your setup here:

- Provider (//hosting company) (!)
- Do you want to use these additional IPs for a router / VM on Proxmox or Proxmox itself
- are all IPs GWs in the same subnet
 

Proximate

Member
Feb 13, 2022
130
2
18
62
Another advantage might be security. You could have management on one network and vms/resources on others.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!