From owner-freebsd-multimedia Sun Apr 19 19:14:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA09877 for freebsd-multimedia-outgoing; Sun, 19 Apr 1998 19:14:44 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from roma.coe.ufrj.br (jonny@roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA09830 for ; Mon, 20 Apr 1998 02:14:31 GMT (envelope-from jonny@coe.ufrj.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id XAA20010; Sun, 19 Apr 1998 23:14:15 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199804200214.XAA20010@roma.coe.ufrj.br> Subject: Re: FreeBSD Mbone "terminal" In-Reply-To: <199804131924.VAA01582@labinfo.iet.unipi.it> from Luigi Rizzo at "Apr 13, 98 09:24:16 pm" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Sun, 19 Apr 1998 23:14:14 -0300 (EST) Cc: deering@cisco.com, mjh@ISI.EDU, multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org #define quoting(Mark Handley) // In any event, the solution I've ended up with is to configure a // multicast capable FreeBSD "discard" interface, and to set the route // for 224/4 to point there. // // To do this you need to patch if_disc.c to not set IFF_LOOPBACK. // I.e., change: // ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST; // to // ifp->if_flags = IFF_MULTICAST | IFF_BROADCAST; Is there anything preventing this from being the default for that interface ? In a "discard" interface, there's no real meaning in being LOOPBACK or BROADCAST, since the packets will be discarded. :) This seems to be the yield of a conversion (kludge ?) from the loopback device. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 ( Job ) jonny@coppe.ufrj.br M.Sc. Student Electrical Engineering Universidade Federal do Rio de Janeiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message