Jails & multicast?
Alexander Leidinger
Alexander at Leidinger.net
Fri Nov 21 04:46:41 PST 2008
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
defined a lot of service descriptions for all my jails, I wanted to
test this and tried to browse the service descriptions via mDNS. But
somehow I get no output.
The avahi server is in the same jail as the avahi browser. In the
server output I see connections from the browser, but the browser
hangs and does not return (-> ctrl+c to abort = last line in the
following output):
---snip---
dbus-protocol.c: interface=org.freedesktop.Avahi.Server, path=/,
member=GetAPIVersion
dbus-protocol.c: interface=org.freedesktop.Avahi.Server, path=/,
member=GetState
dbus-protocol.c: interface=org.freedesktop.Avahi.Server, path=/,
member=DomainBrowserNew
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
debug this further are welcome. Anything I need to setup so that this
works? I have options MROUTING in the kernel, but that's all I did
related to multicast.
Bye,
Alexander.
--
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 = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-jail
mailing list