Is your application sending IGMP join messages out the emane0 interface or another interface (e.g. bmf0 where it does seem to work)? Have you done any testing of your application on systems with multiple interfaces configured?
-Jeff > -----Original Message----- > From: Anders Nilsson Plymoth [mailto:[email protected]] > Sent: Monday, April 28, 2014 2:01 PM > To: Jeff Weston > Cc: emane-users > Subject: Re: [emane-users] Multicast packets not received over radio interface > > Hi Jeff, > > > Thank you for your reply! > > > > > When you say " I tried setting rp_filter to 0 on ALL interfaces", I'm > not sure what you mean. net.ipv4.conf.*.rp_filter includes > individual interface sysctls as well as "default" and "all". > > > > > Yes, thats what I did. I set net.ipv4.conf.default.rp_filter and > net.ipv4.conf.all.rp_filter to 0 in /etc/sysctl.conf and ran sysctl -p. Since > this > didn't update the settings on all interfaces, like you mentioned below a > reboot was needed, I manually also set the rp_filter entries to 0 > for all interfaces in /proc/sys/net/ipv4/conf/xxx/rp_filter. > > > > > > There is also an Ubuntu-specific detail here, at least with newer > Ubuntu (e.g. 12.04) -- the distro does not set this in > /etc/sysctl.conf, but in /etc/sysctl.d/10-network-security.conf. So if > you set it in /etc/sysctl.conf, it may get overridden by the > other setting. > > > > Sorry, I am actually running Ubuntu 13.10 (not 11.10). I also changed the > setting in /etc/sysctl.d/10-network-security.conf and tested with > sysctl -p and rebooting. > > > > I would set "default" and "all" and reboot so that the other interfaces > pick up "default". 'sysctl -p' will reload the sysctl values, > but since the interfaces already exist they will not pick up "default" > values -- you need to reboot or perhaps just restart > networking. You can check whether it has taken effect by 'sysctl -a > 2>/dev/null | grep -F .rp_filter'. You want all of the values > returned to be 0. > > > > > Yes, 'sysctl -a 2>/dev/null | grep -F .rp_filter' indicates they are all > set to zero, but I still have the same issue. My application do not > receive packets after setting the 224.1.0.1 to emane0, although I do receive > them on tcpdump ( 'tcpdump -i eman0 -n' ). I changed the > route to 224.1.0.1/32 so only the address I use is affected, but no > difference. Without the route, I do receive, but over bmf0 rather than > eman0. > > > (otamanager and eventservice are configured to run on 224.3.2.8). > > > Do you have any other idea why my application doesn't receive multicast over > emane0? The application runs fine over our non-emulated > wireless testbed. > > > Thanks, > Anders > > > > > > -Jeff Weston > > > > -----Original Message----- > > From: [email protected] > [mailto:[email protected]] On Behalf Of Anders Nilsson > Plymoth > > Sent: Monday, April 28, 2014 12:21 PM > > To: [email protected] > > Subject: [emane-users] Multicast packets not received over radio > interface > > > > Hi, > > > > > > I am running the latest version of EMANE, from the repo, on an Ubuntu > 11.10 host. > > > > My problem is that I can not receive multicast packets over the radio > interface. Unicast works without issue. > > > > By default, there is a route setup by EMANE to 224.0.0.0/4 pointing > to bmf0, the bridge interface. I am using multicast address > > 224.1.0.1, > > and when using the default setup I am receiving packets over bmf0 > interface, which is not what I want; obviously I want to > receive > > the > > packets over the emane0 radio interface. > > > > If I add a route to 224.1.0.0/24 to emane0, I can the see packets > arrive on emane0 using tcpdump, but they are never received > by my > > application. I found an older posting: > > http://pf.itd.nrl.navy.mil/pipermail/emane-users/2012-May/000339.html > > > > where they say I should set rp_filter to 0 in order for applications > to receive multicast packets. I tried setting rp_filter to 0 on > > ALL > > interfaces, and that didn't help. I am still not receiving any > packets. > > > > > > Could someone help me find the issue? > > > > > > Thanks, > > Anders > > >
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ emane-users mailing list [email protected] http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users
