Re: connect ebtables with iptables

Bart De Schuymer <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <[email protected]>
Op wo, 15-02-2006 te 03:28 +0100, schreef Axel F:
> Hello,
> 
> I have a question about to connect ebtables with iptables. If I execute 
> the first line to broute the packets, I can't match the packets in 
> iptables anymore. If I take the second line it works so as I expect it. 
> But if this picture 
> (http://ebtables.sourceforge.net/br_fw_ia/PacketFlow.png)  is right, the 
> connection with iptables must be possible in both cases?! Can anybody 
> tell me the reason for this?

Quoting http://ebtables.sourceforge.net/examples.html#ex_speed :)

The redirect target is needed because the MAC address of the bridge port
is not necessarily equal to the MAC address of the bridge device. The
packets destinated to the bridge box will have a destination MAC address
equal to that of the bridge br0, so that destination address must be
changed to that of the bridge port.

cheers,
Bart




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.