Placement of Network Devices
Where a security device sits determines what it can see and what it can do. This lesson explains logical and physical placement, inline and passive deployment, taps and SPAN ports, fail-open and fail-closed behaviour, and virtual appliances.
Learning outcomes
After completing this lesson, you will be able to:
- Explain placement of devices at trust boundaries.
- Distinguish inline and passive deployment.
- Compare taps and SPAN ports.
- Choose between fail-open and fail-closed behaviour.
Placement at trust boundaries
Security devices are placed where traffic crosses between zones of different trust: between the internet and the DMZ, between the DMZ and the internal network, between user networks and server networks, in front of sensitive systems such as payment environments, and between on-premises networks and the cloud. Logical placement describes where in the traffic flow a device sits; physical placement describes where it is installed, such as in a locked rack in the data centre, which also affects its protection from tampering.
A device can only inspect traffic that passes it. An IDS at the internet edge sees attacks from outside but nothing of an attacker moving between internal servers (east-west traffic), so organisations also place sensors internally and in virtual environments.
Inline and passive deployment
An inline device sits directly in the traffic path: every packet passes through it, so it can block, modify or drop traffic. Firewalls, IPS, web proxies, WAFs and load balancers are deployed inline. Inline devices add some latency and are potential points of failure, so they are often deployed in high-availability pairs.
A passive device receives a copy of the traffic and analyses it without being in the path. It cannot block traffic directly (although it can trigger other devices to act), but it also cannot disrupt the network if it fails or is overloaded. An IDS, network forensics recorder or network performance monitor is usually passive. Copies of traffic come from two sources.
- Network tap Test access point
- A hardware device inserted in a link that copies all traffic to a monitoring port. It captures everything, including errors, and is invisible on the network.
- SPAN port Port mirroring
- A switch feature that copies traffic from selected ports or VLANs to a monitoring port. It is convenient but can drop packets under heavy load and uses switch resources.
The following diagram shows the attack path and where new sensors belong.

Inline or passive?
Fail-open and fail-closed
When an inline device fails, it must either let traffic through or stop it. A fail-open (fail-safe for availability) design passes traffic uninspected, which preserves availability but removes protection until the device recovers. A fail-closed (fail-secure) design blocks all traffic, which preserves security but causes an outage. The choice depends on the risk: an IPS protecting a hospital's clinical network might fail open to avoid interrupting care, while a firewall protecting a payment environment should fail closed. Bypass switches and high-availability clusters reduce the need to choose.
Fail open or fail closed?
Virtual placement
In virtualised data centres and clouds, much traffic flows between virtual machines on the same host or between cloud workloads and never crosses a physical appliance. Virtual security devices, such as virtual firewalls, virtual IDS sensors and cloud-native firewalls, run as virtual machines, as hypervisor features or as cloud services. Cloud providers offer traffic mirroring to send copies of virtual network traffic to sensors, and security groups and network ACLs act as distributed firewalls. Virtual devices scale with the environment but must be included in patching, configuration management and monitoring like physical ones.
Where to place the IDS
An organisation's only IDS monitors the internet link. An attacker who phished a user moved from the user's workstation to a file server and then to a database server, undetected. Where should additional sensors go?
The attack moved east-west inside the network, which the edge IDS never saw. Additional passive sensors fed by taps or SPAN ports should monitor traffic between the user networks and the server networks and within the data centre, with virtual sensors or traffic mirroring in virtualised and cloud environments. Endpoint telemetry (EDR) complements network sensors.
Choosing failure behaviour
An inline IPS protects the network segment of a stock exchange's order-matching system. If the IPS fails, should it fail open or closed?
This is a business risk decision. Failing closed stops trading, a severe availability impact; failing open leaves the system uninspected briefly. Many organisations in this situation deploy the IPS as a high-availability pair with a bypass, so that a single failure neither stops trading nor removes inspection, and document the decision with the system owner.
Why might an IDS miss attacks if it is connected to a SPAN port?
Show answer
Under heavy load a switch may drop mirrored packets, so the IDS does not see all traffic; a network tap copies traffic more reliably.
Exam Tips
Remember for the exam
- Inline devices can block; passive devices only observe.
- Taps capture all traffic; SPAN ports may drop packets under load.
- Fail closed favours security; fail open favours availability.