I can't speak for iperf3, but I'm doubtful there is a way to do this with iperf
2 <https://sourceforge.net/projects/iperf2/> because the network stack's
routing table is going make the forwarding decisions and it won't send
things out that our destined to self.
What platform are you using? If using linux, one may be able to code up an
AF_PACKET socket to do this
<http://www.microhowto.info/howto/send_an_arbitrary_ethernet_frame_using_an_af_packet_socket_in_c.html>.
Iperf 2 supports AF_PACKET receives in order to do l2tests.
Bob
On Tue, Jun 12, 2018 at 7:09 AM, Bo Vestergaard <bo.david.v...@gmail.com>
wrote:
> Hello iperf users,
>
> I am looking for a way to test a long distance Ethernet circuit. I don“t
> really want to connect iperf at both ends because that would require me to
> travel to another country just to connect a laptop. Instead, I would like
> to put the remote end of the circuit in loopback which I can do remotely.
> That means that every packet/frame send into the circuit travels through
> the circuit, turns around and comes straight back exactly as it was (unless
> there are errors on the circuit). I am looking for a bit of software that
> can transmit out an Ethernet port and check that the same data comes back.
> Is there any way to make iperf do this?
>
> Best regards
>
> Bo
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iperf-users mailing list
> Iperf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iperf-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users