[Voyage-linux] General Broadcast UDP packets on APU2
Luciano Minichiello
(spam-protected)
Thu Feb 23 22:24:49 HKT 2017
Hi,
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
auto eth0
iface eth0 inet static
address 2.250.210.126
netmask 255.0.0.0
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 2.255.255.255 and not to 255.255.255.255.
I need to receive packet broadcasted to both address (2.255.255.255 and 255.255.255.255).
Tcpdump receive packets broadcasted to 255.255.255.255 but not the app. Packet sent on 2.255.255.255 runs the application perfectly.
Do you have any suggestion on that issue? I spent some hour investigating this, but without any result.
Any help will be appreciated.
Thanks
Luciano
More information about the Voyage-linux
mailing list