Re: CPU Utiliaztion on a ethernet bridge
Hi!
I don't think that I could address your problem, but in Debian there is a
package called bridge-utils that allows easy bridge creation.
One of my systems uses it for a user-mode-linux installation between tap0
and eth2:
-------------
auto tap0
iface tap0 inet manual
tunctl_user uml-net
auto eth2
iface eth2 inet manual
auto br0
iface br0 inet manual
bridge_ports eth2 tap0
bridge_stp on
------------
As you can notice in my example, the iface method shouldn't be loopback
(it isn't the lo device). Try using the "manual" method if it helps
Regards
>
> in /etc/network/interfaces
> auto eth1
> iface eth1 inet loopback
>
> auto eth2
> iface eth2 inet loopback
>
> # Bridge Interface for eth1 + eth2
> auto br0
> iface br0 inet loopback
> pre-up brctl addbr br0
> up brctl addif br0 eth1
> up brctl addif br0 eth2
> up brctl stp br0 on
> down brctl delif br0 eth1
> down brctl delif br0 eth2
> post-down brctl delbr br0
>
Reply to: