From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 22:45:13 2011 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 903AF106566B for ; Wed, 23 Feb 2011 22:45:13 +0000 (UTC) (envelope-from bjmccann@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 474B98FC0A for ; Wed, 23 Feb 2011 22:45:13 +0000 (UTC) Received: by qwj8 with SMTP id 8so2209279qwj.13 for ; Wed, 23 Feb 2011 14:45:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=qsKvOl77Sm5HOMgw2MkADfCQ99OiNl17oWmcLSdq2Jo=; b=Hc+0aSumqO3hDtEC7JgARNCPGLhII1iuDHSSwRv7agLGwT81kPpf0LYPhVaufkDETc EgO5tf/vA36PHWUpuFMaQUZDm160hQfhsdpfpEifNQRV/AzX4b9YyRHLn4qi0mf+qec8 8KwqGxlVwXf4QTs4diGm2tTiiodblt31CQDS8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Vo5Lj4d+307R+Y8HXtI7/UUchkWTt6v5+fEpI2JirCAKuX8E6rofCxA1tII8NWuXCu AdFEHhstggm4aUO+9MfAKxdbCNA6TC84q7OPKoiOZjtC0NmQqNz886j5WSOwK7sV0jgl oy5LPlaJIvYgCAqTO7d4NmcWfVOEKbfBAvb1A= MIME-Version: 1.0 Received: by 10.229.88.67 with SMTP id z3mr960616qcl.138.1298499289140; Wed, 23 Feb 2011 14:14:49 -0800 (PST) Received: by 10.229.34.137 with HTTP; Wed, 23 Feb 2011 14:14:48 -0800 (PST) Date: Wed, 23 Feb 2011 17:14:48 -0500 Message-ID: From: Brian McCann To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: gif & bridge / ip over ip bridging tunnel 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, 23 Feb 2011 22:45:13 -0000 Hi all. I've been trying to make this work and keep failing. I'm hoping someone smarter then me has some ideas. My end goal is to bridge (not route) a few remote networks to a main site. For example 10.0.0.0/24 ---> FreeBSD box ---> Internet <--- FreeBSD box <---10.0.0.0/24 ^ | FreeBSD (main site) | 10.0.0.0/24 Eventually there's going to be multiple subnets i'd like to "share", for example have 10.0.0.0/24 and 10.1.0.0/24 at all three "sites". Right now I'm trying just between two boxes on my desk. I got a gif tunnel between the two boxes up and running and can ping between the IPs on the gif interfaces, but when I add gif0 to bridge0, pinging doesn't work anymore. tcpdump sees packets flowing on the gre interface (of the ping target), but the packets aren't detected as ICMP so they are getting mangled somehow. I tried gre initially, but discovered I cannot put a gre interface into a bridge. (ps, I'm trying to bridge to a vlan interface) Anyone have any ideas? Thanks! --Brian