{"action":"created","issue":{"url":"https://api.github.com/repos/troglobit/pimd/issues/46","labels_url":"https://api.github.com/repos/troglobit/pimd/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/troglobit/pimd/issues/46/comments","events_url":"https://api.github.com/repos/troglobit/pimd/issues/46/events","html_url":"https://github.com/troglobit/pimd/issues/46","id":79222202,"number":46,"title":"PIM router does not forward traffic received from PIM DR router","user":{"login":"greenpau","id":3826416,"avatar_url":"https://avatars.githubusercontent.com/u/3826416?v=3","gravatar_id":"","url":"https://api.github.com/users/greenpau","html_url":"https://github.com/greenpau","followers_url":"https://api.github.com/users/greenpau/followers","following_url":"https://api.github.com/users/greenpau/following{/other_user}","gists_url":"https://api.github.com/users/greenpau/gists{/gist_id}","starred_url":"https://api.github.com/users/greenpau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenpau/subscriptions","organizations_url":"https://api.github.com/users/greenpau/orgs","repos_url":"https://api.github.com/users/greenpau/repos","events_url":"https://api.github.com/users/greenpau/events{/privacy}","received_events_url":"https://api.github.com/users/greenpau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-22T00:42:43Z","updated_at":"2015-07-29T11:40:12Z","closed_at":null,"body":"@troglobit, there are two routers connected via GRE tunnel: `R1` and `R2`.\r\n\r\n`R1` is RP.\r\n\r\n`R2` send multicast packets to the group address of  `239.2.2.10`: \r\n\r\n```\r\n# mtools_2.2/msend -i 10.254.0.110 -g 239.2.2.10 -p 5001\r\nNow sending to multicast group: 239.2.2.10\r\nSend out msg 1 to 239.2.2.10:5001:\r\nSend out msg 2 to 239.2.2.10:5001:\r\n```\r\n\r\n`R1` sees the packets arriving when listening on its tunnel interface:\r\n\r\n```\r\n# ./mreceive -g 239.2.2.10 -p 5001-i 10.254.0.12\r\nNow receiving from multicast group: 239.2.2.10\r\nReceive msg 1 from 10.254.0.110:5001:\r\nReceive msg 2 from 10.254.0.110:5001:\r\n```\r\n\r\nThe issue arose when sending traffic to another interface of `R1`. It does not forward the packet over.\r\n\r\nTroubleshooting:\r\n\r\n1. On `R2`, checked multicast forwarding:\r\n\r\n```\r\n find  /proc -type f -name \"mc_forwarding\" -exec awk 'END {print $0 \",\" FILENAME}' {} \\;\r\n\r\n1,/proc/sys/net/ipv4/conf/all/mc_forwarding\r\n0,/proc/sys/net/ipv4/conf/default/mc_forwarding\r\n0,/proc/sys/net/ipv4/conf/lo/mc_forwarding\r\n1,/proc/sys/net/ipv4/conf/pimreg/mc_forwarding\r\n1,/proc/sys/net/ipv4/conf/tun1/mc_forwarding\r\n```\r\n\r\nThe same on `R1`:\r\n\r\n```\r\n1,/proc/sys/net/ipv4/conf/all/mc_forwarding\r\n0,/proc/sys/net/ipv4/conf/default/mc_forwarding\r\n0,/proc/sys/net/ipv4/conf/lo/mc_forwarding\r\n1,/proc/sys/net/ipv4/conf/pimreg/mc_forwarding\r\n1,/proc/sys/net/ipv4/conf/tun1/mc_forwarding\r\n```\r\nAlso, checked the following\r\n\r\n```\r\n# expected value is 1\r\ncat /proc/sys/net/ipv4/ip_forward\r\n# expected value is 0\r\ncat /proc/sys/net/ipv4/conf/all/rp_filter\r\n# expects virtual interfaces\r\ncat /proc/net/ip_mr_vif\r\n```\r\n\r\nOther tunnels work fine.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/troglobit/pimd/issues/comments/125926489","html_url":"https://github.com/troglobit/pimd/issues/46#issuecomment-125926489","issue_url":"https://api.github.com/repos/troglobit/pimd/issues/46","id":125926489,"user":{"login":"troglobit","id":183517,"avatar_url":"https://avatars.githubusercontent.com/u/183517?v=3","gravatar_id":"","url":"https://api.github.com/users/troglobit","html_url":"https://github.com/troglobit","followers_url":"https://api.github.com/users/troglobit/followers","following_url":"https://api.github.com/users/troglobit/following{/other_user}","gists_url":"https://api.github.com/users/troglobit/gists{/gist_id}","starred_url":"https://api.github.com/users/troglobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troglobit/subscriptions","organizations_url":"https://api.github.com/users/troglobit/orgs","repos_url":"https://api.github.com/users/troglobit/repos","events_url":"https://api.github.com/users/troglobit/events{/privacy}","received_events_url":"https://api.github.com/users/troglobit/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T11:40:12Z","updated_at":"2015-07-29T11:40:12Z","body":"If that is the `msend` I think it is, then its default TTL is set to 1 ... which means no router would forward that data.  Try adding `-t 255` to the command line of  `msend`, or an appropriate amount representative of the router depth in your setup."}}