Carl, thanks again for your response. Here is the output for the commands. I removed all traceroute output which are just “* * *”
[root@ip-10-1-0-5 ~]# traceroute 10.2.0.5
traceroute to 10.2.0.5 (10.2.0.5), 30 hops max, 60 byte packets
1 169.254.253.9 (169.254.253.9) 0.329 ms 0.566 ms 169.254.253.13 (169.254.253.13) 0.364 ms
2 169.254.253.21 (169.254.253.21) 0.582 ms 0.824 ms 0.566 ms
3 10.100.0.5 (10.100.0.5) 2.706 ms 2.684 ms 2.910 ms
5 10.100.0.5 (10.100.0.5) 3.405 ms 3.636 ms 3.391 ms
11 10.100.0.5 (10.100.0.5) 5.582 ms 5.564 ms 5.561 ms
13 * 10.100.0.5 (10.100.0.5) 6.944 ms 6.812 ms
17 * 10.100.0.5 (10.100.0.5) 8.097 ms 8.312 ms
19 10.100.0.5 (10.100.0.5) 9.065 ms 9.052 ms 8.803 ms
25 10.100.0.5 (10.100.0.5) 12.697 ms 12.936 ms 12.473 ms
27 10.100.0.5 (10.100.0.5) 13.398 ms 13.380 ms *
28 29 30
[root@ip-10-2-0-5 ~]# traceroute 10.100.0.5
traceroute to 10.100.0.5 (10.100.0.5), 30 hops max, 60 byte packets
1 169.254.255.33 (169.254.255.33) 2.445 ms 169.254.255.29 (169.254.255.29) 1.689 ms 169.254.255.33 (169.254.255.33) 2.407 ms
2 169.254.255.5 (169.254.255.5) 1.662 ms 1.675 ms 1.647 ms
3 10.100.0.5 (10.100.0.5) 82.866 ms 82.695 ms 82.710 ms
When I ping from 10.1.0.5 to 10.2.0.5, tcpdump traffic on vti0 or vti1 is empty. But there is traffic on eth0.
[root@ip-10-1-0-5 ~]# ping 10.2.0.5
PING 10.2.0.5 (10.2.0.5) 56(84) bytes of data.
^C
--- 10.2.0.5 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1660ms
root@VyOS-AMI:~# sudo tcpdump -i vti0 host 10.1.0.5
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vti0, link-type RAW (Raw IP), capture size 65535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
root@VyOS-AMI:~# sudo tcpdump -i vti1 host 10.1.0.5
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vti1, link-type RAW (Raw IP), capture size 65535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
root@VyOS-AMI:~# sudo tcpdump -i eth0 host 10.1.0.5
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
21:56:35.903177 IP 10.1.0.5 > 10.2.0.5: ICMP echo request, id 24605, seq 1, length 64
21:56:35.903894 IP 10.1.0.5 > 10.2.0.5: ICMP echo request, id 24605, seq 1, length 64
21:56:35.904656 IP 10.1.0.5 > 10.2.0.5: ICMP echo request, id 24605, seq 1, length 64
21:56:35.905433 IP 10.1.0.5 > 10.2.0.5: ICMP echo request, id 24605, seq 1, length 64
.....
But, if I ping from 10.1.0.5 to 10.100.0.5, I see ICMP echo reply traffic on vti0
root@VyOS-AMI:~# sudo tcpdump -i vti0 host 10.1.0.5
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vti0, link-type RAW (Raw IP), capture size 65535 bytes
21:57:51.299033 IP 10.100.0.5 > 10.1.0.5: ICMP echo reply, id 24861, seq 1, length 64
21:57:52.300578 IP 10.100.0.5 > 10.1.0.5: ICMP echo reply, id 24861, seq 2, length 64
.....
^C