Juan Fco Rodriguez Hervella wrote:
>
> 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?
I have recently built a similar test bench, but for latency accuracies
in the order of 1 ms (instead of some usecs), using ntp to synchronize
the machines.
This way, I could measure the the travelling time of packets down to a 1
ms accuracy (from one PC to another, both being synchronized to the same
NTP master server)
HtH
--
Thierry Herbelot
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message