I hope someone can help me on this one.
My setup uses a BalenaFin and the ethernet is provided through a Moxa device (modbus I/O).
Wifi is also there.
However, for the situation in which internet is not available (for any reason), I would like communication to the specific IP of the Moxa device be driven over a specific interface. Normally you would do this by adding in the route table the IP address and Iface.
By doing this manually on the terminal Host OS, it works great and the device works in all situations.
route add -host dev eth0
However, I simply have not found a way to set up this route at runtime or boot automatically.
Anyone with a point here?
Thanks to all!