From owner-freebsd-net@FreeBSD.ORG Tue Aug 10 00:29:56 2004 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 9FBD916A4CE for ; Tue, 10 Aug 2004 00:29:56 +0000 (GMT) Received: from mail.tinkerbox.org (adsl-64-168-139-138.dsl.snfc21.pacbell.net [64.168.139.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E1DD43D41 for ; Tue, 10 Aug 2004 00:29:56 +0000 (GMT) (envelope-from bruno@tinkerbox.org) Received: from localhost (unknown [127.0.0.1]) by mail.tinkerbox.org (Postfix) with ESMTP id DB32A1AE8 for ; Tue, 10 Aug 2004 00:29:55 +0000 (GMT) Received: from mail.tinkerbox.org ([127.0.0.1]) by localhost (router.bschwand.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 64260-06 for ; Mon, 9 Aug 2004 17:29:45 -0700 (PDT) Received: from duron (unknown [192.168.137.4]) by mail.tinkerbox.org (Postfix) with ESMTP id 89E151AE6 for ; Mon, 9 Aug 2004 17:29:45 -0700 (PDT) Date: Mon, 9 Aug 2004 17:29:45 -0700 (PDT) From: bruno schwander X-X-Sender: bruno@duron.bschwand.net To: freebsd-net@freebsd.org Message-ID: <20040809172300.Q337@duron.bschwand.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at tinkerbox.org Subject: hardware loopback test with plug 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: Tue, 10 Aug 2004 00:29:56 -0000 Hi, I am trying to configure FBSD 4.8 to do an ethernet loopback test. I want to be able to sent packets over the ethernet interface, and a device hooked up to the ethernet port (at the very minimum, an RJ-45 loopback plug, i.e. with pins 1 & 3 and 2 & 6 connected together) This is to test a type of network transmitter. There exist a description of a test setup done using Linux here http://ronja.twibright.com/tetrapolis/testing.php, but applying the same principles does not seem to work on FBSD. Essentially, I would like to be able to ping the interface, and if the loopback plug is hooked up, then tcpdump should show the packets received, otherwise, nothing should be seen. Anybody knows how to do that ? I have been manipulationg arp tables and routes to no end, I do not see how to make this work. Any help appreciated bruno