From owner-freebsd-net@FreeBSD.ORG Sat Jul 25 14:18:09 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B8BB1065674 for ; Sat, 25 Jul 2009 14:18:09 +0000 (UTC) (envelope-from iprebeg@freebsd.org) Received: from maja.zesoi.fer.hr (maja.zesoi.fer.hr [161.53.64.3]) by mx1.freebsd.org (Postfix) with ESMTP id D2BD08FC22 for ; Sat, 25 Jul 2009 14:18:08 +0000 (UTC) (envelope-from iprebeg@freebsd.org) Received: from localhost (localhost [127.0.0.1]) by maja.zesoi.fer.hr (Postfix) with ESMTP id 90F3942F7A for ; Sat, 25 Jul 2009 16:18:04 +0200 (CEST) Received: from maja.zesoi.fer.hr ([127.0.0.1]) by localhost (maja.zesoi.fer.hr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qpG7vB+LF1Cb for ; Sat, 25 Jul 2009 16:17:58 +0200 (CEST) Received: from valeria.zesoi.fer.hr (valeria.zesoi.fer.hr [161.53.64.29]) by maja.zesoi.fer.hr (Postfix) with ESMTP id 7772142F7E for ; Sat, 25 Jul 2009 16:17:38 +0200 (CEST) Date: Sat, 25 Jul 2009 16:11:38 +0200 From: iprebeg@freebsd.org To: freebsd-net@freebsd.org Message-ID: <20090725141138.GA3370@valeria.zesoi.fer.hr> References: <20090725130424.GA24589@valeria.zesoi.fer.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090725130424.GA24589@valeria.zesoi.fer.hr> User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: Wrong multicast destination IP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 14:18:09 -0000 On Sat, Jul 25, 2009 at 03:04:24PM +0200, iprebeg@freebsd.org wrote: > > In recent current kernel, it appears that IGMPv2 reports (not IGMPv3) > are sent to wrong multicast address. I'm trying to setup mcast routing > in this way: > > .--. .--. .--. > |c1|-10.0.1.2---10.0.1.1-|mr|-10.0.2.1---10.0.2.2-|c2| > '--' em0 em0 '--' em2 em0 '--' > > (em1 is used for SSH access) > > mrouted is started on mr with configuration containing only one line: > > >phyint em1 disable > > and route is created: > > >route add 224/24 -iface em0 > > Machine c1 issues command > > >mcastread -v4 -s 10.0.2.2 em0 235.0.0.1 1337 > > and machine c2 has route > > >route add 224/24 -iface em0 > > and issuse command > > >mcastsend 235.0.0.1 1337 > > mr uses p4 kernel dating 24th of June and cX's use BETA2. > > So, I have two problems. > > 1) No packets are forwarded. I hope that reason is problem stated in 2). > Anyway, I'd be happy if someone can confirm that I'm doing everything > right. It would be also cool if someone could post XORP configuration > that I can use for this configuration. I can see UDP packets reach em2 > iface on mr. > > 2) Even all machines support IGMPv3, after I start mrouted, network > converges to IGMPv2. What I see in tcpdump is that DIP of IGMPv2 > packets isn't in IGMP-CONTROL range (224.0.0.X), but it is set to IP > of group that it tries to join ( 235.0.0.1 in this case ). This is > not cast with IGMP leave or IGMPv3 reports which are generated by > same commands after I kill mrouted and network again converges to > IGMPv3 Please, IGNORE part about improper dest addr, I realized difference with IGMPv3 and IGMPv{1,2} reports destionation IP. I still need some help with setting up mcast routing... > > TIA > > iprebeg > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"