From owner-freebsd-net@FreeBSD.ORG Sun Sep 28 10:24:18 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 468B816A4B3 for ; Sun, 28 Sep 2003 10:24:18 -0700 (PDT) Received: from pixies.tirloni.org (pixies.tirloni.org [200.203.183.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F40343FDD for ; Sun, 28 Sep 2003 10:24:16 -0700 (PDT) (envelope-from tirloni@tirloni.org) Received: from localhost (pixies [200.203.183.37]) by pixies.tirloni.org (Postfix) with ESMTP id E6DA81E146F for ; Sun, 28 Sep 2003 14:24:13 -0300 (BRT) Received: from pixies.tirloni.org ([200.203.183.37]) by localhost (pixies.tirloni.org [200.203.183.37]) (amavisd-new, port 10024) with ESMTP id 44409-07 for ; Sun, 28 Sep 2003 14:24:02 -0300 (BRT) Received: by pixies.tirloni.org (Postfix, from userid 1000) id 1E7051E141B; Sun, 28 Sep 2003 14:24:02 -0300 (BRT) Date: Sun, 28 Sep 2003 14:24:01 -0300 From: "Giovanni P. Tirloni" To: freebsd-net@freebsd.org Message-ID: <20030928172401.GC92528@pixies.tirloni.org> Mail-Followup-To: freebsd-net@freebsd.org References: <001301c38545$27a15cf0$3fc64352@shibuya> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: X-Info: http://www.tirloni.org User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at tirloni.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 17:24:18 -0000 * Robert Watson (rwatson@freebsd.org) wrote: > 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. About Ethernet frames not going out to the wire and being sent to the loopback.. The check seems to happen at line 291 in if_ethersubr.c and then it uses the if_simloop() function to copy the packet to the loopback interface. Is that right? The rcvif interface is set to the hardware device, how is this used in this case? What kind of checks are done to the rcvif usually? I haven't received my copy of Steven's Volume 2 yet so if it's explained there (as I hope) I will sit in my corner and wait to for it patiently :) -- Giovanni P. Tirloni Fingerprint: 8C3F BEC5 79BD 3E9B EDB8 72F4 16E8 BA5E D031 5C26