---
name: "Ocsinventory::Agent::Backend::OS::BSD::Networks"
section: "3pm"
platform: "linux"
package: "ocsinventory-agent"
version: "2:2.10.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Ocsinventory::Agent::Backend::OS::BSD::Networks"
---

# Ocsinventory::Agent::Backend::OS::BSD::Networks(3pm)

Network-related information

## NAME

OCSInventory::Agent::Backend::OS::BSD::Networks - Network-related information

## DESCRIPTION

This module retrieves network information.

## FUNCTIONS

### getSpeed

Returns the speed of the card.

### getRoute

Returns the gateway

### getIPNetmaskV4

Returns the IP v4 network mask

### getIPNetmaskV6

Returns the IP v6 network mask

### getSubnetAddressIPv4

Returns the subnet of ip v4 network

### getSubnetAddressIPv6

Returns the subnet of ip v6 network
