Re: NAT with wi bridging

David Young <[email protected]> Fri, 10 Jan 2003 20:57:58 -0600
Newsgroups gmane.network.wireless.bsd.general
Message-ID <[email protected]>
Have you set your RTS/CTS threshold very low? In promiscuous mode, the
Prism firmware will not answer an RTS with a CTS; at least, not in IBSS
mode it won't. I have not tried HostAP mode. I know that IBSS mode in
1.4.9 is affected.

In NetBSD, there is this code concerning promiscuous mode and HostAP.
Maybe FreeBSD does not have the equivalent:

        /*
         * Initialize promisc mode.
         *      Being in the Host-AP mode causes a great
         *      deal of pain if primisc mode is set.
         *      Therefore we avoid confusing the firmware
         *      and always reset promisc mode in Host-AP
         *      mode.  Host-AP sees all the packets anyway.
         */
        if (ic->ic_opmode != IEEE80211_M_HOSTAP &&
            (ifp->if_flags & IFF_PROMISC) != 0) {
                wi_write_val(sc, WI_RID_PROMISC, 1);
        } else {
                wi_write_val(sc, WI_RID_PROMISC, 0);
        }

Dave

On Fri, Jan 10, 2003 at 10:19:32AM -0800, Matt Peterson wrote:
> Using FreeBSD-STABLE from a few months ago, I've noticed some weirdness. 
> If I setup wi0 routing, say, NAT'ing to a wired interface (sis0 in the case 
> of Soekris boards), it works great.  However, let's say I want to NAT both 
> the wireless and a wired segments together (wi0 + sis1); it brings up 
> promiscuous mode, and weird problems arise.  I can see broadcast traffic on 
> both interface, but unicast seems to be broken.  Before I form a more 
> detailed report, has anyone else tried the above configuration with success?
> 
> P.S. I moved the list to a new mail server, it should be yield faster 
> delivery times and less UCE.
> 
> --
> Matt Peterson         another.geek.without.a.life
> [email protected]       http://matt.peterson.org/
> -------------------------------------------------
> --
> *bsd wireless list, a bawug thing <http://www.bawug.org/>
> [un]subscribe: http://lists.bawug.org/mailman/listinfo/bsd-wireless/

-- 
David Young             OJC Technologies
[email protected]      Engineering from the Right Brain
                        Urbana, IL * (217) 278-3933
--
*bsd wireless list, a bawug thing <http://www.bawug.org/>
[un]subscribe: http://lists.bawug.org/mailman/listinfo/bsd-wireless/