-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi,
the module 'List of network interfaces' produces wrong results under any windows system.
Ubuntu 16.04:
{
"moduleName" : "List of network interfaces",
"moduleDisplayName" : "List of network interfaces",
"moduleVersion" : "0.1",
"moduleClass" : "modules.SigarEnvironmentModules$SigarNetworkInterfaces",
"extractionDate" : "xxx",
"configurationHash" : "c6a4333de9553112399d6c3216a77d50",
"results" : {
"[Ljava.lang.String;" : [ "lo", "ens3" ]
}
}
This is correct. But in Windows 10:
{
"moduleName" : "List of network interfaces",
"moduleDisplayName" : "List of network interfaces",
"moduleVersion" : "0.1",
"moduleClass" : "modules.SigarEnvironmentModules$SigarNetworkInterfaces",
"extractionDate" : "xxx",
"configurationHash" : "e6b5881ef42376510c7240050ee285f7",
"results" : {
"[Ljava.lang.String;" : [ "eth0", "eth1", "eth2", "eth3", "eth4", "lo0" ]
}
}
This is obviously totally wrong as Windows don't use eth* naming scheme. Even worse the system has only one 'real' network interface (name: 'Ethernet') and the local loopback interface (name: 'Loopback Pseudo-Interface 1').
> netsh interface ipv4 show config
Configuration for interface "Ethernet"
DHCP enabled: Yes
IP Address: 10.0.2.15
Subnet Prefix: 10.0.2.0/24 (mask 255.255.255.0)
Default Gateway: 10.0.2.2
Gateway Metric: 0
InterfaceMetric: 10
DNS servers configured through DHCP: 10.0.2.3
Register with which suffix: Primary only
WINS servers configured through DHCP: None
Configuration for interface "Loopback Pseudo-Interface 1"
DHCP enabled: No
IP Address: 127.0.0.1
Subnet Prefix: 127.0.0.0/8 (mask 255.0.0.0)
InterfaceMetric: 50
Statically Configured DNS Servers: None
Register with which suffix: Primary only
Statically Configured WINS Servers: None
> ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : DESKTOP-UH5FTII
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
Physical Address. . . . . . . . . : 52-xx-xx-xx-xx-56
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Site-local IPv6 Address . . . . . : xxxxx
Link-local IPv6 Address . . . . . : xxxxx
IPv4 Address. . . . . . . . . . . : 10.0.2.15(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : xxxxx
Lease Expires . . . . . . . . . . : xxxxx
Default Gateway . . . . . . . . . : xxxxx
10.0.2.2
DHCP Server . . . . . . . . . . . : 10.0.2.2
DHCPv6 IAID . . . . . . . . . . . : xxxxx
DHCPv6 Client DUID. . . . . . . . : 00-xxxxx-56
DNS Servers . . . . . . . . . . . : 10.0.2.3
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{xxxxx}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-xxxxx-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-xxxxx-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : xxxxx
Link-local IPv6 Address . . . . . : xxxxx
Default Gateway . . . . . . . . . : ::
DHCPv6 IAID . . . . . . . . . . . : xxxxx
DHCPv6 Client DUID. . . . . . . . : 00-xxxxx-56
NetBIOS over Tcpip. . . . . . . . : Disabled
In WindowsXP it's wrong too:
{
"moduleName" : "List of network interfaces",
"moduleDisplayName" : "List of network interfaces",
"moduleVersion" : "0.1",
"moduleClass" : "modules.SigarEnvironmentModules$SigarNetworkInterfaces",
"extractionDate" : "xxxx",
"configurationHash" : "317285f5fc603e7628c15185cdaef818",
"results" : {
"[Ljava.lang.String;" : [ "eth0", "lo0" ]
}
}
Metadata
Metadata
Assignees
Labels
No labels