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 184.108.40.206 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 220.127.116.11) otherwise, I have the error message
So : Does someone know how to route on an interface after checking the IP address ?