[SOLVED] network breaks when making bridge.

Seigmannmons

New Member
Apr 1, 2020
2
0
1
35
Hello I am new to proxmox.
I have tried to search the webs but could not find info about my problem.

I have installed Debian (buster) and Proxmox 6.1 on top according to this instruction:
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster

when I make a linux bridge as per the instructions, the server breaks communication with the network. (up until this point the server is connected to the network)
I am running on a dl380 g6, only one ethernet cable connected to first adapter(enp2s0f0)
I have double checked the adpater-name to get it right.

Do you guys have any idea what i am doing wrong here?


my config:

-# The loopback network interface
auto lo
iface lo inet loopback

-# The primary network interface
-allow-hotplug enp2s0f0
iface enp2s0f0 inet dhcp

iface enp2s0f1 inet manual

iface enp3s0f0 inet manual

iface enp3s0f1 inet manual

auto vmbr0
iface vmbr0 inet manual
bridge-ports enp2s0f0
bridge-stp off
bridge-fd 0
 
Hi,

-# The loopback network interface
auto lo
iface lo inet loopback

-# The primary network interface
-allow-hotplug enp2s0f0
iface enp2s0f0 inet dhcp

iface enp2s0f1 inet manual

iface enp3s0f0 inet manual

iface enp3s0f1 inet manual

auto vmbr0
iface vmbr0 inet manual
bridge-ports enp2s0f0
bridge-stp off
bridge-fd 0

The network (dhcp or static IP address, gateway, netmask) is missing here form the bridge, but is on the bridges slave port, which is wrong.

It should look something like:
Code:
iface enp2s0f0 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.1.42/24
    gateway 192.168.1.1
    bridge-ports enp2s0f0
    bridge-stp off
    bridge-fd 0

# ...


Or if you really want to use DHCP (which is not recommended for servers if you do not ensure your DHCP server leases always the same static address to your Proxmox VE server):

Code:
iface enp2s0f0 inet manual

auto vmbr0
iface vmbr0 inet dhcp
    bridge-ports enp2s0f0
    bridge-stp off
    bridge-fd 0

# ...

I have tried to search the webs but could not find info about my problem.

I have installed Debian (buster) and Proxmox 6.1 on top according to this instruction:
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster

Using the official Proxmox VE installer helps and assist to configure this correctly, especially for people new to Proxmox VE.
https://pve.proxmox.com/wiki/Downloads#Proxmox_Virtual_Environment_6.1_.28ISO_Image.29
http://download.proxmox.com/iso/
 
Thank you Thomas, that worked.

I have installled proxmox a couple of times before some years ago, but this new version i couldn't get installed and booting without the use of rescuedisk(tried several methods to install from usb and cd.)
I found the Debian + proxmox method working for others in the forum so I took that same route and got a lot closer to the goal :p

thank you again.

Steffen
 
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!