From owner-freebsd-net Mon May 7 15:29:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from ambrisko.com (adsl-64-174-51-42.dsl.snfc21.pacbell.net [64.174.51.42]) by hub.freebsd.org (Postfix) with ESMTP id 516F637B422 for ; Mon, 7 May 2001 15:29:27 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.11.3/8.11.2) id f47MSfp16662; Mon, 7 May 2001 15:28:41 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200105072228.f47MSfp16662@ambrisko.com> Subject: Re: broadcast and aironet PCI4800 In-Reply-To: <004a01c0d70c$c668a4e0$52ad44c1@unisvishtov.bg> "from Radoslav Vasilev at May 7, 2001 09:45:42 pm" To: Radoslav Vasilev Date: Mon, 7 May 2001 15:28:41 -0700 (PDT) Cc: freebsd-net@FreeBSD.ORG, Radoslav Vasilev X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Radoslav Vasilev writes: | Hello, I wonder is there a way to connect two phisical networks on ethernel level in a situation like this: | I have two subnets(subnet1,2) connected through 2 aironet PCI4800 NICs(Cisco Aironet 340 Series) working on gateway1 and 2.(FreeBSD 3.3 and 4.3 machines) | -------------------\ /------------------------- | | | | gateway1----->---------------<---------------- gateway2 <-------------> Internet | | | | -------------------/ \------------------------- | subnet1 subnet2 | | I was told I could try using ProxyARP, but if I do so, I'll manege to make machines on subnet1(for example) to see subnet2's machines. What I need actually is some kind of bridging, and I don't know: | 1) can I use bridging(turning on promiscuous mode) on aironet | 2) on gateway2 i have ipfw | As a third suggestion I got the idea of using netgraph. | Allright, I'll appreciate any ideas for what way do you think I should go ahead. | Thanks in advance Seems like you don't have enough information in the picture. If for example subnet1 is 192.168.1 subnet2 is 192.168.2 the wireless gateway is 192.168.3 Internet is something Then this is a pure routing problem. Then learn about routing via "route" However, with -stable (ie after 4.3) there have been changes made to the Aironet driver to do promiscuous on wireless and the submitter of the patch has bridged the wireless and wired network together. In that case you could. subnet1 is 192.168.1 subnet2 is 192.168.1 the wireless gateway is 192.168.1 (bridged to subnet x) Internet is the default route. Then use could use netgraph bridge to tie the wireless adapters to your wired network. It would appear to be one big network. Even without the patches some things using VPN tunnels and bridging could tie stuff together. Really in this case subnet1 & subnet2 are effectively the same network. I haven't personaly done this (except routing) but giving you and idea of what to persue. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message