[Bridge] Bridge - vlan - bond
Nicolas de Pesloüan
nicolas.2p.debian at free.fr
Sat Dec 5 10:24:01 PST 2009
Sander Klein wrote :
> Hi list,
>
> I have a problem with using bonding, with vlans and bridging. I'm trying
> to create the following situation:
Can you please also describe what you try to achieve, and not only your setup ?
What are the expected effects ?
Your bonding setup (active-backup) will lead to one port enabled and one disabled.
Why don't you simply use eth0.101 and eth1.101 as two ports of br101, and enable stp ?
Enabling stp would achieve the same result : one port in forwarding state and one in the blocked state.
Nicolas.
> Network overview:
>
> +------+
> +--------+ |blade |
> | |-----|switch| eth0 +------+
> | | | |------| |
> | | +------+ | |
> | switch | | host |
> | | +------+ | |
> | | |blade |------| |
> | |-----|switch| eth1 +------+
> +--------+ | |
> +------+
>
> Situation on the host:
>
> +----+
> |eth0|------+
> +----+ |
> +-----+ +---------+ +-----+
> |bond0|---|bond0.101|---|br101|
> +-----+ +---------+ +-----+
> +----+ |
> |eth1|------+
> +----+
>
>
> Now, as soon as the bridge comes up I get the error 'bond0.101: received
> packet with own address as source address'. This happens every time I
> start a new sessioen to a host. Sniffing with tcpdump and wireshark on
> br101 show all arp packets 2 times. I cannot figure out why this is
> happening. When I create this situation without the bridge I do not get
> duplicate traffic, so it's not coming from the network.
>
> My config is:
>
> auto bond0
> iface bond0 inet manual
> slaves eth0 eth1
> bond_primary eth0
> bond_mode active-backup
> bond_miimon 100
>
> auto bond0.101
> iface bond0.101 inet manual
>
> auto br0
> iface br0 inet static
> bridge_ports bond0.101
> bridge_stp off
> address 192.168.1.25
> netmask 255.255.255.0
> gateway 192.168.1.1
>
> I've tried this with the stock Debian Lenny kernel (2.6.26) and 2.6.32. Am
> I doing something wrong here?
>
> Greets,
>
> Sander Klein
>
> _______________________________________________
> Bridge mailing list
> Bridge at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge
>
More information about the Bridge
mailing list