I'm in need of some assistance troubleshooting a policy routing issue.
I have a linux host with multiple VLANs. I'm trying to create a unique routing table for each VLAN and I can ping bidirectionally between the host and the router on VLAN20, however, on the upstream router I'm seeing ARP requests for remote IPs instead of ARP requests for the gateway or traffic being sent to the gateway from the Linux host.
Linux Host VLAN20: 192.168.20.50
Router interface VLAN20: 192.168.20.1
Created the table "vlan20"
$ cat /etc/iproute2/rt_tables
# # reserved values
# 255 local
0 unspec #
Created rule to send all traffic sourced from VLAN20 interface using table vlan20
$ ip rule show
0: from all lookup local
32765: from all iif eth0.20 lookup vlan20
32766: from all lookup main
32767: from all lookup default
routing all traffic to the router vlan20 interface
$ ip route list table vlan20
default via 192.168.20.1 dev eth0.20
testing from linux host
ping 126.96.36.199 -I eth0.20
PING 188.8.131.52 (184.108.40.206) from 192.168.20.50 eth0.20: 56(84) bytes of data. From 192.168.20.50 icmp_seq=1 Destination Host Unreachable
From Router VLAN20 interface
9.568940 arp who-has 220.127.116.11 tell 192.168.20.50
10.565495 arp who-has 18.104.22.168 tell 192.168.20.50
Thanks for your assistance!