From owner-freebsd-net@FreeBSD.ORG Sun Sep 28 02:12:06 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 CEBA216A504 for ; Sun, 28 Sep 2003 02:12:06 -0700 (PDT) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEA5744011 for ; Sun, 28 Sep 2003 02:12:05 -0700 (PDT) (envelope-from yannick.dambielle@free.fr) Received: from shibuya (nord-5-82-67-198-63.fbx.proxad.net [82.67.198.63]) by postfix3-2.free.fr (Postfix) with SMTP id AFC1EC359; Sun, 28 Sep 2003 11:11:53 +0200 (CEST) Message-ID: <001401c385a0$95536d00$3fc64352@shibuya> From: "Dambielle Yannick" To: "Giovanni P. Tirloni" , References: <001301c38545$27a15cf0$3fc64352@shibuya> <20030928045919.GB92528@pixies.tirloni.org> Date: Sun, 28 Sep 2003 11:11:53 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 09:12:06 -0000 When I sniff lo0, I have this result : 10:09:12 10.0.0.1 > 10.0.0.1: icmp: echo request 10:09:12 10.0.0.1 > 10.0.0.1: icmp: echo reply ... I've noticed that in dmesg: tap0: discard frame w/o leading ethernet header (len 2 pkt len2) I don't know anything about that (?!?) Does it works for you when you sniff a tap interface ? Yannick ----- Original Message ----- From: "Giovanni P. Tirloni" To: Sent: Sunday, September 28, 2003 6:59 AM Subject: Re: tcpdump - tun/tap virtual interfaces > * Dambielle Yannick (yannick.dambielle@free.fr) wrote: > > Hello everybody, > > > > 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. > > Try sniffing your loopback (lo0) interface. > > -- > Giovanni P. Tirloni > Fingerprint: 8C3F BEC5 79BD 3E9B EDB8 72F4 16E8 BA5E D031 5C26 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >