From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 17 05:40:01 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39A80106564A for ; Thu, 17 Apr 2008 05:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1461D8FC1D for ; Thu, 17 Apr 2008 05:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3H5e0EN077911 for ; Thu, 17 Apr 2008 05:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3H5e01d077910; Thu, 17 Apr 2008 05:40:00 GMT (envelope-from gnats) Resent-Date: Thu, 17 Apr 2008 05:40:00 GMT Resent-Message-Id: <200804170540.m3H5e01d077910@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene <4pr@legis.krsn.ru> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE0371065672 for ; Thu, 17 Apr 2008 05:35:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id CABA18FC15 for ; Thu, 17 Apr 2008 05:35:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3H5YoYX060285 for ; Thu, 17 Apr 2008 05:34:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3H5YoaB060283; Thu, 17 Apr 2008 05:34:50 GMT (envelope-from nobody) Message-Id: <200804170534.m3H5YoaB060283@www.freebsd.org> Date: Thu, 17 Apr 2008 05:34:50 GMT From: Eugene <4pr@legis.krsn.ru> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/122839: FreeBSD 7 multucast routing problem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 05:40:01 -0000 >Number: 122839 >Category: misc >Synopsis: FreeBSD 7 multucast routing problem >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 17 05:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Eugene >Release: FreeBSD 7 >Organization: meridian ltd >Environment: FreeBSD central-gw 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Apr 15 21:05:52 KRAST 2008 >Description: Multicast routing does not working correctly. For example if i'm sending multicast stream into interface em0 with ip 192.168.101.1/24 from a windows machine with ip 192.168.101.2/24, using vlc player as generator of the stream 239.0.2.1, and trying to receive it on the interface em1 with ip 192.168.102.1/24 with other windows machine with ip 192.168.102.2/24 with the same version of vlc, acting as recever for that multicast stream, mrouted, wich builded from the ports (i also tryed pimdd) does not do multicast routing, until i put both interfaces into a promiscious mode. First i tryed multicast routing with GENERIC kernel, by loading ip_mroute before interfaces have been configured with /boot/loader.conf (ip_mroute_load="YES"). Then i tryed to load ip_mroute after evrething will loaede with kldload ip_mroute. Both times were no any errors on the console or logs. kldstat showed me, what module was loaded. As resault mrouting still not work. Than i tryed to rebuild the kernel with option MROUTING in kernel config. Mrotuing still not working. I thought, it may be a bug in the ethernet network driver, so i tryed to work with msk0 msk1 interfaces (that ethernet adapters builded into the motherboard). The resault still the same. Then mrouted daemon working, on all interfaces appears flag ALLMULTI, i sow than on ifconfig output. If i connect those two windows machines over a switch (machines even with the same ips) multicast stream appears on the other machine, so the stream itself is correct. If i start mrouted with debug option -d, without promiscious mode on network adapters, it seems, what mrouted are able to receive only igmp leave messages, then i pressing the stop button on vlc acting as recever: 19:12:18.835 RECV leave message from 192.168.102.2 to 224.0.0.2. With promiscious mode enabled mrouted output is: 19:13:48.138 RECV V2 member report from 192.168.102.2 to 239.0.2.1 19:13:48.138 group 239.0.2.1 joined on vif 1 19:13:48.138 update lclgrp (192.168.101/24 239.0.2.1) gm:2 19:13:48.270 RECV V2 member report from 192.168.102.2 to 239.0.2.1 19:13:52.344 aging forwarding cache entries There is no any packet filters enabled: ipfw list ipfw: getsockopt(IP_FW_GET): Protocol not available Output ifconfig (with mrouted or pimdd disabled, and no ALLMULTI flag): em0: flags=8843 metric 0 mtu 1500 options=19b ether 00:15:17:6d:3d:be inet 192.168.101.1 netmask 0xffffff00 broadcast 192.168.101.255 media: Ethernet autoselect (1000baseTX ) status: active em1: flags=8843 metric 0 mtu 1500 options=19b ether 00:15:17:6d:3d:45 inet 192.168.102.1 netmask 0xffffff00 broadcast 192.168.102.255 media: Ethernet autoselect (1000baseTX ) status: active msk0: flags=8802 metric 0 mtu 1500 options=9a ether 00:1e:8c:60:f8:43 media: Ethernet autoselect (none) status: no carrier lo0: flags=8049 metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff000000 >How-To-Repeat: Just try to start multicast routing. >Fix: Quick fix is to enable promiscious mode on the network adapters. >Release-Note: >Audit-Trail: >Unformatted: