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
18.104.22.168 ether d4:d7:48:b5:a3:c1 C eth1
22.214.171.124 ether d4:d7:48:b5:a3:c1 C eth0
And then, when I ping 126.96.36.199 (from eth0) I get icmp reply but arp table does not change.
But when I ping -I eth1 188.8.131.52 I get icmp reply and there is a new entry in arp table:
184.108.40.206 ether d4:d7:48:b5:a3:c1 C eth1
But, when I add 'ip route add default via 220.127.116.11 dev eth1' to the routing table and ping 18.104.22.168 from eth1 there is no new arp table entry for 22.214.171.124.
Why is that?
NOTE: Both interfaces are connected to Cisco switch with 'ip local-proxy-arp' on the SVI with ip 126.96.36.199/22 which is default gw, and both are in Private VLAN.