I need to be able to ping my rPi through eth0, but it is connected to wifi via wlan0. Turns out, it receives the ping on eth0, and replies through wlan0.
I have a rPi b+ 3, latest updates. Running sudo ip route add 192.168.10.0/24 dev eth0 works for my applications up until I reboot, then it disappears from ip route. Trying to add to crontab didn't work for me, I presume because it is a sudo command.
Is there a better method? Is it possible to have this command run every time at startup? Is there another file that runs at startup as the Pi user, so I can edit it and add the above line?
Thank you very much in advance!