Add additional bridge to VM in web gui

aidin_a

New Member
Sep 10, 2019
1
0
1
43
Hi,
I'm new in Proxmox, I added a new bridge in my server and add a NIC to it, but I can't add this new bridge to my guest VM. I need a VM with two NIC as a firewall.
You can find server network configuration as below:

1- #brctl Show
Code:
bridge name    bridge id        STP enabled    interfaces
fwbr100i0        8000.463af3fafccb    no        fwln100i0
                            tap100i0
fwbr101i0        8000.1a1db07d748e    no        fwln101i0
                            tap101i0
vmbr0        8000.d89d6716e8d8    no        eno1
vmbr1        8000.d89d6716e8d9    no        eno2
                            eno3
                            eno4
2- #networkctl status
Code:
●        State: n/a
       Address: 192.168.23.23 on vmbr0
                192.168.101.3 on vmbr1
                fe80::da9d:67ff:fe16:e8d8 on vmbr0
                fe80::da9d:67ff:fe16:e8d9 on vmbr1
       Gateway: 192.168.23.1 (Sophos Ltd) on vmbr0
3- /etc/network/interfaces
Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
    address  192.168.23.23
    netmask  255.255.255.0
    gateway  192.168.23.1
    bridge-ports eno1
    bridge-stp off
    bridge-fd 0

auto vmbr1
iface vmbr1 inet static
    address  192.168.101.3
    netmask  255.255.255.0
    bridge-ports eno2 eno3 eno4
    bridge-stp off
    bridge-fd 0

Proxmox web GUI only shows me vmbr0 (which is server access bridge).
thanks
 

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!