From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 22:39:21 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 F0830106566C for ; Wed, 23 Feb 2011 22:39:21 +0000 (UTC) (envelope-from bjmccann@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id B0C298FC0C for ; Wed, 23 Feb 2011 22:39:21 +0000 (UTC) Received: by vxc34 with SMTP id 34so2775552vxc.13 for ; Wed, 23 Feb 2011 14:39:21 -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=lXdwFfjpuUhQn38KX8XAVnxEgMrNDTxGGhuDLFzBvgiGvn/4vwcmkUlRVsNiKKt8hI jsQO7TdGgh/EAQUXi9zYaJMEL1dd/IqOJY+xMA72xpk03PWqhsu9LjeIzAcCHHNSZkMe 6M2GS0LevLArIiq+lQ93evMv/PT7bPZk52nTM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pwrCJUDcUsH+JIEoYbOiA7K9XeTESzKnFnNEEcYfF7bx2mCX7VSx6qPz0G3u4j+9LZ dLPXiFR8Dj1CQqn+2HJv87VKiVdnR+oy22mUTflwjAn3ImAIivjSQ8vTxBRS1WTDfz45 n3hxVPpc570GU4Y/30sslOSVqAzE1D9oIxg9E= MIME-Version: 1.0 Received: by 10.52.156.233 with SMTP id wh9mr93188vdb.180.1298499284592; Wed, 23 Feb 2011 14:14:44 -0800 (PST) Received: by 10.220.182.76 with HTTP; Wed, 23 Feb 2011 14:14:19 -0800 (PST) Date: Wed, 23 Feb 2011 17:14:19 -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:39:22 -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