Date: Fri, 21 Nov 2008 13:31:03 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: jail@FreeBSD.org Cc: rpaulo@FreeBSD.org Subject: Jails & multicast? Message-ID: <20081121133103.123166twjls14360@webmail.leidinger.net>
next in thread | raw e-mail | index | archive | help
Hi, does someone know if multicast is supposed to work in a jail? I'm playing around with avahi (mDNS / DNS-SD) in a jail. Now that I =20 defined a lot of service descriptions for all my jails, I wanted to =20 test this and tried to browse the service descriptions via mDNS. But =20 somehow I get no output. The avahi server is in the same jail as the avahi browser. In the =20 server output I see connections from the browser, but the browser =20 hangs and does not return (-> ctrl+c to abort =3D last line in the =20 following output): ---snip--- dbus-protocol.c: interface=3Dorg.freedesktop.Avahi.Server, path=3D/, =20 member=3DGetAPIVersion dbus-protocol.c: interface=3Dorg.freedesktop.Avahi.Server, path=3D/, =20 member=3DGetState dbus-protocol.c: interface=3Dorg.freedesktop.Avahi.Server, path=3D/, =20 member=3DDomainBrowserNew dbus-protocol.c: client :1.51 vanished. ---snip--- And here some info from ifmcstat. In the jail: ---snip--- # ifmcstat dc0: inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 inet 0.0.0.0 group 224.0.0.251 igmpv2 mcast-macaddr 01:00:5e:00:00:fb refcnt 1 group 224.0.0.1 mcast-macaddr 01:00:5e:00:00:01 refcnt 1 lo0: inet 0.0.0.0 group 224.0.0.1 inet6 ::1:0:0 inet6 ::1:0:0 group ff02::202%lo0 refcnt 1 group ff01::1%lo0 refcnt 2 group ff02::2:82d1:3fc1%lo0 refcnt 2 group ff02::1%lo0 refcnt 2 group ff02::1:ff00:1%lo0 refcnt 2 ---snip--- And outside the jail: ---snip--- # ifmcstat dc0: inet 192.168.1.2 inet 192.168.1.100 inet 192.168.1.101 inet 192.168.1.102 inet 192.168.1.103 inet 192.168.1.104 inet 192.168.1.105 inet 192.168.1.106 inet 192.168.1.107 inet 192.168.1.108 inet 192.168.1.110 inet 192.168.1.111 inet 192.168.1.113 inet 192.168.1.114 group 224.0.0.251 igmpv2 mcast-macaddr 01:00:5e:00:00:fb refcnt 1 group 224.0.0.1 mcast-macaddr 01:00:5e:00:00:01 refcnt 1 lo0: inet 127.0.0.1 group 224.0.0.1 inet6 fe80::1%lo0 inet6 ::1 group ff02::202%lo0 refcnt 1 group ff01::1%lo0 refcnt 2 group ff02::2:82d1:3fc1%lo0 refcnt 2 group ff02::1%lo0 refcnt 2 group ff02::1:ff00:1%lo0 refcnt 2 ---snip--- It's the first time I play around with multicast, any hints how to =20 debug this further are welcome. Anything I need to setup so that this =20 works? I have options MROUTING in the kernel, but that's all I did =20 related to multicast. Bye, Alexander. --=20 The light at the end of the tunnel can be a helluva nuisance, especially if you're using the tunnel as a darkroom. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081121133103.123166twjls14360>