Can someone tell me why do I have arp table entry outside interface network?
Server has 2 interfaces, both on the same network:
default via 10.10.32.2 dev eth0 proto static metric 1024
10.10.32.0/22 dev eth0 proto kernel scope link src 10.10.34.146
10.10.32.0/22 dev eth1 proto kernel scope link src 10.10.33.188
Address HWtype HWaddress Flags Mask Iface
22.214.171.124 ether d4:d7:48:b5:a3:c1 C eth1
126.96.36.199 ether d4:d7:48:b5:a3:c1 C eth0
And then, when I ping 188.8.131.52 (from eth0) I get icmp reply but arp table does not change.
But when I ping -I eth1 184.108.40.206 I get icmp reply and there is a new entry in arp table:
220.127.116.11 ether d4:d7:48:b5:a3:c1 C eth1
But, when I add 'ip route add default via 18.104.22.168 dev eth1' to the routing table and ping 22.214.171.124 from eth1 there is no new arp table entry for 126.96.36.199.
Why is that?
NOTE: Both interfaces are connected to Cisco switch with 'ip local-proxy-arp' on the SVI with ip 188.8.131.52/22 which is default gw, and both are in Private VLAN.