Re: Wireless bridge setup

2005-10-26 Thread Theo de Raadt
> If I remember correctly, bridging only works in hostap mode.

Bingo, someone remembered -- and that is correct.

In the other modes, MAC addresses of course do not get exposed
correctly, and your access point cannot impersonate the other
hosts it is required to.

It is fairly obvious if you think about it.



Re: Wireless bridge setup

2005-10-26 Thread Anwar Puthu
Robert,
If I remember correctly, bridging only works in hostap mode.

Rgds,

Anwar Puthu
___
Sent with SnapperMail
www.snappermail.com

.. Original Message ...
On Tue, 25 Oct 2005 12:36:04 +0200 "Robert Stepanek" <[EMAIL PROTECTED]> 
wrote:
>Hi list,
>
>When setting up a wireless bridge to connect two ethernet segments in  
>OpenBSD3.7 I encounter the following problem:
>
>When sending a ping from one ethernet segment to the other the ARP  
>request gets transmitted over my WLAN. The counterpart on the  
>wireless bridge setup sends the ARP response request on the WLAN as  
>well. However, the ARP response never reaches the wireless interface  
>on the source bridge (at least checking with tcpdump) and the ping  
>fails.
>
>Here is my setup:
>
><192.168.1.1-testbox1> --ethernet--  -- wifi --  
> --ethernet-- <192.168.1.2-testbox2>
>
>All boxes run OpenBSD3.7 GENERIC kernel.
>
>I am using two PRISM2.5 ISL3874A(Mini-PCI) cards with the wi driver.  
>bridge0 is in hostap mode (Port type 6), bridge1 in BSS mode (Port  
>type 1).
>
>Both bridge boxes have net.inet.etherip.allow=1 and  
>net.inet.ip.forwarding=1
>
>pfctl is disabled.
>
>I somehow have the feeling that I am conceptually wrong here. Any  
>help on this or a similar setup would be great.
>
>Thanks alot,
>Robert



Wireless bridge setup

2005-10-25 Thread Robert Stepanek

Hi list,

When setting up a wireless bridge to connect two ethernet segments in  
OpenBSD3.7 I encounter the following problem:


When sending a ping from one ethernet segment to the other the ARP  
request gets transmitted over my WLAN. The counterpart on the  
wireless bridge setup sends the ARP response request on the WLAN as  
well. However, the ARP response never reaches the wireless interface  
on the source bridge (at least checking with tcpdump) and the ping  
fails.


Here is my setup:

<192.168.1.1-testbox1> --ethernet--  -- wifi --  
 --ethernet-- <192.168.1.2-testbox2>


All boxes run OpenBSD3.7 GENERIC kernel.

I am using two PRISM2.5 ISL3874A(Mini-PCI) cards with the wi driver.  
bridge0 is in hostap mode (Port type 6), bridge1 in BSS mode (Port  
type 1).


Both bridge boxes have net.inet.etherip.allow=1 and  
net.inet.ip.forwarding=1


pfctl is disabled.

I somehow have the feeling that I am conceptually wrong here. Any  
help on this or a similar setup would be great.


Thanks alot,
Robert