Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 2009 20:14:02 -0500 (CDT)
From:      Bill Marquette <bill.marquette@ucsecurity.com>
To:        freebsd-jail@freebsd.org
Subject:   Multicast in jail?
Message-ID:  <10880739.281246929242603.JavaMail.root@mail>

next in thread | raw e-mail | index | archive | help
I'm trying to run Avahi in a jail, much the same as Alexander Leidinger in this email from late last year http://www.mail-archive.com/freebsd-jail@freebsd.org/msg00587.html.  I couldn't find any replies to that thread and it seems that I'm running into the same issues - the service announcements make it on the wire and the other devices in the network see them.  However after some time, the other devices expire the service from their cache and ask for an update.  As best as I can tell, the multicast update packets aren't making it into the jail (I can certainly imagine why not!).  I don't have MROUTED compiled in the kernel, however the previously noted email did and it still didn't work.  I'm running 8.0-CURRENT as of 27-June-2009 on this machine now, GENERIC kernel with WITNESS and INVARIANTS compiled out.


Host:
> ifmcstat
em0:
        inet 192.168.69.100
        igmpv3 flags=0<> rv 2 qi 125 qri 10 uri 3
                group 224.0.0.251 mode exclude
                        mcast-macaddr 01:00:5e:00:00:fb
                group 224.0.0.1 mode exclude
                        mcast-macaddr 01:00:5e:00:00:01
lo0:
        inet 127.0.0.1
        igmpv3 flags=0<> rv 2 qi 125 qri 10 uri 3
                group 224.0.0.1 mode exclude
        inet6 fe80::1%lo0
        mldv2 flags=0<> rv 2 qi 125 qri 10 uri 3
                group ff01::1%lo0 mode exclude
                group ff02::2:736f:581e%lo0 mode exclude
                group ff02::1%lo0 mode exclude
                group ff02::1:ff00:1%lo0 mode exclude

Jail:
> ifmcstat
lo0:
        inet6 fe80::1%lo0
        mldv2 flags=0<> rv 2 qi 125 qri 10 uri 3
                group ff01::1%lo0 mode exclude
                group ff02::2:736f:581e%lo0 mode exclude
                group ff02::1%lo0 mode exclude
                group ff02::1:ff00:1%lo0 mode exclude

I'm pretty sure I saw em0 in the ifmcstat output for the jail the other day when I was messing with this, but I've rebooted since and have no idea what sequence of events led to that.  I hope I'm just missing something and I can get this setup working.  Any help would be most appreciated.  Thanks

--Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10880739.281246929242603.JavaMail.root>