{"action":"created","issue":{"url":"https://api.github.com/repos/jpetazzo/pipework/issues/157","labels_url":"https://api.github.com/repos/jpetazzo/pipework/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/jpetazzo/pipework/issues/157/comments","events_url":"https://api.github.com/repos/jpetazzo/pipework/issues/157/events","html_url":"https://github.com/jpetazzo/pipework/issues/157","id":95643073,"number":157,"title":"bonjour / multicast / mdns across macvlan ?","user":{"login":"dreamcat4","id":63074,"avatar_url":"https://avatars.githubusercontent.com/u/63074?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamcat4","html_url":"https://github.com/dreamcat4","followers_url":"https://api.github.com/users/dreamcat4/followers","following_url":"https://api.github.com/users/dreamcat4/following{/other_user}","gists_url":"https://api.github.com/users/dreamcat4/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamcat4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamcat4/subscriptions","organizations_url":"https://api.github.com/users/dreamcat4/orgs","repos_url":"https://api.github.com/users/dreamcat4/repos","events_url":"https://api.github.com/users/dreamcat4/events{/privacy}","received_events_url":"https://api.github.com/users/dreamcat4/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-17T11:56:12Z","updated_at":"2016-01-16T10:54:26Z","closed_at":"2016-01-16T10:54:26Z","body":"Hi,\r\nI've been using pipework for a while now and am pretty happy with it. However one thing I noticed was that the containers are not advertising multicast services on my LAN.\r\n\r\nUsing the standard macvlan mode (where pipework creates for me the macvlan circuit of each container). Perhaps this is something can be looked into?\r\n\r\nMore specifically, I think long ago I tried to manually add the `MULTICAST` flag to my container's pipework inside interface. But it didn't work.\r\n\r\nI think my main question is whether it is only the `MULTICAST` flag purely the problem, or if there are other technical hurdles / issues. Actually I looked just now inside my containers and they all seems to have the `MULTICAST` flag switched on. Same as the host interface. So what's might be the problem?\r\n\r\nAnother question is if something along these lines can be more easily acomplished by switching to OVS, which I confess I don't understand much of at this point. OVS seems to have it's own terminology and is not immediately obvious what to do to produce the desired outcome.\r\n"},"comment":{"url":"https://api.github.com/repos/jpetazzo/pipework/issues/comments/172182615","html_url":"https://github.com/jpetazzo/pipework/issues/157#issuecomment-172182615","issue_url":"https://api.github.com/repos/jpetazzo/pipework/issues/157","id":172182615,"user":{"login":"dreamcat4","id":63074,"avatar_url":"https://avatars.githubusercontent.com/u/63074?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamcat4","html_url":"https://github.com/dreamcat4","followers_url":"https://api.github.com/users/dreamcat4/followers","following_url":"https://api.github.com/users/dreamcat4/following{/other_user}","gists_url":"https://api.github.com/users/dreamcat4/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamcat4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamcat4/subscriptions","organizations_url":"https://api.github.com/users/dreamcat4/orgs","repos_url":"https://api.github.com/users/dreamcat4/repos","events_url":"https://api.github.com/users/dreamcat4/events{/privacy}","received_events_url":"https://api.github.com/users/dreamcat4/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T10:54:26Z","updated_at":"2016-01-16T10:54:26Z","body":"Good news! Multicast working is working for me now. Sorry for raising this issue - the feature working absoloutely fine in pipework.\r\n\r\nThe key components necessary:\r\n\r\n* ubuntu or debian userland\r\n* start dbus\r\n* check and make sure dbus is working all OK\r\n* start avahi-daemon\r\n* start your bonjour service / daemon\r\n\r\nThe worst one to get working is ^ dbus. But once those other dependancies are all working properly, then 'it just works'.\r\n\r\nMy own working example is not up / available yet (`dreamcat4/forked-daapd`). But you can see elsewhere other people's forked-daapd images. Which is for serving music libraries to iTunes as clients. \r\n\r\nIn short:\r\n\r\n`ubuntu-debootstrap` + `s6-overlay`\r\n\r\n```sh\r\n# start dbus\r\nmkdir -p /var/run/dbus\r\nchown -R messagebus:messagebus /var/run/dbus\r\ndbus-uuidgen --ensure\r\ndbus-daemon --nofork --system --nopidfile &\r\n\r\n# start avahi\r\navahi-daemon --no-chroot &\r\n\r\n# then start your server / daemon\r\n```\r\n\r\nAgain sorry for any false reports here. Closing."}}