On Tue, 10 Mar 2015 07:41:50 +0200 Mattias Söderholm mattias.soderholm@malax.fi wrote:
Two prefixes have VLAN tag showing but the rest is missing it. But all now have one gateway (gwcount), so that's good. And all is of network type LAN.
The two VLAN that it finds is having at least one "better" switch with IPs on both VLANS. We have switches on other VLANs to, but those are cheap ones. So maybe NAV can't get the VLAN info for those management interfaces.
I skimmed some of the code again now, and NAV's way of associating prefixes and VLANs seems a tad simple-minded.
For any non-Cisco router, it will only work if it is a routing switch (GSW) that uses virtual router ports with interface names of the pattern Vl## or Vlan### (which at least holds true for Cisco routing switches). For plain L3 Cisco routers (GW), there is a proprietary MIB that gets us the VLAN tags.
Which model router routes these un-identified prefixes of yours, and is there any obvious way to get VLAN tag numbers from it?
I shall try to add the missing info from SeedDB and see if it's being deleted or not now.
What, exactly, are you adding?