root@main:~/xdp-tutorial/packet03# ping fc00:dead:cafe:4::2
PING fc00:dead:cafe:4::2(fc00:dead:cafe:4::2) 56 data bytes
64 bytes from fc00:dead:cafe:4::2: icmp_seq=1 ttl=64 time=0.033 ms
64 bytes from fc00:dead:cafe:4::2: icmp_seq=2 ttl=64 time=0.076 ms
64 bytes from fc00:dead:cafe:4::2: icmp_seq=3 ttl=64 time=0.155 ms
64 bytes from fc00:dead:cafe:4::2: icmp_seq=4 ttl=64 time=0.054 ms
From inside t enter --name left:
root@main:~/xdp-tutorial/packet03# ping fc00:dead:cafe:5::2
PING fc00:dead:cafe:5::2(fc00:dead:cafe:5::2) 56 data bytes
64 bytes from fc00:dead:cafe:5::2: icmp_seq=1 ttl=64 time=0.038 ms
64 bytes from fc00:dead:cafe:5::2: icmp_seq=2 ttl=64 time=0.074 ms
64 bytes from fc00:dead:cafe:5::2: icmp_seq=3 ttl=64 time=0.067 ms
64 bytes from fc00:dead:cafe:5::2: icmp_seq=4 ttl=64 time=0.078 ms
However, I tried to run iperf3 -s in left and iperf3 -c fc00:dead:cafe:4::2 in right, the client side (right) does not have any output. tcpdump in left shows:
I followed Bidirectional Router and ping between
left
andright
works:From inside
t enter --name right
:From inside
t enter --name left
:However, I tried to run
iperf3 -s
inleft
andiperf3 -c fc00:dead:cafe:4::2
inright
, the client side (right
) does not have any output. tcpdump inleft
shows:But otherwise no packet.
I am using the official solution. Do others encounter the same issue?
I also used
socat
in packet rewrite tutorial to verify that udp routing works.