From owner-freebsd-net@FreeBSD.ORG Wed Jul 22 12:03:07 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA8B01065680 for ; Wed, 22 Jul 2009 12:03:07 +0000 (UTC) (envelope-from fb-net@psconsult.nl) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.freebsd.org (Postfix) with ESMTP id 6BAF88FC1E for ; Wed, 22 Jul 2009 12:03:07 +0000 (UTC) (envelope-from fb-net@psconsult.nl) Received: from mx1.psconsult.nl (localhost [80.89.238.138]) by mx1.psconsult.nl (8.14.2/8.14.2) with ESMTP id n6MBdvWo002906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 22 Jul 2009 13:40:02 +0200 (CEST) (envelope-from fb-net@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.2/8.14.2/Submit) id n6MBduEr002905 for freebsd-net@freebsd.org; Wed, 22 Jul 2009 13:39:56 +0200 (CEST) (envelope-from fb-net@psconsult.nl) Date: Wed, 22 Jul 2009 13:39:56 +0200 From: Paul Schenkeveld To: freebsd-net@freebsd.org Message-ID: <20090722113956.GA1870@psconsult.nl> Mail-Followup-To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Bridging wlan to gif? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 12:03:12 -0000 Hi, I'm trying to bridge a wlan interface to a gif tunnel on 8.0-BETA2. Running tcpdump on wlan0 I see DHCP packets coming in as IP packets, on gif0 however tcpdump shows ethernet headers prepended. Needless to say things do not work as expected. What I try to accomplish is the following: +------+ +--------------+ +-------+ | | .... |ath0 bge0|-----|Router | Gateway | | |wlan0 gif0| +-------+ +----------+ | | | \ / | | | gif0 | | | | bridge0 | Internet | \ | | | | | | | bridge0 | +------+ +--------------+ +-------+ | \ | Wifi Access point |Router |----|fxp0 fxp1|---- LAN X client 8.0-BETA2 +-------+ +----------+ - The Wifi client must be part of LAN X and receive a DHCP address from a DHCP server (not shown) on LAN X - On the access point wlan0 and gif0 are bridged together - On the gateway fxp1 and gif0 are bridged together - Gif0 on the access point and gif0 on the gateway communicate correctly when given IP addresses Regards, Paul Schenkeveld