General Broadcast UDP packets on APU2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

General Broadcast UDP packets on APU2

Luciano Minichiello
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


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Loading...