[PVE-User] PVE 3.1 / Bridge is not shown in GUI

Diaolin diaolin at diaolin.com
Fri Feb 21 08:10:03 CET 2014


Il 2014-02-20 20:31 Knaupp, Thomas ha scritto:
> Hello,
> 
>> Please can you post your /etc/network/interfaces file?
> 
> auto lo
> iface lo inet loopback
> 
> auto vmbr0
> iface vmbr0 inet static
>         address 80.x.x.10
>         netmask 255.255.255.0
>         gateway 80.x.x.1
>         bridge_ports eth0
>         bridge_stp off
>         bridge_fd 0
> 
> # "anonymous" bridge (without ip)
> auto vmbr1
> iface vmbr1 inet manual
>         bridge_ports eth1
>         bridge_stp off
>         bridge_fd 0
> 
> 
> The bridge, that is not shown in the GUI is brought up when tinc 
> starts:
> 
> brctl addbr vmbr5
> brctl addif vmbr5 mybrname
> 
> ifconfig mybrname 0.0.0.0
> ifconfig vmbr5 0.0.0.0
> 
> 
> Kind regards
> Tom
> 


But you don't have vmbr5 in the interface file...

you should do so

create a bridge from interface:


vmbr5

no interfaces let all withouth ip addresses

and then, when tinc starts do only

brctl addif vmbr5 mybrname
ifconfig mybrname 0.0.0.0

You should have an interface file with

auto lo
iface lo inet loopback

auto vmbr0
iface vmbr0 inet static
          address 80.x.x.10
          netmask 255.255.255.0
          gateway 80.x.x.1
          bridge_ports eth0
          bridge_stp off
          bridge_fd 0

# "anonymous" bridge (without ip)
auto vmbr1
iface vmbr1 inet manual
          bridge_ports eth1
          bridge_stp off
          bridge_fd 0


auto vmbr5
iface vmbr5 inet manual
          bridge_ports none
          bridge_stp off
          bridge_fd 0



Regards, Diaolin




---
S’à destacà l’ultima föia dal bósch nét
crodàda l’ei, solàgna, ‘n mèzz ai sàssi
e ‘ntant fis-ciava ‘n zìfol de oseleti
a tegnìr vìo ‘l pensér che vèn matìna
[Diaolin]



More information about the pve-user mailing list