Tuesday, June 11, 2024

Re: Missing vlan interfaces in OPENBSD-PF-MIB::pfIfTable

On 10/06/2024 18:43, Marc Boisis wrote:
Hello,    I've a 7.5 openBSD router, when I'm asking OPENBSD-PF-MIB I have only 64  physicals and carp interfaces but not my 45 vlan interfaces.    My /etc/snmpd.conf  ROOT:amdrg2:/root > cat /etc/snmpd.conf  listen on 127.0.0.1 snmpv2c  read-only community public      "pfctl -sI" list all interfaces (carp and vlan).    Is there a setting or a limit to configure to see vlan interfaces in  OPENBSD-PF-MIB and especialy in OPENBSD-PF-MIB::pfIfTable ?    Ps: In openbsd 6.5, OPENBSD-PF-MIB::pfIfTable contain all interfaces    Regards    Marc

Indeed.

snmpwalk -v2c -c xxxxxx localhost OPENBSD-PF-MIB::pfIfDescr | wc -l 64

pfctl -sI | wc -l 99 (groups included)

ifconfig | grep flags | wc -l 85

that is on 7.5 release.

snmpwalk is showing only "vlan" and not the vlan interfaces. That is probably the group vlan.

There is also an empty one at the end.

OPENBSD-PF-MIB::pfIfDescr.63 = STRING: vlan OPENBSD-PF-MIB::pfIfDescr.64 = STRING:

G

No comments:

Post a Comment