Hi,
I'm working on setting up SDN in a new cluster. The first question is about the physical network topology.
Option 1)
Or is it possible to skip the OPNSense firewall at the edge and provision public IP addresses into the vxlans?
Option 2)
Option 1 is the standard setup for most companies, but it doesn't give you isolation between the containers on the network. Option 2 gives you more control to each of the container networks that are isolated, but it requires mapping the wan on the opnsense vm to the vmbr0 of a specific node. Option 2 is not ideal, because you wouldn't be able to live migrate the opnsense VM to another node without the whole network going down.
The other option I've been looking at is evpn, but I haven't been able to wrap my head around how the it should work and how to assign public IPs from our ISP to the containers/vms.
Any insight is much appreciated.
Thanks
I'm working on setting up SDN in a new cluster. The first question is about the physical network topology.
Option 1)
Code:
---------
-- ISP --
---------
|
V
-----------------------
-- OpnSense Firewall --
-----------------------
|
V
----------------------------
-- Proxmox Hosts With SDN --
-- 3 hosts in cluster --
----------------------------
|
V
---------------------------
-- LXC Containers --
---------------------------
Or is it possible to skip the OPNSense firewall at the edge and provision public IP addresses into the vxlans?
Option 2)
Code:
---------
-- ISP --
---------
|
V
----------------------------
-- Proxmox Hosts With SDN --
-- 3 hosts in cluster --
----------------------------
|
V
--------------------------------------------
-- OpnSense Firewall VM --
-- Wan bridged to Wan adapter on the host --
-- Lan mapped to the vxlan zone/vnet --
--------------------------------------------
|
V
------------------------------------
-- LXC Containers --
-- Lan mapped to vxlan zone/vnet --
------------------------------------
Option 1 is the standard setup for most companies, but it doesn't give you isolation between the containers on the network. Option 2 gives you more control to each of the container networks that are isolated, but it requires mapping the wan on the opnsense vm to the vmbr0 of a specific node. Option 2 is not ideal, because you wouldn't be able to live migrate the opnsense VM to another node without the whole network going down.
The other option I've been looking at is evpn, but I haven't been able to wrap my head around how the it should work and how to assign public IPs from our ISP to the containers/vms.
Any insight is much appreciated.
Thanks