From owner-freebsd-net@FreeBSD.ORG Wed Jan 7 04:15:05 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 23317106564A for ; Wed, 7 Jan 2009 04:15:05 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 965938FC17 for ; Wed, 7 Jan 2009 04:15:04 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id n074F2gW053506; Wed, 7 Jan 2009 15:15:02 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 7 Jan 2009 15:15:02 +1100 (EST) From: Ian Smith To: perryh@pluto.rain.com In-Reply-To: <49618962.WvA2bFthdzGdSO/b%perryh@pluto.rain.com> Message-ID: <20090107150633.S28770@sola.nimnet.asn.au> References: <495edc8b.yfwTDGtb9G/8NMur%perryh@pluto.rain.com> <20090103154232.P28770@sola.nimnet.asn.au> <49618962.WvA2bFthdzGdSO/b%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-net@freebsd.org Subject: Re: (partly) SOLVED: tun0 not responding to ping 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, 07 Jan 2009 04:15:05 -0000 On Sun, 4 Jan 2009, perryh@pluto.rain.com wrote: > Ian Smith wrote: > > On Fri, 2 Jan 2009, perryh@pluto.rain.com wrote: > > > > > Why would a local interface, reported as up in ifconfig, not respond > > > to a ping of its own IP address? The tun0 reported below doesn't, > ... > > > $ ifconfig -a > ... > > > tun0: flags=8051 mtu 1412 > > > inet6 fe80::2b0:d0ff:fe28:ad4f%tun0 prefixlen 64 scopeid 0x4 > > > inet ZZZ.ZZZ.233.42 --> ZZZ.ZZZ.233.42 netmask 0xffffffff > > > Opened by PID 24635 > > > > I don't know if this is relevant or not, but I've never seen a point to > > point interface use the same IP address on both ends of its link before. .. at least, not when using ppp(8) That's what I get for ASSuming :) > It turns out to be normal -- or at least tolerable -- for a tun(4) > interface used by vpnc to have the same IP address at both ends. > It started working when I added > > NAT Traversal Mode cisco-udp > > to vpnc.conf. (Presumably not all configurations of the Cisco 3000 > will need that, else it would be the default, but it seems to be > correct for the one involved here.) > > I never did figure out why that kept the interface from responding > to a ping of its own address :( Glad to hear it's working anyway, on getting back from a few days away. cheers, Ian