routing through node

mir

Famous Member
Apr 14, 2012
3,568
127
133
Copenhagen, Denmark
Hi all,

Is it possible to route network traffic through a bridge on the node without exposing the node to the same subnet?

Eg. something like

netdev: eth2
Net: 172.16.1.0/24

VM net config:
# The primary network interface
auto eth0
iface eth0 inet static
address 172.16.1.10
network 172.16.1.0
netmask 255.255.255.0
gateway 172.16.1.1

Node net config
auto vmbr2
iface vmbr2 inet static
address 172.16.1.{2-5}
netmask 255.255.255.0
bridge_ports ???? <----- *)
bridge_stp off
bridge_fd 0

*)
bridge_ports none breaks route to/from gateway and VM's
bridge_ports eth2 exposes the node to the subnet
 

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!