From owner-freebsd-net@FreeBSD.ORG Mon Mar 29 06:46:38 2010 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 15E19106564A; Mon, 29 Mar 2010 06:46:38 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp1.dlr.de (smtp1.dlr.de [129.247.252.32]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0B18FC1A; Mon, 29 Mar 2010 06:46:37 +0000 (UTC) Received: from beagle.kn.op.dlr.de ([129.247.178.136]) by smtp1.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 29 Mar 2010 08:46:35 +0200 Date: Mon, 29 Mar 2010 08:47:21 +0200 (CEST) From: Hartmut Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: alexpalias-bsdnet@yahoo.com In-Reply-To: <124901.34135.qm@web56406.mail.re3.yahoo.com> Message-ID: <20100329084440.F49198@beagle.kn.op.dlr.de> References: <124901.34135.qm@web56406.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-OriginalArrivalTime: 29 Mar 2010 06:46:35.0937 (UTC) FILETIME=[937AD110:01CACF0B] Cc: freebsd-net@freebsd.org, Shteryana Shopova , Ivan Voras , Vasily Samoylov Subject: Re: Poor situation with snmp support in FreeBSD 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: Mon, 29 Mar 2010 06:46:38 -0000 On Sat, 27 Mar 2010, alexpalias-bsdnet@yahoo.com wrote: > One thing that is not working as expected in bsnmpd (or maybe I'm not >expecting the right thing) is replying to queries on multihomed hosts. > > That is, if one machine has 2 network interfaces, one with IP address >192.168.1.1, mask 255.255.255.0 and another 10.10.10.10 (same mask), if a >host on the 192.168 segment tries to query this host on its 10.10.10.10 >IP address, it will receive a reply from 192.168.1.1 - which will be >ignored, since it's not the host we tried to query. > > Is this the normal behaviour? This was discussed lately on the SNMP news list. There is no behaviour described by the standard in this case and it seems that both behaviours exist and are formally allowed. I would say that it would be good to make the response appear from the same IP address as the request was sent to. I try to look whether this can be done easily. harti