From owner-freebsd-mobile@FreeBSD.ORG Wed Jun 2 16:06:41 2004 Return-Path: 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 85E6616A4CE for ; Wed, 2 Jun 2004 16:06:41 -0700 (PDT) Received: from smtp.prodigy.net.mx (nlpproxy01.prodigy.net.mx [148.235.52.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C0D943D58 for ; Wed, 2 Jun 2004 16:06:41 -0700 (PDT) (envelope-from lanjoe9@prodigy.net.mx) Received: from prodigy.net.mx (du-200-66-179-86.prodigy.net.mx [200.66.179.86]) by smtp.prodigy.net.mx (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HYP00IKDEU2SC@smtp.prodigy.net.mx>; Wed, 02 Jun 2004 18:06:06 -0500 (CDT) Date: Wed, 02 Jun 2004 18:13:11 -0500 From: Alejandro 'Lanjoe9' Valenzuela To: freebsd-mobile@freebsd.org Message-id: <40BE5F07.2050404@prodigy.net.mx> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 8BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 Subject: bridging problem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 23:06:41 -0000 Hello everyone, I've got a bridging problem... after much effort, I managed to make the 3com 3CRDAG675 card work under FreeBSD 5.2 -current, thanks to Sam Leffler's patch. I'm trying to bridge the wired and the wireless networks together vía FreeBSD, so I do this procedure: 1) The wired card (realtek rl0) is configured vía sysinstall to have a static IP address (currently 192.168.0.99, netmask 255.255.255.0 ) and as a gateway and dns server, a windoze 98 machine with ICS (don't kick me, the stupid modem won't work with anything else) 2) The wireless 3com nic is started with the following commands: cd /boot/kernel kldload ath0 (I tried compiling it in the kernel but it would give errors) ifconfig ath0 ssid earth mode 11g mediaopt hostap up 3) The bridge is set up with these commands (bridge support is compiled into my kernel as option BRIDGE ): sysctl net.link.ether.bridge.enable=1 sysctl net.link.ether.bridge.config="ath0,rl0" sysctl net.inet.ip.forwarding=1 4) The wireless computer (currently windoze 2000, hopefully FreeBSD 5.3 will run on it and then I can get rid of Windoze) has been configured to have this static IP: 192.168.0.198 , netmask 255.255.255.0, gateway &DNS 192.168.0.100 The problem is, from the wireless computer I can always ping and see the other computers, but the other way around does not work (I can't even ping the wireless computer from the wired ones, including the bridging one), and I can only connect to the internet from the wireless computer (and see that wireless computer from the other ones) when I'm contacting in some way the gateway computer (for example hearing a sound file stored in the gateway computer). What could be the cause? Thank you very much in advance and sorry for the long message. Alejandro