From owner-freebsd-current@FreeBSD.ORG Thu Sep 29 22:37:59 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5D4B16A421 for ; Thu, 29 Sep 2005 22:37:59 +0000 (GMT) (envelope-from josh.carroll@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA18843D55 for ; Thu, 29 Sep 2005 22:37:56 +0000 (GMT) (envelope-from josh.carroll@gmail.com) Received: by xproxy.gmail.com with SMTP id t13so1636029wxc for ; Thu, 29 Sep 2005 15:37:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UiPizXmfoDbfoAGL/s0mLrQSeThpq/Ql+BBC0VlPO0JRiSu1ltOPVlVtWo6xob8FnHWWsvwHXn4uVXzE8q3uKnc4+YkrpGLuqvEZanJbbxi1ZVdpw5TZOmcXilAqhxAPOuKzq3Ikfpe79c7KtzrzgaTs/3Mm4MpFcAonwghvHlI= Received: by 10.70.91.3 with SMTP id o3mr709252wxb; Thu, 29 Sep 2005 15:37:55 -0700 (PDT) Received: by 10.70.54.2 with HTTP; Thu, 29 Sep 2005 15:37:55 -0700 (PDT) Message-ID: <8cb6106e0509291537341813d3@mail.gmail.com> Date: Thu, 29 Sep 2005 15:37:55 -0700 From: Josh Carroll To: current@freebsd.org In-Reply-To: <20050929220629.B34322@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <8cb6106e0509290919177de1c4@mail.gmail.com> <20050929220629.B34322@fledge.watson.org> Cc: Subject: Re: UDP multicast packets not seen on listening interface in BETA5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@psualum.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2005 22:37:59 -0000 Bill - my apologies, I should have included that information. The NIC connected to the modem is fxp0, the NIC for the LAN is an em0. fxp0 is what I want to send the IGMP packets on, and on which I am listening for the modem's information. Specifically, the alias on fxp0 is 192.168.1.1 with netmask 255.255.255.0. The modem is on 192.168.1.254. Robert - there are actually two phases. The first phase is running the "wstart" program which sends broadcast packets to turn the modem stats "on", and then joins the the multicast group. It is not binding to a particular interface or IP: iphdr->ip_src.s_addr =3D INADDR_ANY; ... igmphdr->igmp_type =3D IGMP_V2_MEMBERSHIP_REPORT; And looking at tcpdump output while running wstart indicates it is binding to the default IP (fxp0's IP): 15:22:04.883779 IP deblin.org > IGMP.MCAST.NET: igmp v2 report 224.73.193.6= 2 Likewise, the westell program that listens for the packets does not bind to a particular interface or IP: server.sin_addr.s_addr=3Dhtonl(INADDR_ANY); The output from netstat -ia doesn't look to be much different between the two. Here is the output of netstat -ia on BETA5: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs = Coll em0 1500 00:0e:0c:6c:b9:16 298873 0 473687 0 = 0 33:33:f7:e8:2f:a9 746 11324 33:33:00:00:00:01 746 11324 33:33:ff:6c:b9:16 746 11324 01:00:5e:00:00:01 746 11324 em0 1500 10/24 10.0.0.1 289957 - 453474 - = - ALL-SYSTEMS.MCAST em0 1500 fe80:1::20e:c fe80:1::20e:cff:f 0 - 4 - = - ff02:1::2:f7e8:2fa9(refs: 1) ff02:1::1 (refs: 1) ff02:1::1:ff6c:b916(refs: 1) em0 1500 10.0.1/24 10.0.1.1 181 - 0 - = - ALL-SYSTEMS.MCAST fxp0 1500 00:a0:c9:1f:ac:f8 102256 0 80348 0 = 11 33:33:f7:e8:2f:a9 12321 10 33:33:00:00:00:01 12321 10 33:33:ff:1f:ac:f8 12321 10 01:00:5e:00:00:01 12321 10 fxp0 1500 66.218.55/24 deblin 71482 - 72916 - = - ALL-SYSTEMS.MCAST fxp0 1500 fe80:2::2a0:c fe80:2::2a0:c9ff: 0 - 4 - = - ff02:2::2:f7e8:2fa9(refs: 1) ff02:2::1 (refs: 1) ff02:2::1:ff1f:acf8(refs: 1) fxp0 1500 66.218.55/24 f00f.deblin 1522 - 0 - = - ALL-SYSTEMS.MCAST fxp0 1500 66.218.55/24 spoon.matrixdecod 7811 - 799 - = - ALL-SYSTEMS.MCAST fxp0 1500 66.218.55/24 efnet-linux.debli 1782 - 28 - = - ALL-SYSTEMS.MCAST fxp0 1500 192.168.1 192.168.1.1 221 - 220 - = - ALL-SYSTEMS.MCAST pflog 33208 0 0 0 0 = 0 lo0 16384 3391 0 3391 0 = 0 lo0 16384 your-net localhost 470 - 470 - = - ALL-SYSTEMS.MCAST lo0 16384 ip6-localhost ::1 0 - 0 - = - ff01::1 (refs: 1) ff02:4::2:f7e8:2fa9(refs: 1) ff02:4::1 (refs: 1) ff02:4::1:ff00:1 (refs: 2) lo0 16384 fe80:4::1 fe80:4::1 0 - 0 - = - ff01::1 (refs: 1) ff02:4::2:f7e8:2fa9(refs: 1) ff02:4::1 (refs: 1) ff02:4::1:ff00:1 (refs: 2) bridg 1500 ac:de:48:62:36:8d 13594 0 554055 0 = 0 And the output on BETA3: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs = Coll em0 1500 00:0e:0c:6c:b9:16 62 0 127 0 = 0 33:33:f7:e8:2f:a9 3 62 33:33:00:00:00:01 3 62 33:33:ff:6c:b9:16 3 62 01:00:5e:00:00:01 3 62 em0 1500 10/24 10.0.0.1 117 - 117 - = - ALL-SYSTEMS.MCAST em0 1500 fe80:1::20e:c fe80:1::20e:cff:f 0 - 3 - = - ff02:1::2:f7e8:2fa9(refs: 1) ff02:1::1 (refs: 1) ff02:1::1:ff6c:b916(refs: 1) em0 1500 10.0.1/24 10.0.1.1 1 - 0 - = - ALL-SYSTEMS.MCAST fxp0 1500 00:a0:c9:1f:ac:f8 1409 24 937 0 = 0 33:33:f7:e8:2f:a9 63 6 33:33:00:00:00:01 63 6 33:33:ff:1f:ac:f8 63 6 01:00:5e:00:00:01 63 6 fxp0 1500 66.218.55/24 deblin 678 - 909 - = - ALL-SYSTEMS.MCAST fxp0 1500 fe80:2::2a0:c fe80:2::2a0:c9ff: 0 - 3 - = - ff02:2::2:f7e8:2fa9(refs: 1) ff02:2::1 (refs: 1) ff02:2::1:ff1f:acf8(refs: 1) fxp0 1500 66.218.55/24 f00f.deblin 180 - 0 - = - ALL-SYSTEMS.MCAST fxp0 1500 66.218.55/24 spoon.matrixdecod 0 - 0 - = - ALL-SYSTEMS.MCAST fxp0 1500 66.218.55/24 efnet-linux.debli 147 - 0 - = - ALL-SYSTEMS.MCAST fxp0 1500 192.168.1 192.168.1.1 1 - 0 - = - ALL-SYSTEMS.MCAST pflog 33208 0 0 0 0 = 0 lo0 16384 152 0 152 0 = 0 lo0 16384 your-net localhost 8 - 8 - = - ALL-SYSTEMS.MCAST lo0 16384 ip6-localhost ::1 0 - 0 - = - ff01::1 (refs: 1) ff02:4::2:f7e8:2fa9(refs: 1) ff02:4::1 (refs: 1) ff02:4::1:ff00:1 (refs: 2) lo0 16384 fe80:4::1 fe80:4::1 0 - 0 - = - ff01::1 (refs: 1) ff02:4::2:f7e8:2fa9(refs: 1) ff02:4::1 (refs: 1) ff02:4::1:ff00:1 (refs: 2) bridg 1500 ac:de:48:dd:10:32 66 0 1100 0 = 0 Thanks again, Josh