Two default Gateway (GW)

luigi

Active Member
Feb 4, 2019
24
1
43
56
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: 29
  • Fig2.JPG
    Fig2.JPG
    22.9 KB · Views: 29
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