Ethernet Bridge development
 help / color / mirror / Atom feed
* [Bridge] bridge in promiscuous mode
@ 2009-10-09  2:10 Mircea Gherzan
  0 siblings, 0 replies; only message in thread
From: Mircea Gherzan @ 2009-10-09  2:10 UTC (permalink / raw)
  To: bridge

Hi,

I'm pretty new to bridging and I'm stumbling upon some strange
behaviour. Please imagine the following simple topology:

    device				laptop
---------------
|br0 |  wlan0 |  (-------802.11 g------) wlan1
---------------


* layer2 between the two wlan's is working.
* all 3 interfaces are on the same subnet. 
* On the device, the only route to that subnet is via br0.
* br0 has a different MAC from the one of wlan0
* STP is disabled
* the device is running 2.6.31 vanilla

If PROMISC is NOT enabled on br0, I can't ping it from wlan1. I could
observe the following with tcpdump -p:
* br0 correctly receives ARP request and sends out replies 
* ICMP echo packet reach wlan0, but
* no ICMP packets reach br0 (the only frames that reach br0 are ARP)

On the other hand, if PROMISC is enabled on br0, pinging it from wlan1
just works. 

I've checked the bridging page from the LF wiki, and I've disabled the
bridge-nf-* entries, but the behaviour did no change.

My goals are the following:
* no IP address on wlan0
* different MACs on br0 and wlan0
* br0 reachable from wlan1

Please, can anyone help me on this one?

Thanks,
Mircea

-- 
Dipl.-Ing. Mircea Gherzan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-09  2:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09  2:10 [Bridge] bridge in promiscuous mode Mircea Gherzan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox