From owner-freebsd-net@FreeBSD.ORG Sun Sep 28 09:41:04 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4587416A4B3 for ; Sun, 28 Sep 2003 09:41:04 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 620E643FE9 for ; Sun, 28 Sep 2003 09:41:03 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id h8SGeW7R039009; Sun, 28 Sep 2003 12:40:32 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h8SGeWUP039006; Sun, 28 Sep 2003 12:40:32 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 28 Sep 2003 12:40:32 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Dambielle Yannick In-Reply-To: <001301c38545$27a15cf0$3fc64352@shibuya> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: tcpdump - tun/tap virtual interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 16:41:04 -0000 On Sun, 28 Sep 2003, Dambielle Yannick wrote: > I've tried to dump some paquets sent to a virtual interface without any > success for a couple of hours so I ask for some helps to the list. I > use a FreeBSD 5.0, my kernel has been rebuilt and installed with the > following option in order to use a tap virtual interface : device tap > The virtual interface has been created (tap0) and I've attached the IP > adress 10.0.0.1. It seems ok, I can see it with ifconfig. All the tests > are local tests. While I ping 10.0.0.1 (paquets are sent and not lost), > I laught a tcpdump -i tap0 from another shell... Nothing is dumped > (?!)... Well, if some of you has an idea, I'll be very happy. Do you see anything when you ping the broadcast address or other foreign address of the tap interface? Packets delivered to local IP addresses generally don't go out an interface. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories