Proxmox as a bridge

udrop

New Member
Mar 9, 2021
3
0
1
54
There is a clean installed proxmox system. There is an OVS installed. There is one interface per enp0s3 input and one external ip (192.168.1.5/24) and gateway (192.168.1.1). There are two OVS bridges vmbr0 and vmbr1, with VMs connected to vmbr1. There is a debian container that is intended to be used as a gateway. The container has two network cards (eth0 is connected to vmbr0 and eth1 to vmbr1). How do I configure this debian container as a gateway?
 
Have you already seen the chapter Host System Administration in the Proxmox VE Administration Guide?

Generally, it is also helpful if you copy & paste the output of
Code:
cat /etc/network/interfaces
 
Have you already seen the chapter Host System Administration in the Proxmox VE Administration Guide?

Generally, it is also helpful if you copy & paste the output of
Code:
cat /etc/network/interfaces
pve interfaces:

auto lo
iface lo inet loopback

auto enp0s3
iface enp0s3 inet manual
ovs_type OVSPort
ovs_bridge vmbr0

auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge

auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports enp0s3

==============================
lxc gateway interfaces:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.90/24
gateway 192.168.1.1

auto eth1
iface eth1 inet static
address 192.168.2.2/24

==================================
iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT

So there is no access to web pve and no ping
 
So there is no access to web pve and no ping
You should solve this problem first and think about the gateway stuff later. Try to use tools like tcpdump -i <some_interface> to see where packages arrive and where they dont.
 

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!