Open-AudIT

What's on your network?
It is currently Sun Apr 22, 2018 10:45 pm

All times are UTC + 10 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Feb 20, 2014 10:59 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1254
I'm not sure I should have [bug] in the Subject rather than [feature] but technically OA is not reporting information correctly so I'm going with [bug]. It looks to be a non-trivial fix and it's not that important so....

Anyway, we have a Windows machine with an Intel net card using VLANs. When viewing the Network Details for the system there are multiple entries for the card and the various VLAN connections. Although each of the VLANs is assigned a different IP address in different subnets OpenAudit shows each "card" as having all the IP addresses assigned. It should be that each card shows only the IP address assigned to it.

I've looked at the source and OpenAudit currently uses the MAC address to link the cards and ip addresses. Since it is only one physical card with different connections for the vlans the MAC address is the same for them all. It looks like a fix would be to use the Index property of Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration to link the information. This is in Windows land so I'm not sure what the netcard config with VLANs looks like in Linux.

Just something for the list Mark.

Attachment:
NetConfig_VLAN.png
NetConfig_VLAN.png [ 143.61 KiB | Viewed 4414 times ]


Win32_NetworkAdapter info:
Code:
-----------------------------------
Win32_NetworkAdapter instance
-----------------------------------
AdapterType: Ethernet 802.3
AdapterTypeID: 0
AutoSense:
Availability: 3
Caption: [00000010] Intel(R) 82579LM Gigabit Network Connection
Description: Intel(R) 82579LM Gigabit Network Connection
DeviceID: 10
GUID: {74E6B947-0081-4F31-96D3-3FD9210D56CF}
Index: 10
InterfaceIndex: 12
MACAddress: B8:CA:3A:97:18:46
Manufacturer: Intel
MaxNumberControlled: 0
Name: Intel(R) 82579LM Gigabit Network Connection
NetConnectionID: Ethernet
NetEnabled: True
PhysicalAdapter: True
PNPDeviceID: PCI\VEN_8086&DEV_1502&SUBSYS_052C1028&REV_04\3&11583659&0&C8
ProductName: Intel(R) 82579LM Gigabit Network Connection
ServiceName: e1cexpress
-----------------------------------
Win32_NetworkAdapter instance
-----------------------------------
AdapterType: Ethernet 802.3
AdapterTypeID: 0
AutoSense:
Availability: 3
Caption: [00000014] Intel(R) Advanced Network Services Virtual Adapter
Description: Intel(R) Advanced Network Services Virtual Adapter
DeviceID: 14
GUID: {FBC72D71-F23A-4BCB-AEC8-7E90626280DB}
Index: 14
InterfaceIndex: 16
MACAddress: B8:CA:3A:97:18:46
Manufacturer: Intel
MaxNumberControlled: 0
Name: Intel(R) 82579LM Gigabit Network Connection - VLAN : VLAN100
NetConnectionID: VLAN100
NetEnabled: True
PhysicalAdapter: True
PNPDeviceID: ROOT\IANSMINIPORT\0000
ProductName: Intel(R) Advanced Network Services Virtual Adapter
ServiceName: iANSMiniport
-----------------------------------
Win32_NetworkAdapter instance
-----------------------------------
AdapterType: Ethernet 802.3
AdapterTypeID: 0
AutoSense:
Availability: 3
Caption: [00000015] Intel(R) Advanced Network Services Virtual Adapter
Description: Intel(R) Advanced Network Services Virtual Adapter
DeviceID: 15
GUID: {612BC23D-FE51-423B-9B9B-9A1218775CB2}
Index: 15
InterfaceIndex: 17
MACAddress: B8:CA:3A:97:18:46
Manufacturer: Intel
MaxNumberControlled: 0
Name: Intel(R) 82579LM Gigabit Network Connection - VLAN : VLAN130
NetConnectionID: VLAN130
NetEnabled: True
PhysicalAdapter: True
PNPDeviceID: ROOT\IANSMINIPORT\0001
ProductName: Intel(R) Advanced Network Services Virtual Adapter
ServiceName: iANSMiniport
-----------------------------------
Win32_NetworkAdapter instance
-----------------------------------
AdapterType: Ethernet 802.3
AdapterTypeID: 0
AutoSense:
Availability: 3
Caption: [00000017] Intel(R) Advanced Network Services Virtual Adapter
Description: Intel(R) Advanced Network Services Virtual Adapter
DeviceID: 17
GUID: {7505C3DD-94FC-4F47-91FD-65686EAE5754}
Index: 17
InterfaceIndex: 19
MACAddress: B8:CA:3A:97:18:46
Manufacturer: Intel
MaxNumberControlled: 0
Name: Intel(R) 82579LM Gigabit Network Connection - VLAN : VLAN131
NetConnectionID: VLAN131
NetEnabled: True
PhysicalAdapter: True
PNPDeviceID: ROOT\IANSMINIPORT\0002
ProductName: Intel(R) Advanced Network Services Virtual Adapter
ServiceName: iANSMiniport
-----------------------------------
Win32_NetworkAdapter instance
-----------------------------------
AdapterType: Ethernet 802.3
AdapterTypeID: 0
AutoSense:
Availability: 3
Caption: [00000019] Intel(R) Advanced Network Services Virtual Adapter
Description: Intel(R) Advanced Network Services Virtual Adapter
DeviceID: 19
GUID: {43CE809C-7FE4-4190-90E4-FAD640CBB5ED}
Index: 19
InterfaceIndex: 21
MACAddress: B8:CA:3A:97:18:46
Manufacturer: Intel
MaxNumberControlled: 0
Name: Intel(R) 82579LM Gigabit Network Connection - VLAN : VLAN132
NetConnectionID: VLAN132
NetEnabled: True
PhysicalAdapter: True
PNPDeviceID: ROOT\IANSMINIPORT\0003
ProductName: Intel(R) Advanced Network Services Virtual Adapter
ServiceName: iANSMiniport


Win32_NetworkAdapterConfiguration info:
Code:
-----------------------------------
Win32_NetworkAdapterConfiguration instance
-----------------------------------
DefaultIPGateway:
Description: Intel(R) 82579LM Gigabit Network Connection - VLAN : VLAN100
DHCPEnabled: False
Index: 14
IPAddress: 192.168.0.17
IPSubnet: 255.255.255.0
IPConnectionMetric: 10
IPEnabled: True
MACAddress: B8:CA:3A:97:18:46
ServiceName: iANSMiniport
SettingID: {FBC72D71-F23A-4BCB-AEC8-7E90626280DB}
-----------------------------------
Win32_NetworkAdapterConfiguration instance
-----------------------------------
DefaultIPGateway:
Description: Intel(R) 82579LM Gigabit Network Connection - VLAN : VLAN130
DHCPEnabled: False
Index: 15
IPAddress: 192.168.130.99
IPSubnet: 255.255.255.0
IPConnectionMetric: 10
IPEnabled: True
MACAddress: B8:CA:3A:97:18:46
ServiceName: iANSMiniport
SettingID: {612BC23D-FE51-423B-9B9B-9A1218775CB2}
-----------------------------------
Win32_NetworkAdapterConfiguration instance
-----------------------------------
DefaultIPGateway:
Description: Intel(R) 82579LM Gigabit Network Connection - VLAN : VLAN131
DHCPEnabled: False
Index: 17
IPAddress: 192.168.131.99
IPSubnet: 255.255.255.0
IPConnectionMetric: 10
IPEnabled: True
MACAddress: B8:CA:3A:97:18:46
ServiceName: iANSMiniport
SettingID: {7505C3DD-94FC-4F47-91FD-65686EAE5754}
-----------------------------------
Win32_NetworkAdapterConfiguration instance
-----------------------------------
DefaultIPGateway:
Description: Intel(R) 82579LM Gigabit Network Connection - VLAN : VLAN132
DHCPEnabled: False
Index: 19
IPAddress: 192.168.132.99
IPSubnet: 255.255.255.0
IPConnectionMetric: 10
IPEnabled: True
MACAddress: B8:CA:3A:97:18:46
ServiceName: iANSMiniport
SettingID: {43CE809C-7FE4-4190-90E4-FAD640CBB5ED}


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group