Summary of the problem: a ping
from client
does not go to rpi1
, its ARP call is not answerd at srv
.
host0
andtap0
are bridged bybr0
.vpnin
andlan0
are two independent interfaces.- All traffic between the interfaces is allowed on
srv
(IP forwading is enabled and I have successful traffic betweenrpi1
and other interfaces not visible here, among others one which is the gateway to Internet)
Details: client
successfully pings itself (10.20.1.2
), 10.20.1.1
, 10.20.1.254
and 10.10.10.254
. When trying to ping 10.10.10.11
:
root@client:~# ping 10.10.10.11
PING 10.10.10.11 (10.10.10.11) 56(84) bytes of data.
From 10.20.1.1: icmp_seq=2 Redirect Host(New nexthop: 10.10.10.11)
From 10.20.1.1 icmp_seq=1 Destination Host Unreachable
From 10.20.1.2 icmp_seq=3 Destination Host Unreachable
From 10.20.1.2 icmp_seq=4 Destination Host Unreachable
From 10.20.1.2 icmp_seq=5 Destination Host Unreachable
Please note the flip-flap in the From
, between 10.20.1.1
and 10.20.1.2
.
When running a tcpdump
on srv
(where the ping ability is lost) I see ARP requests, but no replies:
root@srv ~# tcpdump -i vpnin -nn
17:10:54.463072 ARP, Request who-has 10.10.10.11 tell 10.20.1.1, length 28
17:10:55.459489 ARP, Request who-has 10.10.10.11 tell 10.20.1.1, length 28
17:10:56.459459 ARP, Request who-has 10.10.10.11 tell 10.20.1.1, length 28
17:10:56.473683 ARP, Request who-has 10.10.10.11 tell 10.20.1.2, length 28
17:10:57.469788 ARP, Request who-has 10.10.10.11 tell 10.20.1.2, length 28
17:10:58.469608 ARP, Request who-has 10.10.10.11 tell 10.20.1.2, length 28
Again, both 10.20.1.1
and 10.20.1.2
request an answer.
The ARP table on srv
does have an answer
root@srv ~# arp -a
(...)
rpi1.10.in-addr.arpa (10.10.10.11) at f4:f2:6d:09:35:1b [ether] on lan0
What can be the reason
- for the lack of reply?
- and for this strange switch between
10.20.1.1
and10.20.1.2
?