From owner-freebsd-net Tue Oct 9 22:19:15 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by hub.freebsd.org (Postfix) with ESMTP id 14BB537B401 for ; Tue, 9 Oct 2001 22:19:12 -0700 (PDT) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id 4F43B4CE34; Wed, 10 Oct 2001 01:19:11 -0400 (EDT) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id BAA18235; Wed, 10 Oct 2001 01:19:10 -0400 (EDT) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id WAA03152; Tue, 9 Oct 2001 22:19:10 -0700 (PDT) Message-Id: <200110100519.WAA03152@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: daniel.sobral@tcoip.com.br Subject: Re: VLAN speed Cc: net@freebsd.org Date: Tue, 9 Oct 2001 22:19:09 -0700 Versions: dmail (solaris) 2.2j/makemail 2.9b 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 >Why does vlans announce themselves as being 10 Mbits/s? I'm getting this >from snmp on vlans that are attached to 100 Mbits/s cards. Because if_vlan.c calls ether_ifattach() without setting ifp->if_baudrate? I think "0" would be the most accurate value to return; if you really want to know the parent's ifSpeed you could [implement the ifStackTable and then] use the ifStackTable to find it. (ifSpeed says "For a sub-layer which has no concept of bandwidth, this object should be zero." I'd argue that this describes VLAN interfaces.) Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message