[SOLVED] Bridge auf 2 NiCs möglich?

Dec 19, 2012
476
14
83
Hi.
Kurze Frage: ich habe eine Bridge11 auf ein Interface eth0.vlan11 gelegt und mit einem Switch verbunden. Also als VLAN -- funktioniert alles.

Ist es möglich eine andere NIC (eth1), die ebenfalls in dem Host steckt, *auch* auf Bridge11 zu legen? Ich meine mich zu erinnern, dass dann beim Starten sowas wie "... already in use" gemeldet wurde...
Wie seht ihr das? Möglich?
 
Hi,

ja das ist möglich.
Du musst einfach beim bridge port die zweite NIC angeben.
Die Bridge ist ein Switch und wird dann die Pakete switchen.
 
Ok, danke ...es gibt aber weiterhin zwei-drei Möglichkeiten -- welche Syntax ist richtig?

1.) so?
Code:
auto vmbr11
iface vmbr11 inet manual
        bridge_ports enp4s0f1.11
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0
#via VLAN

auto vmbr11
iface vmbr11 inet manual
        bridge_ports enp4s0f0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0
#direkt an NIC

2.) oder so?
Code:
auto vmbr11
iface vmbr11 inet manual
        bridge_ports enp4s0f1.11
        bridge_ports enp4s0f0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0
#beides zusammen in einem Eintrag?

... oder sogar 3.) mit/ohne Komma hintereinander weg?
Code:
bridge_ports enp4s0f1.11 (,)  enp4s0f0

hmmm ... ich denke Variante 3.) ohne Komma sollte passen, oder?
 
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!