From owner-freebsd-net Wed Oct 31 15:57:47 2001 Delivered-To: freebsd-net@freebsd.org Received: from vbook.express.ru (vbook.nc.express.ru [212.24.37.35]) by hub.freebsd.org (Postfix) with ESMTP id F0D0A37B405 for ; Wed, 31 Oct 2001 15:57:43 -0800 (PST) Received: from vova by vbook.express.ru with local (Exim 3.31 #2) id 15z5EB-000LB1-00; Thu, 01 Nov 2001 02:56:59 +0300 From: "Vladimir B. Grebenschikov" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15328.36810.299540.176280@vbook.express.ru> Date: Thu, 1 Nov 2001 02:56:58 +0300 To: Archie Cobbs Cc: "Vladimir B. Grebenschikov" , freebsd-net@FreeBSD.ORG Subject: Re: mdp and ng_iface In-Reply-To: <200110312338.f9VNcVi12070@arch20m.dellroad.org> References: <15328.34968.177198.602714@vbook.express.ru> <200110312338.f9VNcVi12070@arch20m.dellroad.org> X-Mailer: VM 6.96 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Archie Cobbs writes: > Vladimir B. Grebenschikov writes: > > > That's the right patch for what you want to do. > > > > May be "more" right solution is rename netgraph interfaces and use > > SNMP-software that aware about interface names not indexes ? > > Yes.. I don't know what an "SNMP index" is but it seems to > imply an assumption that the interface list is static, which > is an invalid one. Who are can commit changes into ng_iface.c to to support interface renaming ? For my concern there are two possible ways: 1. annouce setifname message for netgraph interface for set interface name (not related with netgraph node name) I have send this patch in list some time ago. 2. extend standart netgraph rename to rename interface simaltaniosly with interface node rename. This change will be helpful I think. > -Archie -- TSB Russian Express, Moscow Vladimir B. Grebenschikov, vova@express.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message