From owner-freebsd-net Tue Jul 3 11:18:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from alacran.it.uc3m.es (alacran.it.uc3m.es [163.117.139.44]) by hub.freebsd.org (Postfix) with ESMTP id D8E4B37B41D for ; Tue, 3 Jul 2001 11:18:18 -0700 (PDT) (envelope-from jrh@it.uc3m.es) Received: from it.uc3m.es (localhost [127.0.0.1]) by alacran.it.uc3m.es (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f63IIHZ29299 for ; Tue, 3 Jul 2001 20:18:17 +0200 X-Authentication-Warning: alacran.it.uc3m.es: Host localhost [127.0.0.1] claimed to be it.uc3m.es Message-ID: <3B420C63.41C48FBB@it.uc3m.es> Date: Tue, 03 Jul 2001 20:18:11 +0200 From: Juan Fco Rodriguez Hervella X-Mailer: Mozilla 4.74 [es] (X11; U; Linux 2.4.3 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.programmer To: Lista Subject: How to send packets to another interface on the same machine Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear all: I have the following problem: I would like to send an IPv6 packet using a given interface, to the address that corresponds to another interface of the same machine. This, that seems a bit akward, it would be interesting for obtaining accurate packet latency results to test other systems that could be placed between the two interfaces (routers, etc.). Since the sending and the receiving process share the same physical clock, microsecond precision could be obtained in the measures. The problem is that FreeBSD recognises that the destination address is in the same machine, and routes directly through the loopback interface, without sending actually the packets through the wire. Anyone knows a trick to do this? -- ********************************* Juan F. Rodriguez Hervella Universidad Carlos III de Madrid ******************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message