From owner-freebsd-questions Mon Dec 10 8:36:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 5609737B417 for ; Mon, 10 Dec 2001 08:36:34 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id fBAGaeK04556; Mon, 10 Dec 2001 11:36:40 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Mon, 10 Dec 2001 11:36:40 -0500 (EST) From: Joe Clarke To: Danny Carroll Cc: freebsd-questions@FreeBSD.ORG Subject: Re: net-snmp SNMP and FreeBSD In-Reply-To: <9v1sjm$b38$1@news1.xs4all.nl> Message-ID: <20011210113540.W4501-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 10 Dec 2001, Danny Carroll wrote: > Is it possible to set the interface speed for tun0? > > I've tried it with a snmpset and I get this error: > interfaces.ifTable.ifEntry.ifSpeed.11 > > I've tried it with the interface option in snmpd.conf (interface tun0 23 > 10000000) > It understands the option but won't enforce it. ifSpeed is a read-only object: ifSpeed OBJECT-TYPE SYNTAX Gauge32 MAX-ACCESS read-only STATUS current DESCRIPTION "An estimate of the interface's current bandwidth in bits per second. For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth. If the bandwidth of the interface is greater than the maximum value reportable by this object then this object should report its maximum value (4,294,967,295) and ifHighSpeed must be used to report the interace's speed. For a sub-layer which has no concept of bandwidth, this object should be zero." ::= { ifEntry 5 } Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message