Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2004 22:05:49 +0100
From:      Bjorn Eikeland <bjorn@eikeland.info>
To:        Alex <abellist@land.ru>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Bridge problem
Message-ID:  <opr11jjzzvomdbx5@localhost>
In-Reply-To: <314288816.20040119221325@land.ru>
References:  <314288816.20040119221325@land.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> I have a three ethernet adapter and need to bridge two of them
> (like an Ethernet switch but with firewall)
> But i have a some problem...
> When i enter
> # sysctl net.link.ether.bridge_cfg=lnc0:0,lnc1:0
> i saw next:
>>> now lnc0 promisc ON if_flags 0xffff8943 bdg_flags 0x5
>>> now lnc0 promisc ON if_flags 0xffff8943 bdg_flags 0x5
>>> now lnc1 promisc ON if_flags 0xffff8943 bdg_flags 0x5
>>> now lnc1 promisc ON if_flags 0xffff8943 bdg_flags 0x5
>>> now lnc2 promisc ON if_flags 0xffff8943 bdg_flags 0x5
>>> now lnc2 promisc ON if_flags 0xffff8943 bdg_flags 0x5
> What is it means?
> When i try ping from net1 to net2 that's don't work...
> Please help, give me advice

It means that the network cards are entering promiscous mode, which in 
turn means it will pick all packets that passes its physical layer and 
then the bridge code will forward it to the other interface. _however_ 
lnc2 should not enter promiscous mode if its not a part of the bridge?

Post what version you're using and the rest of your sysctl statements for 
the bridge, also is it the kernel module or compiled in kernel?

(Maybe you'll have more luck with this in the freebsd-net list?)

hth,
Bjorn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr11jjzzvomdbx5>