HostNetworkModule retrieves basic network information about the host.
Details
It uses the net standard library to grab interfaces along with their name, MAC address, IP addresses (IPv4 and IPv6), subnet masks and go-netroute for gateway detection.
On Linux, it uses the Netlink API. On Windows, it calls GetAdaptersAddresses.
Virtual interfaces (veth, qemu) are filtered out. The module also creates subnetwork records and links each network interface to its subnets.