From owner-freebsd-net Wed Oct 31 16:40:29 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 63D9E37B403 for ; Wed, 31 Oct 2001 16:40:24 -0800 (PST) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA38249; Wed, 31 Oct 2001 16:29:37 -0800 (PST) Date: Wed, 31 Oct 2001 16:29:37 -0800 (PST) From: Julian Elischer To: "Vladimir B. Grebenschikov" Cc: Archie Cobbs , freebsd-net@FreeBSD.ORG Subject: Re: mdp and ng_iface In-Reply-To: <15328.36810.299540.176280@vbook.express.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Ah you are the source of that patch! I have been meening to do this for a while but I have some differences.. 1/ I think that the netgraph name should change as well. This takes some work but can be done 2/ I would do it in reverse.. changing the nde name would change the interface name.. On Thu, 1 Nov 2001, Vladimir B. Grebenschikov wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message