[pve-devel] new bridge code doesn't work with redhat kernel
Stefan Priebe - Profihost AG
s.priebe at profihost.ag
Thu Feb 7 16:49:52 CET 2013
Patrick told me this is generally the way to go. He told something about mac mismatches if you go the current way. But I'm not sure if I understood him correctly.
Stefan
Am 07.02.2013 um 16:43 schrieb Alexandre DERUMIER <aderumier at odiso.com>:
> to get my host admin network working I need to put
> ---------------------------------------------------
> auto vmbr1
> iface vmbr1 inet manual
> bridge_ports bond0
> bridge_stp off
> bridge_fd 0
>
>
> auto vmbr1v94
> iface vmbr1v94 inet static
> address 10.3.94.31
> netmask 255.255.255.0
> gateway 10.3.94.1
> bridge_ports vmbr1.94
> bridge_stp off
> bridge_fd 0
>
> (brige_ports not work, but bridge is created)
>
> then
>
> ip link add link vmbr1 name vmbr1.94 type vlan id 94
> ip link set vmbr1.94 up
> brctl addif vmbr1v94 vmbr1.94
>
>
>
> So this give me this working setup
> ----------------------------------
> bond0----vmbr1---vmbr1.94---vmbr1v94
> ----vmbr1---vmbr1.X----vmbr1vX---tap qemu
>
>
> What is not working is
> ----------------------
> bond0---bond0.94---vmbr0
> ---vmbr1---vmbr1.X----vmbr1vX---tap qemu
>
>
>
> Any idea if an updated debian network script exist in wheezy ?
>
>
>
>
> ----- Mail original -----
>
> De: "Alexandre DERUMIER" <aderumier at odiso.com>
> À: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag>
> Cc: pve-devel at pve.proxmox.com
> Envoyé: Jeudi 7 Février 2013 16:27:19
> Objet: Re: [pve-devel] new bridge code doesn't work with redhat kernel
>
> Ok, I have done more test, It seem that the problem in my setup is my tagged interface in other bridge
>
>
> don't work
> -----------
> auto vmbr0
> iface vmbr0 inet static
> address 10.3.94.31
> netmask 255.255.255.0
> gateway 10.3.94.1
> bridge_ports bond0.94
> bridge_stp off
> bridge_fd 0
>
> auto vmbr1
> iface vmbr1 inet manual
> bridge_ports bond0
> bridge_stp off
> bridge_fd 0
>
>
> # brctl show
> bridge name bridge id STP enabled interfaces
> vmbr0 8000.001aa03c98c5 no bond0.94
> vmbr1 8000.001aa03c98c5 no bond0
> vmbr1v95 8000.001aa03c98c5 no tap115i0
> vmbr1.95
>
> works (remove vmbr0)
> -----
> # brctl show
> bridge name bridge id STP enabled interfaces
> vmbr1 8000.001aa03c98c5 no bond0
> vmbr1v95 8000.001aa03c98c5 no tap115i0
> vmbr1.95
>
>
> So we can't mix tagged interfaces and tagged bridges.
> (must be a bug in kernel, as it's work fine with new kernels)
>
>
>
> Any idea how to enslave a vmbr1.X with ip address in /etc/network/interfaces ?
>
> I had tried
>
> auto vmbr1
> iface vmbr1 inet manual
> bridge_ports bond0
> bridge_stp off
> bridge_fd 0
>
> auto vmbr1v94
> iface vmbr1v94 inet static
> address 10.3.94.31
> netmask 255.255.255.0
> gateway 10.3.94.1
> bridge_ports vmbr1.94
> bridge_stp off
> bridge_fd 0
>
> But It give me
>
> Ignoring unknown interface vmbr1.94=vmbr1.94.
>
>
>
>
> Also, I think I'm not the only to use this kind of setup, so proxmox users should be warned before doing the update.
>
>
>
> ----- Mail original -----
>
> De: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag>
> À: "Alexandre DERUMIER" <aderumier at odiso.com>
> Cc: pve-devel at pve.proxmox.com
> Envoyé: Jeudi 7 Février 2013 15:59:45
> Objet: Re: [pve-devel] new bridge code doesn't work with redhat kernel
>
> Hi Alexandre,
>
>> Does it work for you (vlan on bridge) with redhat kernel ?
> Yes i retested my code with latest PVE Kernel and it works absolutely
> FINE. I can ping all VMs.
>
> Stefan
>
>> also, I my setup, I have vmbr0 bridge with interface tagged for host administration
>
> I believe this is the problem. You should have a BOND and on top of that
> bond one single bridge and on top of that bridge you should create the
> VLAN and not on top of the bond.
>
> Stefan
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list