The type of IDS/IPS that monitors activity on network segments by sniffing traffic as it flows over the network is known as Network-based.
Network-based Intrusion Detection Systems (NIDS) are designed to monitor and analyze traffic patterns within a network, and they can alert administrators of suspicious activities or potential threats in real time.
So the correct answer is Network-based.