From: Karel Rericha <karel@maxent.cz>
To: bridge@lists.osdl.org
Subject: Re: [Bridge] Re: Bridge for linux
Date: Sat, 31 Jul 2004 15:35:43 +0200 [thread overview]
Message-ID: <410BA02F.9080901@maxent.cz> (raw)
In-Reply-To: <20040730171222.54cfe8df@dell_ss3.pdx.osdl.net>
Stephen Hemminger napsal(a):
>On Fri, 30 Jul 2004 22:27:43 +0200
>Xavier Van Laethem <xavier@xaviervl.com> wrote:
>
>
>
>>>From FAQ
>>------------------------------------------------------
>>It doesn't work with my Wireless card!
>>
>>This is a known problem, and it is not caused by the bridge code. Many
>>wireless cards don't allow spoofing of the source address. It is a firmware
>>restriction with some chipsets. You might find some information in the bridge
>>mailing list archives to help.
>>------------------------------------------------------
>>
>>Trying with hostap driver for wifi card. It work when wifi card is in master
>>mode but it is no more working with wifi card in managed or ad-hoc mode.
>>So y try changing hardfware (ethernet) address of the wireless card (using the
>>one of bridge interface) with "ip link set wlan0 address..." and it seems to
>>work well... (it should also work with "ifconfig..." but y an using the one
>>comming from busybox and it doesn't allow to change hw address)
>>y dont find any such solution in the mailing list....
>>
>>
>
>It seems that hostap doesn't provide the same interface as normal ethernet card.
>One problem is that it doesn't forward packets between nodes connected to the
>same access point. These are hostap problems, and should be fixed there, the bridge
>code shouldn't need to have special code for the hostap devices.
>
>
Hostap in master mode does forward packets between stations connected to
the same access point. This is
default behaviour. But alas, not always welcome (read "traffic
shaping"). It can be switched of by
iwpriv wlan0 bridge_packets 0
but after that no packets sourced from wlan0 arrive back to wlan0 if
this is bridged interface. Bridge code
doesn't allow this, even if these packets are destined to stations
connected to hostap. Stephen some time
ago suggested implementing "layered" hostap driver to overcome this, but
I don't know what does it mean.
>
>
>>By the way, why is the hardware address of the bridge chanching at each
>>interface added to the bridge? Solution would be simpler if the bridge keep
>>hardware addres of the first interface added, and by adding wireless
>>interface first, no?
>>
>>
>
>Probably just a stupid day one coding bug.. The problem is what if the
>first interface goes away?
>
>
>
>
>>Xavier Van Laethem
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Bridge mailing list
>>Bridge@lists.osdl.org
>>http://lists.osdl.org/mailman/listinfo/bridge
>>
>>
prev parent reply other threads:[~2004-07-31 13:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200407302227.43830.xavier@xaviervl.com>
2004-07-31 0:12 ` [Bridge] Re: Bridge for linux Stephen Hemminger
2004-07-31 13:35 ` Karel Rericha [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=410BA02F.9080901@maxent.cz \
--to=karel@maxent.cz \
--cc=bridge@lists.osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.