[Bug 193953] bsnmpd missing 64-bit fields with vlan under lagg
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193953 Andrey V. Elsukovchanged: What|Removed |Added CC||a...@freebsd.org --- Comment #7 from Andrey V. Elsukov --- Created attachment 190856 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190856=edit Another patch We use this patch to solve this problem. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 193953] bsnmpd missing 64-bit fields with vlan under lagg
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193953 --- Comment #6 from Marek Zarychta--- Created attachment 190855 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190855=edit ugly_patch_exposing_64-bit_counters This patch at least exposes exposes 64-bit interface counters for vlan children, althrouhg the speed of aggregate interface itself is still being calculated by LACP code. Interface speed for LACP aggretated LAGGs is calculated in sys/net/ieee8023ad_lacp.c When the state of LACP interface changes VLAN children should also be made aware of this. Maybe someone will correct this by reinitializing valuse for LACP aggregate in right way by calling sys/net/ieee8023ad_lacp.c instead of comment /* LACP updates if_baudrate itself */. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 193953] bsnmpd missing 64-bit fields with vlan under lagg
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193953 --- Comment #5 from Marek Zarychta--- At present (11.1-PRERELEASE) this bug refers only to VLAN interfaces created from startup scripts on the top of LACP LAGGs. When the VLAN interface is created manually after the parent LACP LAGG is up, the speed reported by the interface reflects the speed of parent LAGG, also the 64-bit counters are present for such VLAN interface. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 193953] bsnmpd missing 64-bit fields with vlan under lagg
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193953 --- Comment #4 from Marek Zarychta--- (In reply to Eugene Grosbein from comment #3) This test has been done on the spare machine, which had been setup to test mentioned Bug 219453. The machine is currently running fresh FreeBSD 11.1-BETA2 #0 r319996. Ifconig -m doesn't show interface speed for this devices. Output is limited to physical interfaces belonging to the LAGG, LAGG interface itself and one child VLAN. IP addresses are not shown as irrelevant. ~# ifconfig -m msk0: flags=8843 metric 0 mtu 9000 options=80018 capabilities=c011b ether 00:0e:0c:a4:53:5d hwaddr 00:0e:0c:a4:53:5c nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active supported media: media autoselect mediaopt flowcontrol media autoselect media 1000baseT mediaopt full-duplex,master media 1000baseT mediaopt full-duplex media 1000baseT mediaopt master media 1000baseT media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT/UTP mediaopt full-duplex media 10baseT/UTP media none em0: flags=8843 metric 0 mtu 9000 options=98 capabilities=11389b ether 00:0e:0c:a4:53:5d hwaddr 00:0e:0c:a4:53:5d nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active supported media: media autoselect media 1000baseT media 1000baseT mediaopt full-duplex media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT/UTP mediaopt full-duplex media 10baseT/UTP lagg0: flags=8843 metric 0 mtu 9000 options=18 capabilities=1b ether 00:0e:0c:a4:53:5d inet (...) nd6 options=29 media: Ethernet autoselect status: active supported media: media autoselect groups: lagg laggproto lacp lagghash l2,l3,l4 laggport: msk0 flags=1c laggport: em0 flags=1c vlan0: flags=8843 metric 0 mtu 9000 ether 00:0e:0c:a4:53:5d inet (...) nd6 options=29 media: Ethernet autoselect status: active supported media: media autoselect vlan: 10 vlanpcp: 0 parent interface: lagg0 groups: vlan Here is the output of the command: ~# bsnmpwalk -v 2c -s public@127.0.0.1 (...) ifDescr[1] = msk0 ifDescr[2] = em0 ifDescr[3] = lo0 ifDescr[4] = lagg0 ifDescr[5] = lo1 ifDescr[6] = lo2 ifDescr[7] = lo3 ifDescr[8] = lo4 ifDescr[9] = lo5 ifDescr[10] = lo6 ifDescr[11] = vlan0 ifDescr[12] = vlan1 ifDescr[13] = vlan2 ifDescr[14] = vlan3 (...) ifSpeed[1] = 10 ifSpeed[2] = 10 ifSpeed[3] = 0 ifSpeed[4] = 20 ifSpeed[5] = 0 ifSpeed[6] = 0 ifSpeed[7] = 0 ifSpeed[8] = 0 ifSpeed[9] = 0 ifSpeed[10] = 0 ifSpeed[11] = 1000 ifSpeed[12] = 1000 ifSpeed[13] = 1000 ifSpeed[14] = 1000 (...) For this system bsmnmpwalk shows 64-bit counters present for only 3 interfaces: ~# bsnmpwalk -v 2c -s public@127.0.0.1 1.3.6.1.2.1.31.1.1.1.6 ifHCInOctets[1] = 315994426 ifHCInOctets[2] = 400196178 ifHCInOctets[4] = 716190604 -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 193953] bsnmpd missing 64-bit fields with vlan under lagg
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193953 Eugene Grosbeinchanged: What|Removed |Added Status|New |Open -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 193953] bsnmpd missing 64-bit fields with vlan under lagg
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193953 --- Comment #3 from Eugene Grosbein--- (In reply to Marek Zarychta from comment #2) Please show output of "ifconfig -m" command for physical interface, for lagg and for vlan over lagg. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 193953] bsnmpd missing 64-bit fields with vlan under lagg
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193953 Marek Zarychtachanged: What|Removed |Added CC||zarych...@plan-b.pwste.edu. ||pl --- Comment #2 from Marek Zarychta --- (In reply to Eugene Grosbein from comment #1) I confirm aforementioned behavior for 11-STABLE r318137. 64 bit counters are reported, but not working correctly for VLAN interfaces created on LAGG, although they work fine for interfaces belonging to that LAGG. Maybe the issue is related to incorrect speed reported by this VLAN interfaces (10Mbps). I am stuck on this version of FreeBSD because of this unresolved bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219453 so, I am not able to test it on latest 11.1-BETA. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 193953] bsnmpd missing 64-bit fields with vlan under lagg
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193953 Eugene Grosbeinchanged: What|Removed |Added CC||eu...@freebsd.org --- Comment #1 from Eugene Grosbein --- Please re-test this using any supported FreeBSD version (e.g. 10.3+ or 11). It should work here now. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"