Re: target extension: set output interface
Bart De Schuymer <[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 29 May 2003 00:43, Vaclav Dvorak wrote: > Hello list! > > Would it be possible to add a target extension to ebtables that would, > for a matching packet, set the network interface that it will be sent > out with? It would be analogous to the ROUTE target extension of > iptables: > http://www.netfilter.org/documentation/pomlist/pom-extra.html#ROUTE > It would take either option "--transmit-on <real_interface>", or > "--flood <bridge_interface>". Can you elaborate on the possible use of "--transmit-on <real_interface>" and "--flood <bridge_interface>"? Unless they can have some use I don't think these options should be included, the implementation will touch the bridge code. Seems to me your problem asks for an option "--resend-on-iif" (resend on input interface). This can be implemented in a fairly easy way, 'though it will touch the bridge code. I'll put this on the todo-list. > because of QoS.) So I thought that the proposed ebtables target > extension might solve this. Any other ideas? You could also (let someone) hack the kernel code. br_forward.c::should_deliver() is the function to look at. > By the way, the "-s" option seems to be mostly missing from the man page > at http://ebtables.sourceforge.net/ebtables-man.html Oh, wasn't aware of that, thanks. cheers, Bart ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5