Am Mittwoch, 31. Januar 2007 18:34 schrieb Torge Szczepanek:
> Hi!

[...]

> Bridging works without promisc mode, but arp packets are not passed
> through the bridge without a promisc flag set on both interfaces.

nothing will be passed to the other side of the bridge (not only arp stuff) if 
the interface wouldn't be in promisc mode. rember, normaly your system only 
sees packets which have the local mac address as target (+ broadcast 
traffic), but not traffic for another host. if your system doesn't see this 
packets it cannot pass them to the other bridge interface(s).

> I also checked the bridge-utils source package (Ubuntu Egdy) whether
> there is a ioctl for setting the PROMISC flag, but as I can see there is
> none using SIOCSIFFLAGS or setting IFF_PROMISC.

hmmm, but it needs to be done anyhow. I don't think the user has to do this 
manually. At least I can't remeber that I needed to set promisc manually 
somewhere in the past.

[...]

> I didn't use the bridging syntax in /etc/network/interfaces, since I
> build up a openvpn tunnel and then bridge the tap0 and ethernet device.

you could mix /etc/network/interfaces and your style :)

you could create the bridge (br0 normally) in /etc/network/interfaces, but 
only attach eth0.0 (or whatever interface you use for your lan) to it.

Afterwords, in the openvpn config your could just have the tun/tap interface 
attached to the already existing (1-port)-bridge.

bye,
 Ralph

P.s.: Just a quick one:
Question: What name could you also use for a multiport-bridge?
Answer: Switch, because a multiport bridge is nothing else then a switch :)
_______________________________________________
freewrt-users mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to