From owner-freebsd-mobile Mon Sep 9 14:50:48 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 BBD2537B406 for ; Mon, 9 Sep 2002 14:50:43 -0700 (PDT) Received: from dmlb.org (pc1-cmbg2-6-cust106.cam.cable.ntl.com [80.4.4.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A45E43E42 for ; Mon, 9 Sep 2002 14:50:42 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from slave.my.domain ([192.168.200.39]) by dmlb.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.36 #1) id 17oWQZ-000JVl-00; Mon, 09 Sep 2002 22:50:39 +0100 Received: from dmlb by slave.my.domain with local (Exim 3.36 #1) id 17oWQZ-000Cay-00; Mon, 09 Sep 2002 22:50:39 +0100 Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020909180218.58126.qmail@web21102.mail.yahoo.com> Date: Mon, 09 Sep 2002 22:50:39 +0100 (BST) From: Duncan Barclay To: Vinod Subject: Re: Ad-Hoc Vs Host-Ap Cc: freebsd-mobile@freebsd.org 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 On 09-Sep-2002 Vinod wrote: > Hi i needed some help figuring out the advantages of > an ad-hoc setup to an infrastructure setup. > > I plan to use a proxy between my wireless clients and > the internet outside.I need to put a lot of code in my > proxy to manage my network(part of my research > work).so i assume i can't use normal Access point > hardware(correct me if i am wrong as i beleive i cant > put too much code in a vendor's access point.or can > i?).So i figured i needed a desktop or laptop to act > as my proxy. > > if this proxy in ad-hoc mode,acts as a gateway to my > wireless clients ,how different would it be compared > to using this proxy in infrastructure mode(Host-AP > mode), considering the fact that all i need the proxy > to do is act as a gateway? > Can anyone tell me in terms of performance. If you are only ever sending packets to/from the gateway to the wireless clients then there will not be much difference in performance between ad-hoc and infrastructure mode. On the other hand, if the clients are communicating with each other, ad-hoc mode is better. This is because, in infrastructure mode all traffic has to go via the AP. So if node1 wants to talk with node2, the packets go node1->AP, AP->node2. In ad-hoc mode, the nodes communicate with each other directly. I don't think that having the AP changes any of the contention mechanisms. An advantage to having your system in in infrastructure mode, is that you can play with the contents of the beacon. This may or may not be useful. > Thanks in Advance, > Vinod Duncan -- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@dmlb.org | the alcoholics, and the permanently stoned. dmlb@freebsd.org| Steven King To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message