Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 15:28:41 -0700 (PDT)
From:      Doug Ambrisko <ambrisko@ambrisko.com>
To:        Radoslav Vasilev <rvasilev@uni-svishtov.bg>
Cc:        freebsd-net@FreeBSD.ORG, Radoslav Vasilev <deckland@deckland.org>
Subject:   Re: broadcast and aironet PCI4800
Message-ID:  <200105072228.f47MSfp16662@ambrisko.com>
In-Reply-To: <004a01c0d70c$c668a4e0$52ad44c1@unisvishtov.bg> "from Radoslav Vasilev at May 7, 2001 09:45:42 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105072228.f47MSfp16662>