Proxmox without external network

anyone21

New Member
Mar 21, 2024
6
0
1
Hello everyone,

Yesterday I had to format my home server (changed board and CPU) and lost internet conetivity on proxmox host.

I have my physical server with two network cards.

enp3s0 -> Home network
enp1s0 -> External

So on proxmox I have a opnsense vm that access the enp1s0 interface and routes it to internal network through enp1s0 interface

My interfaces file is:
Code:
auto lo
iface lo inet loopback

auto enp3s0
iface enp3s0 inet manual

iface enp1s0 inet manual
#WAN

auto vmbr0
iface vmbr0 inet static
        address 172.27.1.3/24
        gateway 172.27.1.1
        bridge-ports enp3s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 1-4094

auto vmbr99
iface vmbr99 inet manual
        bridge-ports enp1s0
        bridge-stp off
        bridge-fd 0
#WAN

On any VM I have with tag vlan 1 and connected to vmbr0 I have internet connection and all goes well, on my proxmox host I can access through internal network but it doesn't have internet connection

172.27.1.3 is the proxmoxhost and 172.27.1.1 is the opnsense vm internal network card.


Am i Missing something here?
 
Hey,

looks like the host (127.27.1.3) does not tag its traffic. You probably want to move the IP assignment from vmbr0 to vmbr0.1
Code:
auto vmbr0.1
iface vmbr0.1 inet static
    address 172.27.1.3/24
    gateway 172.27.1.1
so the host traffic is tagged.

Alternatively bridge-pvid 1 is also an option, this basically tags everything untagged entering the bridge with 1, so it wouldn't have to be done for every VM. But usually that's not what you want.
 
Last edited:

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!