From owner-freebsd-mobile Tue Jul 23 16:56:27 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D2C937B400 for ; Tue, 23 Jul 2002 16:56:15 -0700 (PDT) Received: from helb.tcpipbitch.net (gw.tcpipbitch.net [208.59.233.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C06F43E6A for ; Tue, 23 Jul 2002 16:54:11 -0700 (PDT) (envelope-from jason@tcpipbitch.net) Received: from deathstar (desktop.tcpipbitch.net [192.168.10.3]) by helb.tcpipbitch.net (Postfix) with ESMTP id 9AB5335B; Tue, 23 Jul 2002 19:47:54 -0400 (EDT) From: To: =?iso-8859-1?Q?'Erik_Paulsen_Sk=E5lerud'?= , Subject: RE: (Retry) Bridging a wi-device with a LAN-adapter Date: Tue, 23 Jul 2002 19:48:44 -0400 Message-ID: <000c01c232a3$7b0db870$030aa8c0@tcpipbitch.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <001b01c2328c$5a2aa670$0200000a@erikpc> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org If your worried about the active directory stuff within your network, you can do it on separate subnets, win2kas has an option to connect to other subnets then the one that it is on. The setup I have is something like this =09 |dc0 > --- < hub > --- < wired lan > (192.168.10.x subnet) Internet --- < wireless clients > (192.168.15.x subnet) Wi0 is running in hostap mode (it=92s a dlink prism based card), on the wired lan I have a win2k advanced server running as a primary domain controller, and another machine on wired subnet running as exchange server (nothing important runs there though, just for fun purposes, real mail is sent through bsd box running postfix on wired lan). All windows desktops (yes.. Al 3 of them heh, including laptop and ipaq that run on wireless network) authenticate of the the windows server, regardless of what subnet they are on. The firewall/router has 3 interfaces, 2 internal, 1 external. I don=92t see why that cant work for you if your willing to use separate subnets. Jason -----Original Message----- From: owner-freebsd-mobile@FreeBSD.ORG [mailto:owner-freebsd-mobile@FreeBSD.ORG] On Behalf Of Erik Paulsen Sk=E5lerud Sent: Tuesday, July 23, 2002 5:03 PM To: tony@valemount.com; mobile@FreeBSD.ORG Subject: Re: (Retry) Bridging a wi-device with a LAN-adapter That's not exactly what I had in mind.. the setup I want is something like this (bare with me if you don't understand) {internet}-- [fxp0 fxp1] -- Wired-LAN (with clients on 100mbit) -- [fxp0 wi0 (AP)] ~~ Wireless-LAN with several clients Now, you might understand my situation better. I want the clients on the Wired-LAN to use the same IP-subnet as the clients on the Wireless-LAN. It should work like just as if I would plug all the clients into the 100mbit Wired-LAN.. Will this work? I hope this clears things up. Erik ----- Original Message ----- From: "Tony Toole" To: ; Sent: Tuesday, July 23, 2002 8:36 PM Subject: Re: (Retry) Bridging a wi-device with a LAN-adapter > Depending on your situation this setup will work fine: {internet} --=20 > [fxp0 wi0 (AP)] -- ( ~~ ) -- Laptop > > While this will not, because the second (clinet) box cannot be=20 > bridged. {internet} -- [fxp0 wi0 (AP)] -- ( ~~ ) -- [wi0=20 > (Infra) fxp0] -- {internal network} > > Thanks, > Tony Toole > ----- Original Message ----- > From: "Erik Paulsen Sk=E5lerud" > To: ; > Sent: Tuesday, July 23, 2002 11:23 AM > Subject: Re: (Retry) Bridging a wi-device with a LAN-adapter > > > > Oh. Well I'm only going to have one AP in this case, if building an=20 > > AP is > > the only solution to bridge the networks. So, I just really need to=20 > > be > sure > > about this, the AP/Bridge can work just as a regular bridge? All > broadcasts > > and such gets passed through and can answer back? (My scenario is to > connect > > a wired LAN with a wireless LAN, and make it look like one big=20 > > network, because of Windows 2000 Active Directory domains and such) > > > > Erik. > > ----- Original Message ----- > > From: "Tony Toole" > > To: > > Sent: Tuesday, July 23, 2002 7:17 PM > > Subject: Re: (Retry) Bridging a wi-device with a LAN-adapter > > > > > > > Yes. You have to remember however that having a card acting as an > > > AP > > means > > > other clients can connect to it, however your card on AP mode=20 > > > cannot > > connect > > > to another AP unless both units support wi's WDS implementation=20 > > > (does it > > > have one?). > > > > > > Thanks, > > > Tony Toole > > > ----- Original Message ----- > > > From: "Erik Paulsen Sk=E5lerud" > > > To: "Tony Toole" ; > > > Sent: Tuesday, July 23, 2002 10:11 AM > > > Subject: Re: (Retry) Bridging a wi-device with a LAN-adapter > > > > > > > > > > So, If I buy a new card wich has the Prism2/Prism2.5 chipset, it > > > > can > > work > > > as > > > > an AP for me -and- bridge in my 100mbit ethernet LAN? So, to say > > > > it > the > > > dumb > > > > way, it will appear as a whole network (bridge) > > > > > > > > Erik. > > > > ----- Original Message ----- > > > > From: "Tony Toole" > > > > To: > > > > Sent: Tuesday, July 23, 2002 5:18 PM > > > > Subject: Re: (Retry) Bridging a wi-device with a LAN-adapter > > > > > > > > > > > > > The man page for wi(4) shows how to set up a bridge, but the=20 > > > > > card > must > > > be > > > > in > > > > > pseudo-AP (HostAP) mode, which voids out Orinoco cards like=20 > > > > > you > said. > > > > > > > > > > Tony Toole > > > > > > > > > > ----- Original Message ----- > > > > > From: "Eric Hedstr=F6m" > > > > > To: "Erik Paulsen Sk=E5lerud" > > > > > Cc: ;=20 > > > > > > > > > > Sent: Tuesday, July 23, 2002 7:59 AM > > > > > Subject: Re: (Retry) Bridging a wi-device with a LAN-adapter > > > > > > > > > > > > > > > > Hi Erik, > > > > > > Assuming the wi(4) page is correct when it says Prism only,=20 > > > > > > that > > rules > > > > > > out your Orinoco card in any case. > > > > > > > > > > > > Eric > > > > > > > > > > > > Erik Paulsen Sk=E5lerud wrote: > > > > > > > Hello. I'm a little confused here. > > > > > > > I want to bridge my wireless card (Orinoco/Lucent Silver 11mbit) > > > with > > > > my > > > > > > > LAN-adapter (fxp0). > > > > > > > > > > > > > > When I read the wi(4), allmost at the end of the=20 > > > > > > > configuration > > > > examples > > > > > it > > > > > > > says: > > > > > > > > > > > > > > Create a host-based wireless bridge to fxp0 (Prism only): > > > > > > > Add BRIDGE to the kernel config. > > > > > > > # ifconfig wi0 inet up ssid my_ap mediaopt hostap > > > > > > > # sysctl net.link.ether.bridge=3D1 > > > > > > > # sysctl net.link.ether.bridge_cfg=3D"wi0 fxp0" > > > > > > > # sysctl net.inet.ip.forwarding=3D1 > > > > > > > This will give you approximately the same=20 > > > > > > > functionality as > an > > > > > access > > > > > > > point. > > > > > > > > > > > > > > And, when I read the bridge(4) manual page, it says: > > > > > > > > > > > > > > Bridging requires interfaces to be put in promiscuous mode, > > and > > > > > > > transmit > > > > > > > packets with Ethernet source addresses. Some=20 > > > > > > > interfaces > > (e.g. > > > > > wi(4)) > > > > > > > do > > > > > > > not support this functionality. Also, bridging is=20 > > > > > > > not > > > compatible > > > > > with > > > > > > > interfaces which use hardware loopback, because there > > > > > > > is no > > way > > > > to > > > > > tell > > > > > > > locally generated packets from externally generated=20 > > > > > > > ones. > > > > > > > > > > > > > > So. Where do I stand? Can it do bridging in FreeBSD or=20 > > > > > > > not? I > > tried > > > to > > > > > make > > > > > > > it work, both in FreeBSD and Windows XP (yes, I know.)=20 > > > > > > > without > any > > > > > results. > > > > > > > > > > > > > > While searching on mailinglists, I see several people=20 > > > > > > > saying > that > > > you > > > > > need a > > > > > > > binary firmware wich costs money so that the cards can=20 > > > > > > > work with > > > > > bridging.. > > > > > > > the reason would be that the manufactors of these chipsets wants > > to > > > > make > > > > > > > money on selling licenses to companies who want an AP. > > > > > > > > > > > > > > I've also heard a rumour that ng_bridge(4)/netgraph can do > > bridging > > > > with > > > > > > > wi(4)-devices. Is this true? > > > > > > > > > > > > > > Thanks for all help, Erik. > > > > > > > > > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with=20 > > > > > > > "unsubscribe freebsd-mobile" in the body of the message > > > > > > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with=20 > > > > > > "unsubscribe freebsd-mobile" in the body of the message > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with=20 > > > > > "unsubscribe freebsd-mobile" in the body of the message > > > > > > > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-mobile" in the body of the message > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-mobile" in the body of the message > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message