Two default Gateway (GW)

luigi

Active Member
Feb 4, 2019
24
1
43
55
Hi Everyone.

In my environment I will have to setup two VLAN, one for DMZ and another one for internal LAN.

In attached you can find physical (Fig.1) and logical (Fig.2) view of my environment

I need to configure a default GW on DMZ and another one for internal LAN but I am not able to set two default GW from web UI.

How can I do this setting?



Bes regards

Luigi
 

Attachments

  • Fig1.JPG
    Fig1.JPG
    22.3 KB · Views: 28
  • Fig2.JPG
    Fig2.JPG
    22.9 KB · Views: 28
Having two default GWs does not work. It is the one default if there is not a more specific route configured.

If I understand you correctly, you will have some VMs in a DMZ VLAN right? The PVE host does not need to have an IP configured for that.
A VM in the DMZ can be configured normally.

If you do want/need an IP configured for the DMZ network on the PVE host, you can skip the default GW. Directly connected interfaces will have more specific routes set automatically as you can check with ip route.
 
  • Like
Reactions: gProxiA

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 yours easily in our online shop.

Buy now!