Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2001 22:19:09 -0700
From:      Bill Fenner <fenner@research.att.com>
To:        daniel.sobral@tcoip.com.br
Cc:        net@freebsd.org
Subject:   Re: VLAN speed
Message-ID:  <200110100519.WAA03152@windsor.research.att.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110100519.WAA03152>