layer-2 forwaed is not supported, and the reason is that forwarding
occurs at a different layer.
One way to implement this feature is the following:
+ in bdg_forward(), when a packet matches a "forward" action,
somehow mark the packet as having a local destination
(e.g. overwrite the MAC DST address) and pass it to
ether_input
this requires a bit of care to avoid loops, i think.
cheers
luigi
On Tue, Oct 22, 2002 at 06:36:26PM +0900, CHOI Junho wrote:
>
> Hi,
>
> I found packet forwarding by 'ipfw fwd' doesn't work for bridged
> configuration - linking 2 ethernet cards. I use bridged firewall for
> our office network, I tried to configure transparent proxy in the
> level of firewall.
>
> I looked the code contains bdg_forward() in sys/, but I found only it
> is not implemented at least in 4.7. Is there any patches for
> implementing it or still it is to-do features? Or do we have a
> reason why bridge+ipfw fwd is impossible?
>
> p.s. Please keep me on Cc:.
>
> --
> CHOI Junho <http://www.kr.FreeBSD.org/~cjh> <cjh at kr.FreeBSD.org>
> FreeBSD Project <cjh at FreeBSD.org> Web Data Bank <cjh at wdb.co.kr>
> Key fingerprint = 1369 7374 A45F F41A F3C0 07E3 4A01 C020 E602 60F5
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message