From: Daniel D. <sta...@gm...> - 2010-07-07 13:14:49
|
Hi, using the omap3-console-image on an overo air, I got no reception of multicast UDPs though the packets are visible via tcpdump. Multicast is enabled in kernel configuration (CONFIG_IP_MULTICAST=y) and I also checked these two threads: http://old.nabble.com/UDP-Mutlicast-Almost-Working-td20822056.html#a20822056 http://old.nabble.com/UDP-Mutlicast-Almost-Working-td20822056.html#a20822056 http://old.nabble.com/IGMP-Multicast-on-gumstix-td17554293.html#a17647216 http://old.nabble.com/IGMP-Multicast-on-gumstix-td17554293.html#a17647216 but the solutions in there do not solve my problem. My network is formed by BNEP connections via bluetooth. All BNEP network devices are enslaved by device "bond0" (interface bonding, see ifconfig output). Multicast forwarding is done by OLSRD and its BMF plugin (recipe olsrd), which creates interface "bmf0". So all multicast UDPs arrive at interface "bmf0" and are visible by tcpdump (see output below). For some reason they don't enter the stack and are not delivered to other applications. Any hints are highly appreciated. Regards, Daniel ============================== root@overo:~/bin# ifconfig -a bmf0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:192.168.66.235 P-t-P:192.168.66.235 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:2983 errors:0 dropped:0 overruns:0 frame:0 TX packets:381 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:527645 (515.2 KiB) TX bytes:101267 (98.8 KiB) bnep0 Link encap:Ethernet HWaddr 00:19:88:2B:5D:5F UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:10834 errors:0 dropped:0 overruns:0 frame:0 TX packets:3471 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1758190 (1.6 MiB) TX bytes:328674 (320.9 KiB) bond0 Link encap:Ethernet HWaddr 00:19:88:2B:5D:5F inet addr:192.168.66.235 Bcast:192.168.66.255 Mask:255.255.255.0 inet6 addr: fe80::219:88ff:fe2b:5d5f/64 Scope:Link UP BROADCAST RUNNING ALLMULTI MASTER MULTICAST MTU:1500 Metric:1 RX packets:10834 errors:0 dropped:0 overruns:0 frame:0 TX packets:3471 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1758190 (1.6 MiB) TX bytes:328674 (320.9 KiB) ================================== root@overo:~/bin# tcpdump -i bmf0 device bmf0 entered promiscuous mode tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on bmf0, link-type RAW (Raw IP), capture size 68 bytes 21:50:23.158569 IP proteus.local > 224.0.0.1: ICMP echo request, id 3661, seq 1204, length 64 21:50:24.158416 IP proteus.local > 224.0.0.1: ICMP echo request, id 3661, seq 1205, length 64 21:50:25.174194 IP proteus.local > 224.0.0.1: ICMP echo request, id 3661, seq 1206, length 64 21:50:26.158508 IP proteus.local > 224.0.0.1: ICMP echo request, id 3661, seq 1207, length 64 21:50:27.182006 IP proteus.local > 224.0.0.1: ICMP echo request, id 3661, seq 1208, length 64 21:50:28.174163 IP proteus.local > 224.0.0.1: ICMP echo request, id 3661, seq 1209, length 64 ================================= root@overo:~/bin# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface proteus.local * 255.255.255.255 UH 2 0 0 bond0 192.168.66.1 proteus.local 255.255.255.255 UGH 2 0 0 bond0 192.168.66.0 * 255.255.255.0 U 0 0 0 bond0 224.0.0.0 * 240.0.0.0 U 0 0 0 bmf0 -- View this message in context: http://old.nabble.com/overo-air%3A-no-UDP-multicast-reception-tp29095971p29095971.html Sent from the Gumstix mailing list archive at Nabble.com. |