I’m working on an APU2 board running Voyage Linux snapshot of 14/02/2017.
I configured the 3 etc port with static address editing the /etc/network/interfaces.d/eth0.conf with this lines
iface eth0 inet static
up route add 255.255.255.255 dev eth0
same configuration (obviously different IP address) is on eth1.conf and eth2.conf.
My application implement a protocol that uses broadcast UDP packet to identify the devices on the local network.
The same application runs perfectly on a Raspberry with Raspbian, but under Voyage the app receives the packet broadcasted to 22.214.171.124 and not to 255.255.255.255.
I need to receive packet broadcasted to both address (126.96.36.199 and 255.255.255.255).
Tcpdump receive packets broadcasted to 255.255.255.255 but not the app. Packet sent on 188.8.131.52 runs the application perfectly.
Do you have any suggestion on that issue? I spent some hour investigating this, but without any result.