I'm developping an app for Android Things DP4 on Rpi3.
I need my Rpi to send packets with destination IP in the network 10.110.2.0 with the interface wlan0 and packets with destination IP in the network 18.104.22.168 with eth0.
For the moment, when I send a packet, I always have the error message :
Network Unreachable. It looks like I need to specify rules in iptables, but my only experience from iptables is from linux : and there are MANY more chains in Android.
I must select the interface when I use ping (
ping -I eth0 22.214.171.124) otherwise, I have the error message
So : Does someone know how to route on an interface after checking the IP address ?