@jmp_3f8h said in NIC not showing up / NIC multiple times:
In my opinion, since the MAC address is unique, each interface should be identified by the MAC address and all the IPs associated to that interface should be reported as a list, possibily with corresponding net mask and gateway (if present).
Best regards,
Marco
MAC address is a layer 2 address and is only valid for layer 2 endpoints. So NIC used in a layer 2 switches don't need to have a MAC addresses.
A default gateway is just a route to 0.0.0.0/0 and is like any other routes and is system based.
In windows a route is (simple) destination based routing. Linux has iproute2 and routing can be complex with routing rules.
@victor said in NIC not showing up / NIC multiple times:
NetXMS counts each logical interface as separate object. I'm thinking about changing this to have multiple IP addresses on one interface, but decision is not made yet.
Best regards,
Victor
In every operating system. A NIC is a device that can be linked to one or more protocol stacks, software layer 2 switch, etc.
A IP address is given to the IP stack and not to a NIC! The IP stack needs to known how to route outing packets and answer to incoming packets there for the IP stacks links the IP address to a NIC. Pinging a IP address says nothing of the NIC linked to that address is up and running. A NIC can be down or broken and the system will still response to the IP address linked that NIC (using a other NIC). This is because the IP addresses is given to the IP stack and not the NIC.
With Hyper-V at least 1 NIC is assigned to a software layer 2 switch. Virtual VM-NICs in are linked to the software switch. Also a host virtual NIC can be created and linked to the software switch. So the real NIC has no IP address and its MAC address is not used. But it is a real NIC with a status, link speed, etc.
One of the reason for my original posting was that we have problems with a NIC linked to the software Hyper-V switch and I want to monitor this. Currently this is not possible.
Best regards,
Peter