[SOLVED] 2 bridges 1VM

brosky

Well-Known Member
Oct 13, 2015
55
4
48
Hi,

I'm a seasoned proxmox admin and unfortunately i've hit a brick wall with a basic config that I have successfully working in 8 servers and in this one, no luck:

auto lo iface lo inet loopback iface lo inet6 loopback auto enp8s0 iface enp8s0 inet manual up route add -net 1.2.3.128 netmask 255.255.255.224 gw 1.2.3.129 dev enp8s0 auto enp65s0 iface enp65s0 inet manual auto vmbr0 iface vmbr0 inet static address 1.2.3.144/27 gateway 1.2.3.129 bridge-ports enp8s0 bridge-stp off bridge-fd 0 auto vmbr1 iface vmbr1 inet static address 10.2.0.1/24 bridge-ports enp65s0 bridge-stp off bridge-fd 0

VM with 10.2.0.2/24 attached to vmbr1 , no internet access unless I do a masquerade for the subnet on the host.
All defaults. Installed via debian + repo.

Linux 5.4.65-1-pve #1 SMP PVE 5.4.65-1 (Mon, 21 Sep 2020 15:40:22 +0200)
pve-manager/6.2-15/48bd51b6
latest updates, etc.

It bothers me because I didn't had to use NAT table before.
Any ideas where to check ?
 
how do you want to access to internet with private ip address ?

you neep public ip or nat.
I've solved - I could not see the forest from the trees :)

On every other setup I have routed environments, in this one not - so I had to NAT it. I'll mark it as solved.