Azure AI Networking Complete Guide

Azure AI Networking Architecture

Network Insight / Azure AI Infrastructure

Azure AI Networking Architecture Explained: How Azure Connects, Secures, and Scales Enterprise AI Workloads

Enterprise artificial intelligence depends on more than models and compute resources. Reliable AI applications require carefully designed networking, private connectivity, secure service access, routing, DNS, application delivery, and operational visibility.

This engineering guide explores how Microsoft Azure networking services support enterprise AI architectures, connecting applications, AI models, data platforms, and hybrid environments through secure and observable network infrastructure.

Azure AI / Conceptual Connectivity Architecture
APP
Enterprise Applications

Web applications, APIs, internal systems, and AI-enabled workloads

VNet
Azure Network Boundary

Virtual networks, private endpoints, DNS, routing, and security controls

AI
AI and Data Services

Foundry models, Azure AI Search, storage, and supporting services

Conceptual logical flow. Actual service traffic paths depend on deployment topology, private endpoint configuration, DNS, service capabilities, and network policy.

Why Networking Matters for Enterprise AI

Modern AI applications often operate across multiple services rather than inside a single isolated environment. A user request may reach an application gateway, enter a private application environment, retrieve enterprise data, invoke an AI model, and return a response through controlled application interfaces.

Each connection introduces architectural considerations: how names resolve, which network path is selected, whether traffic crosses a public endpoint, which identities are authorized, and how failures are diagnosed.

Azure provides networking capabilities such as Virtual Networks, Private Link, VPN Gateway, ExpressRoute, Azure Firewall, Application Gateway, and Network Watcher. These services can be combined with Azure AI and application services to create controlled enterprise environments.

Three Foundations of Azure AI Networking

01
Connectivity

Establish predictable communication between applications, AI endpoints, enterprise data, and hybrid infrastructure through appropriate routing and DNS.

02
Security and Isolation

Apply private connectivity, identity-based authorization, segmentation, and controlled ingress and egress to reduce unnecessary exposure.

03
Resilience and Visibility

Design observable network paths, reliable application delivery, failure recovery, and operational diagnostics for production AI workloads.

A Real-World Azure AI Networking Challenge

Consider an enterprise deploying an internal AI assistant that retrieves knowledge from Azure AI Search and sends selected context to an AI model endpoint.

The application works during development but fails after the organization introduces private endpoints and restricts public network access.

Engineering Investigation / Private AI Connectivity
Why Can the Application No Longer Reach Its AI Services?
01
Resolve

Verify the service hostname resolves to the intended private endpoint address.

02
Route

Check the effective route and connectivity between the application environment and private endpoint.

03
Secure

Examine applicable network policies, firewall rules, and service-side access configuration.

04
Verify

Confirm successful authenticated service requests and inspect logs for remaining application errors.

This scenario demonstrates an important distinction: successful network connectivity does not automatically guarantee successful AI service access. DNS, routing, network filtering, identity, service authorization, and application configuration must all align.

What You Will Learn

This guide progresses from foundational Azure networking concepts to a complete production architecture for enterprise AI applications.

01
Azure AI Networking Architecture
02
VNets and AI Workload Segmentation
03
Private Link, Endpoints, and DNS
04
Foundry and AI Service Connectivity
05
Azure Firewall and AI Egress Security
06
Hybrid AI Networking and ExpressRoute
07
Application Delivery and Scalability
08
Monitoring and Network Troubleshooting
09
Production Azure AI Network Design

Engineering Perspective

Azure AI networking is not simply about connecting applications to model APIs. It is about building secure, observable, resilient communication paths between users, applications, AI services, enterprise data, and hybrid infrastructure. Understanding these paths is essential for designing and troubleshooting production AI environments.

Network Insight / Architecture Learning Journey

Explore Azure AI Networking

Follow nine connected engineering chapters, from foundational Azure networking to a complete production AI architecture. Select any node to jump directly to its section.

NINE CONNECTED ARCHITECTURE CHAPTERS

Azure AI Network Architecture

An end-to-end engineering journey through connectivity, segmentation, private access, AI services, security, hybrid networking, application delivery, troubleshooting, and production architecture.

09 Chapters Network Engineering Enterprise AI
Section 01 / Azure AI Architecture Foundations

Understanding Azure AI Networking Architecture

Azure AI networking architecture describes how enterprise applications, AI services, data platforms, and hybrid infrastructure communicate through secure and reliable network paths. It combines Azure networking capabilities with managed AI services, application platforms, identity controls, and operational monitoring.

Enterprise AI applications rarely operate as isolated model endpoints. A production AI solution may include application APIs, orchestration services, model inference, vector search, object storage, monitoring, and enterprise identity systems.

These components often span multiple Azure services and network boundaries. Engineers must understand not only which services are involved, but also how traffic moves between them, where access is enforced, and which organization is responsible for each control.

Architectural principle: Azure AI networking is a combination of application connectivity, service access, routing, DNS, security, and observability. A successful AI model request depends on all relevant layers working together.

1.1 The Five Layers of Azure AI Networking

A useful way to understand Azure AI architecture is to divide it into five logical layers. These are engineering responsibilities, not five mandatory Azure deployment tiers.

01
Application and User Access

Users, enterprise applications, API clients, and application delivery services initiate requests and receive responses.

02
Compute and Application Hosting

Azure-hosted applications, containers, virtual machines, and other compute environments process requests and coordinate calls to downstream services.

03
Network Connectivity and Security

Virtual Networks, routing, Private Link, private DNS, network security policies, and firewalls control communication paths.

04
AI and Enterprise Data Services

Microsoft Foundry services, model endpoints, Azure AI Search, storage, and databases provide inference and supporting data.

05
Identity, Monitoring, and Governance

Microsoft Entra ID, managed identities, Azure Monitor, policy, and audit mechanisms support authorized and observable operations.

1.2 Understanding the AI Application Traffic Flow

Consider a retrieval-augmented generation application hosted in Azure. A user submits a question through a web interface. The application retrieves relevant enterprise information and sends selected context to a model endpoint.

The networking architecture must support communication between the user, application, data retrieval service, and AI model. The exact sequence and direction of requests depend on the application design.

Conceptual AI Request Journey
USER
User Request

An authenticated user submits a question.

APP
Application API

The application validates and processes the request.

NET
Network Controls

DNS, routing, and security policies govern service access.

DATA
Data Retrieval

Relevant information is retrieved from an authorized source.

AI
Model Inference

Selected context is supplied to the model endpoint.

Logical sequence only. Network controls apply to individual service connections; they are not necessarily a separate network hop. The application ultimately returns the generated response to the user.

1.3 Azure Virtual Networks and Managed AI Services

An Azure Virtual Network provides a private IP networking environment for supported Azure resources. Engineers can create subnets, configure routing, apply network security groups, and connect the environment to other networks.

However, many managed Azure AI and data services are platform services rather than virtual machines deployed directly into customer subnets.

Where supported, Azure Private Link allows clients to access a managed service through a private endpoint associated with a private IP address in a Virtual Network.

This distinction is important: a private endpoint provides private connectivity to a supported service; it does not mean that the entire managed service has moved into the customer's VNet.

1.4 Three Important Service Boundaries

01
Application Boundary

Defines how users and application clients reach the workload, including authentication, ingress, and API protection.

02
Network Boundary

Defines which network paths and endpoints are reachable through routing, DNS, segmentation, and filtering controls.

03
Service Authorization Boundary

Defines which identities can invoke AI services, access data, or perform administrative operations.

These boundaries work together but solve different problems. A private IP address does not grant permission to access a model. Likewise, a valid identity cannot compensate for broken DNS resolution or blocked network connectivity.

1.5 Key Azure Networking Services

Azure Service Architectural Responsibility AI Networking Relevance
Azure Virtual Network Private addressing, subnets, and network connectivity Hosts supported application resources and private endpoint connections
Azure Private Link Private access to supported services Reduces reliance on public service endpoints
Azure DNS / Private DNS Name resolution Resolves supported service names to intended private endpoint addresses
Azure Firewall Centralized network traffic control Enforces supported network and application filtering policies
Application Gateway Layer 7 application delivery and routing Supports controlled HTTP(S) ingress to suitable AI applications
VPN Gateway / ExpressRoute Hybrid connectivity Connects on-premises enterprise environments to Azure networks
Azure Monitor / Network Watcher Monitoring and network diagnostics Supports troubleshooting and operational visibility

1.6 Shared Responsibility in Azure AI Networking

Azure manages the underlying infrastructure of its managed cloud services, while customers remain responsible for configuring their applications, identities, data access, and relevant network security settings.

The precise division of responsibilities depends on whether the workload uses infrastructure, platform, or managed AI services.

For example, Azure operates the infrastructure behind a managed model endpoint, but the customer must still configure supported access restrictions, permissions, and application integration correctly.

1.7 Engineering Scenario: AI Service Connectivity Failure

Network Insight / Architecture Investigation
An AI Application Works Publicly but Fails After Private Connectivity Is Enabled

An enterprise deploys an internal AI assistant and subsequently introduces private endpoints and public network restrictions. The application begins reporting connection failures.

01
DNS Investigation

Confirm that the service hostname resolves to the correct private endpoint IP from the application environment.

02
Network Investigation

Validate the route, applicable filtering policies, and connectivity between the application and the private endpoint.

03
Service Investigation

Verify private endpoint approval, service configuration, identity permissions, and application request logs.

A disciplined investigation separates DNS resolution, network reachability, and service authorization. This prevents engineers from treating every application error as a routing failure.

1.8 Engineering Design Principles

Strong Azure AI networking architecture begins with explicit traffic-flow requirements and a clear understanding of the boundaries between applications, networks, identities, and managed services.

Engineers should identify each required connection, choose the appropriate public or private access model, establish DNS and routing requirements, and define how connectivity and service authorization will be verified.

Key Engineering Takeaway

Azure AI networking is not a single product or isolated configuration. It is an architectural discipline combining application connectivity, private service access, DNS, routing, identity, security, and observability. Understanding these relationships provides the foundation for designing secure and reliable enterprise AI environments.

Network Insight / Interactive Engineering Lab 01

Azure AI Traffic Journey Explorer

Follow an AI inference request from the application through Azure networking, private connectivity and the inference service. Inspect every stage of the journey.

01 / Choose a traffic architecture

02 / Network traffic topology

Ready to trace

03 / Journey timeline

Select a stage to inspect its networking role.

04 / Engineering inspection

Engineering takeaway

Section 02 / Azure Network Foundations

Azure Virtual Networks and AI Workload Segmentation

Azure Virtual Networks provide the private networking foundation for many enterprise AI applications. Through deliberate subnet design, routing policies, security controls, and connectivity boundaries, organizations can separate application workloads, private service endpoints, shared infrastructure, and operational systems.

As AI applications evolve from prototypes into production services, their network requirements become more complex. A single AI application may communicate with model endpoints, vector databases, storage services, monitoring systems, and enterprise APIs.

Without a clear network architecture, these connections can become difficult to secure, monitor, and troubleshoot. Azure Virtual Networks, subnets, network security groups, and route tables provide mechanisms for organizing the network and controlling supported traffic.

Engineering principle: Network segmentation is not simply the creation of multiple subnets. Effective segmentation requires explicit communication requirements, enforceable security boundaries, and predictable routing between workloads and services.

2.1 Understanding Azure Virtual Networks

An Azure Virtual Network, or VNet, is a logical network boundary within Azure. It provides private IP addressing and connectivity for supported Azure resources.

A VNet contains one or more address spaces, and these address spaces are divided into subnets. Resources deployed into supported subnets can communicate according to Azure routing behavior and applicable security policies.

VNets can also connect to other Azure networks and on-premises environments using mechanisms such as VNet peering, VPN connections, and ExpressRoute.

2.2 Designing Subnets for AI Workloads

A practical enterprise AI design may separate application hosting, internal APIs, private endpoints, and shared supporting infrastructure.

The following diagram illustrates a conceptual VNet design. The address ranges are examples rather than mandatory Azure deployment requirements.

Example / Azure AI Application VNet
VNet
vnet-ai-production
Address space: 10.40.0.0/16
APP
Application Subnet
10.40.10.0/24

Supported application compute and internal processing workloads.

API
API Services Subnet
10.40.20.0/24

Internal application APIs and supported integration services.

PE
Private Endpoint Subnet
10.40.30.0/24

Private endpoints for supported AI, search, storage, and data services.

OPS
Operations Subnet
10.40.40.0/24

Supported management, diagnostics, and operational components.

Subnet-specific NSGs Routing Policies Private DNS Integration Centralized Monitoring

Logical segmentation example. Actual subnet delegation, resource placement, private endpoint network policies, and address requirements depend on the selected Azure services.

2.3 Three Principles of AI Network Segmentation

01
Separate Workload Responsibilities

Distinguish application processing, internal APIs, private endpoints, and operational resources where separate network controls are beneficial.

02
Minimize Unnecessary Reachability

Define required source, destination, protocol, and port relationships. Restrict connections that are not necessary for the workload.

03
Preserve Operational Visibility

Make network paths, effective policies, and service dependencies understandable to engineers investigating performance or connectivity failures.

2.4 Network Security Groups and AI Traffic Control

Azure Network Security Groups, or NSGs, provide stateful packet-filtering rules for supported network interfaces and subnets.

Rules can match source and destination addresses, protocols, and ports. They are evaluated according to rule priority, with lower numerical priority values processed first.

NSGs include default rules, including rules that permit certain Virtual Network traffic. Therefore, deploying separate subnets does not automatically create a deny-by-default security boundary.

Traffic Requirement Example Policy Engineering Purpose
Application to internal API Permit approved application sources to API destinations on required ports Support internal service communication
Application to private AI endpoint Permit required HTTPS connectivity to the private endpoint IP Enable private model service access
Application to unrelated workload Deny traffic not included in the approved communication policy Reduce unnecessary lateral connectivity
Operational access Permit authorized management paths using appropriate access controls Support controlled diagnostics and administration

These examples are policy objectives, not complete deployable NSG rules. Production implementations must account for service dependencies, Azure default rules, and the effective network policy on each traffic path.

2.5 User-Defined Routes and Traffic Inspection

Azure automatically creates system routes for VNets. Engineers can use route tables with user-defined routes, or UDRs, to influence traffic forwarding in supported configurations.

For example, a hub-and-spoke architecture may use UDRs to direct selected traffic from an application subnet toward a central Azure Firewall.

However, route design must consider longest-prefix matching, route precedence, private endpoint routing behavior, and whether the intended inspection path is supported.

Important routing distinction: A default route toward a firewall does not guarantee that every private endpoint connection traverses that firewall. Private endpoint routing and applicable network policy configuration must be evaluated explicitly.

2.6 Hub-and-Spoke Networking for Enterprise AI

Hub-and-spoke networking is a common Azure design pattern in which shared network services are concentrated in a hub VNet, while applications are deployed into separate spoke VNets.

The hub may provide centralized connectivity, firewall services, and hybrid network integration. Individual spokes can contain AI applications, business workloads, or separate environments.

Conceptual / Enterprise Hub-and-Spoke AI Network
APP
AI Application Spoke

Application compute, APIs, and private service connectivity.

HUB
Shared Connectivity Hub

Firewall, hybrid connectivity, routing, and shared network services.

DATA
Data Services Spoke

Supporting data workloads and private access infrastructure.

Conceptual peering relationships, not a guarantee of transitive routing. Spoke-to-spoke connectivity requires an explicitly supported routing and forwarding design.

VNet peering provides connectivity between peered networks, but peering alone does not create automatic transitive connectivity through a hub.

If traffic must pass between spokes through a central inspection point, engineers must design the necessary routes and forwarding behavior and validate both directions of the path.

2.7 Example IP Addressing Plan

Address planning becomes particularly important when Azure AI environments must connect to enterprise data centres, multiple Azure regions, or additional cloud networks.

Network Component Example Address Space Purpose
Connectivity Hub VNet 10.10.0.0/16 Shared connectivity and network services
Production AI Spoke VNet 10.40.0.0/16 Production AI application workloads
Development AI Spoke VNet 10.50.0.0/16 Development and testing workloads
Data Services Spoke VNet 10.60.0.0/16 Supporting data and integration services
On-Premises Network 172.20.0.0/16 Example enterprise data centre network

These ranges are illustrative. Actual deployments must avoid overlapping address spaces across networks that need to communicate. Subnet sizing should also account for Azure-reserved addresses, service-specific minimum sizes, future expansion, and delegated subnet requirements.

2.8 Engineering Scenario: AI Workload Isolation

Network Insight / Segmentation Design Review
Separating a Production AI Assistant from Development Workloads

An organization operates a production AI assistant that accesses confidential enterprise knowledge. Developers also maintain experimental AI applications within Azure.

The engineering objective is to prevent development workloads from gaining unnecessary network access to production services while preserving approved shared infrastructure.

01
Separate Environments

Deploy production and development workloads into appropriately isolated networks or subnets with distinct security policies.

02
Restrict Connectivity

Define approved communication paths, enforce network filtering, and restrict service access using appropriate identities.

03
Validate Isolation

Test both permitted and prohibited paths. Confirm effective routes, security rules, and service authorization.

This scenario highlights why network segmentation and identity-based access control must be considered together. Preventing unauthorized network reachability is valuable, but production data access must also be protected at the application and service layers.

2.9 Azure AI Network Design Checklist

✓ Define the required communication flows between applications, AI services, and enterprise data.
✓ Select an IP addressing plan that avoids overlapping connected network ranges.
✓ Separate workloads where different security or operational boundaries are required.
✓ Validate NSG rules, Azure default rules, and effective network security policies.
✓ Review system routes, user-defined routes, private endpoint routing, and inspection requirements.
✓ Confirm the intended connectivity model between hubs, spokes, and hybrid networks.
✓ Test both successful application connections and intentionally prohibited traffic paths.

Key Engineering Takeaway

Azure Virtual Networks provide the foundation for organizing and connecting enterprise AI workloads, but secure segmentation requires more than separate address ranges. Engineers must combine subnet design, NSGs, effective routing, private service access, and identity controls to create predictable, enforceable network boundaries.

Network Insight / Interactive Engineering Lab 02

VNet and Subnet Segmentation Designer

Design a segmented Azure AI network. Configure subnet isolation, test workload connectivity and validate the security posture of your architecture.

Azure AI Production VNet

Logical network segmentation

10.40.0.0/16

01 / Subnet policy designer

Select a subnet above and modify its simplified security controls.

Application subnet
Design principle

Separate application, compute, private endpoint and management functions. Use explicit security policies instead of relying on subnet boundaries alone.

02 / Connectivity test

Test a simplified TCP 443 flow between two workload zones.

Choose source and destination, then run a test.

03 / Architecture readiness

—
Not validated

Validate the design to review its controls.

Engineering takeaway

Azure subnets provide IP address separation, but they do not automatically enforce workload isolation. NSGs, routing, firewall policies and Private Link configuration determine effective connectivity. This lab models selected security intentions rather than evaluating real Azure effective rules.

Section 03 / Private AI Connectivity

Private Endpoints, Private Link, and DNS

Azure Private Link enables private connectivity to supported Azure services through private endpoints associated with IP addresses inside a Virtual Network. For enterprise AI applications, this architecture can reduce exposure to public service endpoints while preserving access to managed AI and data platforms.

Many enterprise AI applications rely on managed Azure services such as model endpoints, Azure AI Search, storage, and databases.

These services may expose publicly resolvable hostnames and support public connectivity unless access restrictions are configured.

Organizations with stricter security requirements often need a private access model in which applications reach supported services using private IP connectivity.

Azure Private Link and private endpoints provide an important mechanism for implementing this design.

Architectural distinction: A private endpoint creates a private network interface for access to a supported service. It does not move the entire managed service into the customer's VNet, and it does not replace application authentication or authorization.

3.1 Understanding Azure Private Link

Azure Private Link provides private connectivity to supported platform services and privately published services through Azure's networking infrastructure.

A private endpoint is a network interface assigned a private IP address from a subnet in an Azure VNet. It connects to a specific supported service resource or subresource.

When a client resolves the service hostname to the private endpoint address and the required network path is available, the client can reach that service privately.

The connection must also be approved where required, and the service must authorize the application request.

3.2 Private Endpoint Architecture

Conceptual / Azure Private Endpoint Connectivity
APP
AI Application

Application hosted in a supported Azure environment with connectivity to the VNet.

PE
Private Endpoint
10.40.30.10

Private IP interface associated with the target service.

AI
Managed AI Service

Supported Azure AI resource accessed through the private connection.

Example private endpoint address. The private endpoint is located in the customer VNet, while the managed service remains on Azure's managed platform. The right-hand connection is conceptual, not a customer-managed VNet hop.

3.3 Why Private DNS Is Essential

Creating a private endpoint does not automatically ensure that every application resolves the target service hostname to the correct private address.

DNS resolution is a critical part of the private connectivity architecture.

Applications generally continue using the service's normal hostname rather than replacing it with a hardcoded IP address. Private DNS configuration ensures that supported clients resolve that name to the appropriate private endpoint IP.

Azure Private DNS zones can be linked to VNets, and private endpoint DNS zone groups can help manage the required DNS records for supported services.

DNS Resolution / Private Service Access
01
Application Query

The application requests the configured AI service hostname.

02
DNS Resolution

The configured DNS resolver follows the applicable resolution path.

03
Private Record

The private DNS configuration returns the intended private endpoint address.

04
Private Connection

The application establishes a connection using the resolved private IP.

The precise DNS record chain and private zone name depend on the Azure service and endpoint type.

Engineers should follow the documented DNS configuration for the specific resource rather than assuming every Azure AI service uses the same private DNS zone.

3.4 Public DNS vs Private DNS Resolution

Characteristic Public Resolution Private Resolution
Resolved Address Public service connectivity address where supported Private endpoint address for the configured resource
Network Path Public service access path, subject to service configuration Private connectivity through the VNet and Private Link
DNS Requirements Standard public DNS resolution Correct private DNS zone and resolver integration
Authorization Service authentication and authorization still required Service authentication and authorization still required
Security Consideration Public network access must be evaluated and restricted appropriately Private reachability and service access restrictions must be validated

3.5 Three Private Connectivity Design Principles

01
Use the Correct Service Endpoint

Identify the exact Azure resource and supported subresource that the application must access.

02
Design DNS Before Deployment

Determine how Azure workloads and hybrid clients will resolve service names to private endpoint IPs.

03
Validate the Full Access Path

Confirm endpoint approval, DNS resolution, network connectivity, service restrictions, and identity permissions.

3.6 Hybrid DNS and On-Premises Connectivity

Hybrid Azure AI architectures may require applications running in enterprise data centres to access Azure services through private endpoints.

Private network connectivity can be established through supported VPN or ExpressRoute configurations.

However, the network path alone does not solve private DNS resolution.

On-premises DNS servers may need conditional forwarding to an Azure DNS resolution service, such as Azure DNS Private Resolver, or another supported resolver architecture.

Conceptual / Hybrid Private DNS Resolution
DNS
Enterprise DNS

On-premises clients and DNS forwarding configuration.

AZ
Azure DNS Resolution

Supported resolver architecture and linked private DNS zones.

PE
Private Endpoint Record

Private DNS record mapping the service to its IP.

Logical DNS query and response path. Actual forwarding configuration, resolver placement, and DNS zone linkage depend on the hybrid architecture.

3.7 Private Endpoints and Public Network Restrictions

A private endpoint does not necessarily disable the public endpoint of a managed Azure service.

For services that support public network access controls, organizations should explicitly configure the desired access policy and verify that the service behaves as expected.

Production designs should distinguish between creating a private connection and enforcing a private-only service access model.

Security warning: Do not assume that creating a private endpoint automatically prevents all public access. Review the service's public network settings, supported access controls, and endpoint configuration.

3.8 Routing and Private Endpoint Network Policies

Private endpoint traffic can have routing and security characteristics that differ from ordinary virtual machine traffic.

Engineers must account for effective routes, the subnet's private endpoint network policy configuration, and any supported user-defined routes or NSG policies that should apply.

If centralized inspection through Azure Firewall is required, the forwarding design must be validated for the specific private endpoint traffic path.

A default route to a firewall is not sufficient evidence that all private endpoint connections are inspected.

3.9 Troubleshooting Private AI Connectivity

Network Insight / Private Endpoint Investigation
The AI Application Cannot Reach Its Private Model Endpoint

An application successfully accessed an Azure AI model during development. After private endpoints were introduced and public access was restricted, model requests began failing.

01
DNS Investigation

Check the application hostname and its resolved address. Confirm the expected private endpoint record is returned from the application's DNS environment.

02
Network Investigation

Validate connectivity to the private IP, effective routes, applicable network security policies, and endpoint connection state.

03
Service Investigation

Confirm the correct endpoint, supported service configuration, identity permissions, and application request details.

This layered troubleshooting approach helps engineers distinguish DNS failures, network reachability problems, and service authorization errors.

3.10 Private Connectivity Design Checklist

✓ Identify the supported private endpoint resource and required subresource.
✓ Verify private endpoint connection approval and provisioning state.
✓ Configure the correct private DNS zone and required records.
✓ Confirm DNS resolution from every relevant application environment.
✓ Validate network routing and applicable endpoint security policies.
✓ Review public network access settings and intended private-only restrictions.
✓ Test authenticated application requests rather than relying only on IP reachability.

Key Engineering Takeaway

Private Azure AI connectivity depends on more than creating a private endpoint. A reliable design requires correct service targeting, private DNS resolution, network reachability, public access restrictions, and application authorization. These components must work together to provide secure and predictable enterprise AI service access.

Network Insight / Interactive Engineering Lab 03

Private Endpoint and DNS Resolution Lab

Investigate how an Azure AI application resolves a service hostname to a Private Endpoint IP address. Introduce DNS faults, inspect resolution output and repair the configuration.

01 / Select a DNS investigation

02 / DNS resolution architecture

Private Link · Azure AI

03 / DNS configuration

Modify the simulated resolver and Private DNS configuration, then test the result.

DNS Investigation Console SIMULATED OUTPUT
azure-ai-lab:~$ nslookup ai-prod.openai.azure.com

Select Run DNS lookup to inspect resolution.

04 / Resolution diagnostics

Evaluate the configuration and identify the point where private resolution fails.

No lookup performed.

05 / Engineering interpretation

Run a lookup to examine the DNS resolution chain.

Engineering takeaway

Private Endpoints require correct DNS integration. A client should continue using the service's normal hostname, while DNS resolves that name to the appropriate private IP address. Custom DNS deployments may require conditional forwarding to an Azure DNS resolution path that can access the linked Private DNS zone.

Section 04 / Azure AI Service Architecture

Microsoft Foundry and Azure AI Service Connectivity

Enterprise AI applications depend on reliable communication between application workloads, model inference endpoints, data retrieval services, and identity systems. Microsoft Foundry provides capabilities for developing and operating AI applications, while Azure networking and security services determine how those applications securely reach their dependencies.

Modern enterprise AI systems frequently combine multiple managed services rather than relying on a single model API. An application may retrieve documents from Azure AI Search, invoke a deployed model, access enterprise storage, and record telemetry during a single request.

From a networking perspective, these are separate service connections with potentially different endpoints, access policies, DNS requirements, and authentication mechanisms.

Understanding the distinction between AI application logic and the underlying service connectivity architecture is essential for production design and troubleshooting.

Engineering principle: Microsoft Foundry provides AI development and operational capabilities, but secure service connectivity still requires deliberate network design, endpoint configuration, identity management, and observability.

4.1 Understanding Microsoft Foundry

Microsoft Foundry is Microsoft's platform for building, deploying, and operating AI applications and agents. Depending on the selected capabilities and resource types, an enterprise solution may use model deployments, agent services, evaluation tools, and supporting Azure resources.

Engineers should distinguish the management and development experience from the runtime endpoints used by applications. Creating or configuring a model deployment is not the same operation as sending an inference request.

Different Foundry resource types and service capabilities can have different networking requirements. Private endpoint support, DNS configuration, and managed networking behavior must therefore be verified for the actual deployment.

4.2 The Azure AI Service Connectivity Architecture

A typical enterprise application connects to an AI inference endpoint and one or more supporting data services. The application controls the request sequence, while Azure networking and service policies govern the underlying connections.

Conceptual / Enterprise AI Service Connectivity
USER
Enterprise User

Authenticated user accessing an AI-enabled application.

APP
AI Application

Application logic, prompt construction, retrieval orchestration, and response handling.

AI
Model Endpoint

Managed model inference service accessed through an authorized API connection.

RETRIEVAL
Azure AI Search

Search and retrieval of indexed enterprise knowledge.

DATA
Enterprise Storage

Source documents, application data, and supporting information.

IDENTITY
Microsoft Entra ID

Identity services, managed identities, and authorization integration.

Logical architecture. Supporting services connect to the application or to configured service workflows as required. Actual endpoints, DNS paths, identity mechanisms, and network boundaries depend on the deployment.

4.3 Three Core AI Service Responsibilities

01
Model Inference

A deployed model processes an authorized inference request and returns generated output. Applications must use the correct endpoint, deployment, API configuration, and credentials.

02
Enterprise Retrieval

Azure AI Search can retrieve relevant indexed content for a user query. Retrieval permissions and document-level authorization remain important application design responsibilities.

03
Identity and Access

Microsoft Entra ID and managed identities can support credential management and authorized service access where the target service and API support them.

4.4 End-to-End Retrieval-Augmented Generation Flow

Retrieval-augmented generation, commonly called RAG, allows an AI application to use relevant external information as context for a model request.

From a networking perspective, a RAG workflow often involves at least two distinct outbound service connections: one for retrieval and another for inference.

Example / Application-Orchestrated RAG Request
01
User Request

The application receives and authenticates the user request.

02
Search Query

The application queries Azure AI Search for relevant content.

03
Context Selection

Retrieved information is filtered and selected according to application requirements.

04
Model Invocation

The application sends the prompt and selected context to the model.

05
Response

The application processes the model output and returns the response.

This example uses application-controlled retrieval. Other Azure AI architectures may use managed orchestration or agent services, resulting in additional service-to-service communication requirements.

4.5 Networking Requirements for AI Service Access

Each service dependency requires an explicit connectivity model. Engineers must determine whether the application will use a public service endpoint, a private endpoint, or another supported service-specific network configuration.

Dependency Network Consideration Operational Check
Model Endpoint Correct endpoint hostname, supported private access, DNS, and routing Verify a successful authenticated inference request
Azure AI Search Search endpoint connectivity and applicable public or private access restrictions Execute an authorized query and inspect service response
Storage Service Required storage subresource endpoints, DNS, and access policies Validate access to the intended data resource
Microsoft Entra ID Reachability of required identity and token endpoints Confirm token acquisition and expected authorization
Monitoring Services Telemetry ingestion connectivity and supported private monitoring options Confirm telemetry arrives in the intended monitoring destination

4.6 Managed Identities and Service Authorization

Managed identities allow supported Azure resources to obtain Microsoft Entra tokens without storing long-lived credentials directly in application code.

Where supported by the target service, an application can use its managed identity to request a token and access an authorized resource.

However, identity and network access remain separate control planes. A valid token does not guarantee network connectivity, and a reachable private endpoint does not grant application permissions.

Identity and networking: A secure AI service request typically requires both an available network path and valid authorization. Engineers should troubleshoot these independently before examining application logic.

4.7 Private Connectivity for Foundry Workloads

Organizations may use private endpoints and supported network isolation capabilities to restrict connectivity to AI and supporting data services.

The available options depend on the specific Foundry resource, service capability, and deployment model. Some workflows may also require managed outbound connectivity or access to additional dependent services.

Engineers should map the complete dependency graph before restricting public access. Otherwise, a model endpoint may be reachable while a supporting service or identity dependency remains inaccessible.

Production design warning: Do not assume that every Microsoft Foundry capability uses identical private endpoint settings or networking behavior. Validate the exact resource type, supported network isolation model, and required dependencies before deployment.

4.8 Engineering Investigation: Model Works, Retrieval Fails

Network Insight / AI Service Investigation
The Model Responds Successfully, but the Enterprise AI Assistant Cannot Retrieve Documents

An organization deploys a private AI application. Model inference requests succeed, but the application returns empty retrieval results or errors when accessing Azure AI Search.

01
Validate Connectivity

Confirm the Azure AI Search hostname, private DNS resolution, endpoint approval, effective routes, and network filtering policies.

02
Validate Authorization

Verify the application's identity, assigned permissions, and the authentication mechanism expected by the search service.

03
Validate Retrieval

Inspect the search request, target index, query filters, indexing state, and returned service errors.

This scenario illustrates why successful model inference does not prove that the entire AI application architecture is functioning.

Each supporting service has its own connectivity, identity, configuration, and operational dependencies.

4.9 Production AI Service Connectivity Checklist

✓ Identify every model, retrieval, storage, identity, and monitoring service dependency.
✓ Verify the actual Microsoft Foundry resource type and its supported networking options.
✓ Configure and validate DNS resolution and network connectivity for each service.
✓ Use managed identities where supported and assign only required service permissions.
✓ Test model inference, retrieval, storage, and identity operations independently.
✓ Confirm that required service dependencies remain available after applying private network restrictions.
✓ Capture service errors, application traces, and monitoring telemetry for troubleshooting.

Key Engineering Takeaway

Microsoft Foundry and supporting Azure AI services provide the application and model capabilities required for enterprise AI solutions. Reliable production deployments depend on explicit service connectivity, correct endpoint configuration, identity authorization, and operational visibility. Every AI service dependency must be treated as a distinct architectural and engineering responsibility.

Network Insight / Interactive Engineering Lab 04

Foundry Service Connectivity Explorer

Investigate the networking dependencies of an Azure AI application. Select a service, inspect its connectivity requirements and evaluate whether the architecture supports private access.

01 / AI application dependency map

Logical service relationships
AI Application Orchestration / RAG / inference client

02 / Service connectivity configuration

Select a dependency above and configure its simplified connectivity controls.

Model inference
Engineering principle

Select a service to examine its networking and security dependencies.

03 / Dependency inspection

04 / Connectivity diagnosis

Select a service and run a connectivity test.
Engineering takeaway

A production AI application rarely depends on a single endpoint. Inference, retrieval, storage, secrets and telemetry can each introduce separate networking and authorisation requirements. Private connectivity must be designed for the individual services and supported subresources.

Section 05 / Azure AI Network Security

Azure Firewall, Egress Control, and AI Security

Enterprise AI applications require controlled access to model endpoints, data services, identity platforms, and external APIs. Azure Firewall can provide centralized network security enforcement for supported traffic, helping organizations implement outbound access policies, monitor connections, and reduce unnecessary network exposure.

AI applications frequently communicate with multiple external and internal services. These connections may include model inference endpoints, retrieval services, enterprise APIs, storage platforms, and monitoring destinations.

Unrestricted outbound connectivity can increase the risk of accidental data disclosure, unauthorized service access, and unmanaged dependencies.

A secure architecture identifies the destinations that each workload requires and establishes policies governing how those destinations can be reached.

Engineering principle: Egress security should be based on documented application dependencies and explicit communication requirements, not simply on routing all traffic through a firewall.

5.1 Understanding Azure Firewall

Azure Firewall is a managed, stateful network security service that supports centralized traffic filtering in Azure environments.

Depending on the selected SKU and configuration, Azure Firewall provides capabilities including network rules, application rules, threat intelligence filtering, logging, and additional inspection features.

Azure Firewall is commonly deployed within a hub network architecture, allowing supported spoke workloads to use a shared security enforcement point.

However, only traffic that actually traverses the firewall can be evaluated by its policies.

5.2 Azure AI Egress Architecture

Conceptual / Centralized AI Outbound Traffic Control
APP
AI Application Spoke

Application compute, APIs, and workloads initiating outbound service connections.

FW
Azure Firewall

Centralized policy evaluation for traffic routed through the firewall.

API
Approved Destinations

Permitted public AI endpoints, enterprise APIs, and other required services.

Illustrates selected routed egress traffic. Private endpoint connections, platform-managed flows, and other service-specific paths may require separate routing and security designs.

5.3 Three Foundations of AI Egress Security

01
Destination Control

Define the external services and endpoints that AI applications are permitted to access, and restrict unnecessary destinations.

02
Network Inspection

Apply supported filtering and inspection controls to traffic that traverses the designated security enforcement point.

03
Security Visibility

Collect relevant network logs and correlate them with application, identity, and service telemetry.

5.4 Network Rules vs Application Rules

Azure Firewall supports different rule types for different traffic requirements.

Network rules are commonly used for traffic matching based on source, destination, protocol, and port information.

Application rules support filtering of supported outbound application protocols, including HTTP and HTTPS, using destination information such as FQDNs.

Control Primary Matching AI Networking Example
Network Rule Source, destination, protocol, and port Permit required connectivity to an approved private network destination
Application Rule Supported application protocol and destination FQDN Permit outbound HTTPS access to an approved public service hostname
Threat Intelligence Supported threat intelligence indicators Alert on or block connections associated with known malicious destinations
TLS Inspection Supported encrypted traffic inspection with appropriate configuration Apply deeper inspection where supported and operationally appropriate

TLS inspection capabilities depend on the firewall SKU, configuration, certificate trust, and supported protocols. It should not be assumed that every encrypted AI request can or should be decrypted by the firewall.

5.5 User-Defined Routes and Controlled Egress

User-defined routes can direct selected subnet traffic toward an Azure Firewall deployed as a virtual appliance next hop.

For example, a route table associated with an application subnet may contain a default route pointing toward a central firewall.

The effective forwarding path still depends on Azure route selection, more-specific routes, service-specific behavior, and network configuration.

Engineering Workflow / Controlled AI Egress
01
Identify Dependencies

Inventory required AI endpoints, enterprise APIs, identity services, and monitoring destinations.

02
Design Routes

Determine which traffic should traverse the centralized security path.

03
Apply Policies

Configure the required firewall rules and deny unnecessary destinations.

04
Validate and Monitor

Test permitted and denied flows, inspect effective routes, and review logs.

5.6 Private Link and Firewall Inspection Boundaries

Private endpoints introduce important considerations for centralized security inspection.

Traffic destined for a private endpoint may follow a more specific route than a general default route toward Azure Firewall.

Private endpoint network policy configuration and supported routing patterns determine how security controls can be applied.

Engineers must verify the actual traffic path before claiming that private AI connections are centrally inspected.

Inspection boundary: Private connectivity and centralized firewall inspection are different architectural objectives. A private endpoint does not automatically send its traffic through Azure Firewall.

5.7 Forced Tunnelling and Hybrid Security

Some enterprises require outbound traffic to pass through an on-premises security environment rather than using direct Azure internet egress.

Forced tunnelling architectures can route supported traffic through hybrid connectivity and designated security controls.

Azure Firewall also supports specific forced tunnelling deployment patterns. These require careful planning of management connectivity, routing, and operational dependencies.

Engineers should evaluate latency, bandwidth, resilience, and service reachability before introducing additional network inspection hops into AI request paths.

5.8 AI Data Exfiltration and Network Controls

Enterprise AI applications may process confidential information, internal documents, or sensitive business data.

Restricting outbound network destinations can reduce the number of external services to which an application can transmit data.

However, firewall controls alone cannot determine whether every authorized AI request contains appropriate information.

Data protection requires complementary controls such as identity authorization, application-level validation, data classification, approved model usage, and monitoring.

Defense in depth: Network egress policies restrict communication paths. Application and data governance controls determine what information should be processed or transmitted through those paths.

5.9 Engineering Investigation: AI Requests Blocked by Firewall

Network Insight / AI Egress Security Investigation
A Production AI Application Stops Working After Centralized Egress Filtering Is Enabled

An organization introduces Azure Firewall and updates application subnet routing to enforce outbound security policies.

Shortly afterward, model requests begin timing out and some supporting service operations fail.

01
Confirm the Route

Inspect the effective route toward the destination and confirm whether the traffic actually reaches Azure Firewall.

02
Inspect Firewall Policy

Review matching rule collections, denied connections, destination FQDNs, and required application dependencies.

03
Validate the Application

Test authorized model requests, identity token acquisition, retrieval services, and telemetry delivery.

The correct resolution is not necessarily to permit all outbound HTTPS traffic.

Instead, engineers should identify the missing approved dependencies and implement narrowly scoped policies appropriate to the application.

5.10 Production AI Egress Security Checklist

✓ Document all required outbound AI application dependencies.
✓ Identify which traffic is public, private, or managed by the Azure platform.
✓ Validate effective routes before assuming centralized firewall inspection.
✓ Apply appropriately scoped network and application filtering policies.
✓ Review private endpoint routing and supported network policy behavior.
✓ Test identity, retrieval, inference, and monitoring dependencies after policy changes.
✓ Correlate firewall logs with application errors and service telemetry.

Key Engineering Takeaway

Azure Firewall can provide centralized enforcement for supported enterprise AI network traffic, but effective security requires more than deploying a firewall. Engineers must combine documented service dependencies, deliberate routing, appropriate filtering policies, private connectivity, and application-level data protection to build secure and operationally reliable AI environments.

Network Insight / Interactive Engineering Lab 05

Azure AI Egress Policy Simulator

Configure outbound firewall rules for an Azure AI application. Evaluate destination policies, inspect rule matches and investigate blocked service access.

01 / Outbound traffic path

Logical firewall inspection
AI Application Azure workload subnet
→
Azure Firewall Ordered policy evaluation
→
Destination Awaiting test

02 / Outbound firewall policy

Rules are evaluated in the displayed order. The first matching rule determines the decision.

03 / Traffic generator

Select a destination and evaluate the policy.

04 / Firewall decision log

Inspect matched rules, decisions and simulated traffic events.

AZURE FIREWALL / SIMULATED EVENTS
No events recorded.

05 / Policy validation

Run validation to assess the configured outbound security rules.

Engineering takeaway

AI applications often require outbound access to model endpoints, retrieval services, storage, identity and platform dependencies. A secure egress architecture should explicitly permit required destinations while restricting unnecessary Internet access. Effective Azure Firewall behaviour also depends on rule collection types, priorities, DNS, routing and TLS inspection configuration.

Section 06 / Hybrid Enterprise AI Connectivity

Hybrid AI Networking: VPN, ExpressRoute, and On-Premises Integration

Many enterprise AI applications require secure communication between Azure-hosted services and existing on-premises systems. Azure VPN Gateway and ExpressRoute provide different hybrid connectivity options, while BGP, route propagation, DNS, and network security policies determine whether AI workloads can reliably reach enterprise resources.

Enterprise AI adoption rarely occurs in complete isolation from existing infrastructure.

Organizations may host model inference services in Azure while maintaining databases, identity systems, operational applications, and sensitive datasets within private data centres.

Hybrid networking allows these environments to communicate through controlled connectivity architectures.

Engineering principle: Hybrid AI connectivity requires a complete design for transport, routing, DNS, security enforcement, and application performance. Establishing a VPN or ExpressRoute circuit is only one component of the overall solution.

6.1 Why Enterprise AI Requires Hybrid Networking

An AI application running in Azure may need to retrieve information from an on-premises database or invoke an internal enterprise API.

Similarly, an application hosted in a corporate data centre may need to access an Azure AI model endpoint through private connectivity.

These workflows introduce several network requirements, including address reachability, bidirectional routing, secure access, and predictable response times.

6.2 Hybrid Azure AI Reference Architecture

Conceptual / Enterprise-to-Azure AI Connectivity
DC
Enterprise Data Centre

Internal applications, databases, identity services, and enterprise routing.

WAN
Hybrid Connectivity

Site-to-site VPN or ExpressRoute connectivity between enterprise and Azure networks.

AI
Azure AI Environment

Application VNets, private endpoints, supporting data services, and model access.

Logical topology. Actual deployments may include hub-and-spoke networks, VPN or ExpressRoute gateways, virtual WAN hubs, firewalls, and separate private endpoint subnets.

6.3 Site-to-Site VPN for Azure AI Workloads

Azure VPN Gateway supports encrypted site-to-site connectivity between Azure VNets and compatible on-premises VPN devices.

This approach can provide a practical hybrid connectivity option for organizations that do not require a dedicated private connectivity service.

Site-to-site VPN connectivity normally traverses the public internet, with IPsec protecting traffic between the VPN endpoints.

Performance depends on gateway capacity, network conditions, routing design, and the selected VPN configuration.

6.4 ExpressRoute for Enterprise AI Connectivity

Azure ExpressRoute provides private connectivity between enterprise networks and Microsoft cloud services through a connectivity provider.

ExpressRoute can offer more predictable connectivity characteristics than internet-based VPN designs, subject to the provider, circuit configuration, and end-to-end network architecture.

ExpressRoute private peering enables connectivity to supported Azure private network resources through the appropriate gateway or routing architecture.

ExpressRoute connectivity is not automatically end-to-end encrypted. Organizations requiring encryption must design appropriate additional protection mechanisms.

6.5 VPN vs ExpressRoute vs Combined Connectivity

VPN
Site-to-Site VPN

Uses IPsec over internet connectivity. Suitable for many hybrid deployments where encrypted transport and operational flexibility are priorities.

ER
ExpressRoute

Provides private connectivity through a connectivity provider. Often selected for enterprise network integration and predictable connectivity needs.

HA
Combined Architecture

VPN and ExpressRoute can be combined in supported coexistence designs. Route preferences and failover behavior must be tested.

Characteristic Site-to-Site VPN ExpressRoute
Transport Internet-based IPsec tunnels Private connectivity through a provider
Encryption IPsec encryption for tunnel traffic Not inherently encrypted end-to-end
Routing Static or supported BGP configurations BGP-based route exchange
Performance Influenced by internet conditions and gateway capacity Influenced by circuit, provider, and network design
Typical AI Use Hybrid application integration and secure remote connectivity Enterprise hybrid integration and sustained private network connectivity

6.6 BGP Route Exchange in Hybrid Azure Networks

BGP plays an important role in many Azure hybrid networking designs.

ExpressRoute uses BGP to exchange routing information between Microsoft and customer or provider network equipment.

Azure VPN Gateway also supports BGP in compatible configurations.

The resulting route advertisements determine which address prefixes are reachable across the hybrid connection.

Routing Workflow / Hybrid Prefix Exchange
01
Establish Connectivity

Provision the VPN or ExpressRoute connection and required gateways.

02
Establish BGP

Configure the supported BGP peering parameters and verify session state.

03
Exchange Prefixes

Advertise authorized network prefixes and verify received routes.

04
Validate Forwarding

Inspect effective routes and confirm the expected forward and return paths.

Route exchange does not guarantee that every application flow will succeed. Subnet route tables, firewall policies, DNS resolution, and application permissions must also be correct.

6.7 Hybrid DNS for Private AI Endpoints

Private Azure AI connectivity frequently depends on DNS resolution across hybrid environments.

An on-premises application may resolve an Azure service hostname through enterprise DNS servers.

If the application is intended to use a private endpoint, the DNS architecture must return the appropriate private endpoint address.

Azure DNS Private Resolver can be used in supported hybrid DNS designs to enable forwarding between enterprise DNS infrastructure and Azure private DNS resolution.

DNS failure pattern: A healthy ExpressRoute or VPN connection does not prove that private service DNS resolution is correct. Engineers should test name resolution from the actual application environment.

6.8 Latency and AI Application Performance

AI applications may involve multiple sequential requests across hybrid network boundaries.

For example, an Azure-hosted application may query an on-premises database, retrieve additional documents, and then invoke a model endpoint.

Each additional network round trip contributes to overall response time, particularly when operations must occur sequentially.

Engineers should measure latency, throughput, packet loss, and application response times across the complete request path.

Where appropriate, caching, asynchronous processing, data placement, and application-level optimization can reduce dependence on repeated hybrid round trips.

6.9 Engineering Investigation: Hybrid AI Retrieval Failure

Network Insight / Hybrid AI Investigation
Azure AI Application Cannot Reach an On-Premises Enterprise Database

An organization deploys an AI application in Azure and connects its hub network to a corporate data centre through ExpressRoute.

The ExpressRoute circuit reports an operational connection, but database requests from the AI application time out.

01
Verify Route Exchange

Check the advertised and received BGP prefixes and confirm that both networks have the necessary routes.

02
Inspect Forwarding

Review effective Azure routes, hub routing, firewall policies, and the on-premises return path.

03
Validate Application Access

Test DNS, destination port reachability, database listener availability, and authentication.

This scenario demonstrates that hybrid troubleshooting must examine control-plane routing, data-plane forwarding, and application connectivity separately.

6.10 Production Hybrid AI Design Checklist

✓ Select VPN, ExpressRoute, or a supported combined architecture based on requirements.
✓ Design non-overlapping address spaces and required route advertisements.
✓ Verify BGP peering and route propagation where applicable.
✓ Validate forward and return routing paths across security boundaries.
✓ Configure hybrid DNS resolution for private Azure services.
✓ Evaluate encryption requirements and the security properties of the selected transport.
✓ Measure application latency and test failure recovery behavior.

Key Engineering Takeaway

Hybrid Azure AI networking combines cloud service access with traditional enterprise infrastructure. Successful deployments depend on appropriate transport, accurate BGP route exchange, bidirectional forwarding, hybrid DNS resolution, security controls, and application performance validation. A connected circuit is only the starting point for a reliable enterprise AI architecture.

Network Insight / Interactive Engineering Lab 06

Hybrid Connectivity Path Explorer

Compare ExpressRoute and Site-to-Site VPN paths between an on-premises AI application and Azure. Modify route preferences, inject failures and inspect how the selected hybrid path changes.

01 / Hybrid AI connectivity

On-premises ↔ Azure
On-Premises Enterprise AI application 192.168.10.0/24
ExpressRoute Available
Site-to-Site VPN Available
Azure AI VNet Private application endpoint 10.40.0.0/16

02 / Hybrid routing configuration

Configure the simulated route preferences for two paths advertising the same Azure prefix.

Routing model

Preference values are abstract local policy scores for the on-premises router. Higher values win when both paths are available. They are not Azure ExpressRoute or VPN gateway route-selection attributes.

03 / Route selection

Evaluate the available paths to select the preferred route.

04 / Routing event log

HYBRID ROUTING / SIMULATED EVENTS
No routing events recorded.
Engineering takeaway

ExpressRoute and VPN can provide alternative hybrid connectivity paths. Reliable failover requires appropriate route advertisement, policy, gateway configuration and return-path reachability. Actual Azure route selection cannot be inferred from arbitrary preference values alone.

Section 07 / AI Application Delivery and Scalability

Application Delivery, Load Balancing, and AI Scalability

Production AI applications require more than secure connectivity to model endpoints. They must also accept user traffic, distribute requests across healthy application instances, protect exposed services, and scale as demand changes. Azure provides multiple application delivery and load-balancing services to support these requirements.

Enterprise AI applications often expose web interfaces, REST APIs, and internal application endpoints.

These services may receive highly variable traffic volumes, particularly when users interact with AI assistants, retrieval systems, or automated agent workflows.

A production architecture must provide controlled ingress, healthy backend selection, application scaling, and resilience when individual components fail.

Engineering principle: Scaling an AI application requires coordination between ingress capacity, application compute, backend service limits, and model inference throughput. Load balancing application instances does not automatically increase the capacity of downstream AI services.

7.1 Understanding AI Application Delivery

Application delivery refers to the network and application services responsible for receiving client requests and forwarding them to the appropriate application workloads.

In Azure, the selected delivery architecture depends on whether an application is internet-facing, privately accessible, regional, or globally distributed.

Different Azure services operate at different networking layers and provide different capabilities.

7.2 Azure AI Application Delivery Architecture

Conceptual / Regional AI Application Delivery
USER
Enterprise Users

Authorized clients accessing the AI application through its configured ingress endpoint.

GW
Application Gateway

Regional HTTP/HTTPS routing, backend health monitoring, and optional WAF protection.

APP
AI Application Instances

Multiple application instances processing user requests.

APP 1
APP 2
APP 3

Logical example of regional ingress. Application instances may separately connect to model inference, search, storage, and identity services. Backend hosting and network integration depend on the selected Azure compute platform.

7.3 Azure Application Gateway

Azure Application Gateway is a regional Layer 7 application delivery service for HTTP and HTTPS workloads.

It supports capabilities such as host-based routing, path-based routing, TLS termination, and backend health monitoring.

Application Gateway can be deployed with a public or private frontend, depending on the architecture and supported configuration.

For enterprise AI, Application Gateway may serve as the ingress point for an internal assistant application or a regional AI API service.

7.4 Web Application Firewall Protection

Azure Web Application Firewall can help protect supported HTTP and HTTPS application traffic against common web-based attacks.

WAF protection is available through supported Azure application delivery services, including Application Gateway WAF and Azure Front Door WAF.

WAF rules operate on web application traffic and are not a substitute for AI-specific authorization, prompt safety, content validation, or data governance.

Security boundary: A WAF can help protect the web application entry point, but it does not inherently understand the full meaning of AI prompts, retrieved documents, or model responses.

7.5 Azure Load Balancer vs Application Gateway vs Front Door

L4
Azure Load Balancer

Layer 4 traffic distribution for supported TCP and UDP workloads. Useful where transport-level load balancing is required.

L7
Application Gateway

Regional Layer 7 HTTP/HTTPS delivery with application routing and health monitoring. Suitable for many regional AI web applications.

GL
Azure Front Door

Global HTTP/HTTPS application delivery using Microsoft's edge network, with supported routing, acceleration, and security features.

Service Primary Function Typical AI Architecture Role
Azure Load Balancer Regional Layer 4 TCP/UDP distribution Transport-level balancing for supported backend workloads
Application Gateway Regional Layer 7 application delivery HTTP/HTTPS ingress for regional AI applications
Azure Front Door Global HTTP/HTTPS application delivery Global entry point for supported multi-region AI applications
Application Gateway WAF Web application threat filtering Protection of regional HTTP/HTTPS application ingress

7.6 Health Probes and Backend Availability

Load-balancing services use supported health checks to determine whether backend instances should receive traffic.

For Application Gateway, a health probe can validate a configured backend endpoint.

If a backend fails its health check, the gateway can stop forwarding new requests to that backend while healthy alternatives remain available.

A well-designed application health endpoint should accurately represent the readiness of the application without introducing unnecessary dependency failures or excessive load.

7.7 End-to-End AI Request Distribution

Example / AI Application Request Journey
01
Client Request

The client connects to the configured application endpoint.

02
Ingress Processing

The application delivery service applies its configured routing rules.

03
Backend Selection

A healthy application instance receives the request.

04
AI Processing

The application invokes retrieval and inference services as required.

05
Response

The result returns through the application delivery path to the client.

7.8 Scaling AI Application Compute

AI application workloads may run on platforms such as Azure Kubernetes Service, Azure Container Apps, Azure App Service, or virtual machines.

Each hosting platform provides different scaling mechanisms and network integration capabilities.

Horizontal scaling increases the number of application instances available to process requests.

Vertical scaling increases the resources allocated to an existing workload instance.

The appropriate strategy depends on workload behavior, application state, resource limits, and service dependencies.

7.9 The AI Inference Bottleneck

Increasing application replicas does not necessarily increase the throughput available from a managed model deployment.

Model endpoints may enforce quotas, throughput limits, concurrency restrictions, or service-specific capacity constraints.

If application demand exceeds available model capacity, requests may experience throttling, increased latency, or failures.

Engineers should distinguish application scaling from model inference capacity planning.

Capacity planning: Monitor application concurrency, request rates, model response latency, throttling, and downstream service quotas. Scaling should address the actual bottleneck rather than simply adding more application instances.

7.10 Resilience and Multi-Region AI Applications

Multi-region architectures can improve resilience when supported services, application state, and data dependencies are designed appropriately.

Azure Front Door can provide global HTTP/HTTPS routing to supported regional application origins.

However, regional application failover does not automatically guarantee that model deployments, search indexes, storage data, and identity dependencies are available in the destination region.

A resilient AI architecture must account for the entire dependency chain.

7.11 Engineering Investigation: AI Application Under Load

Network Insight / AI Scalability Investigation
The AI Application Remains Healthy, but User Requests Begin Timing Out

An organization deploys an AI assistant behind Azure Application Gateway.

During peak usage, application instances remain healthy, but response times increase and some users experience failed requests.

01
Inspect Ingress

Review gateway backend health, request metrics, response codes, and configured timeout behavior.

02
Inspect Application

Examine instance utilization, concurrency, request queues, and application processing time.

03
Inspect Model Capacity

Check inference latency, service quotas, throttling responses, and downstream dependency health.

If the model endpoint is throttling requests, increasing application instances may increase the pressure on the model deployment rather than resolve the problem.

The correct solution depends on identifying the constrained component and applying an appropriate capacity or application design change.

7.12 Production AI Application Delivery Checklist

✓ Select regional or global application delivery based on user access requirements.
✓ Choose Layer 4 or Layer 7 load balancing according to application protocols.
✓ Configure meaningful backend health probes and readiness checks.
✓ Apply supported WAF protection to exposed web application entry points.
✓ Plan application scaling separately from model inference capacity.
✓ Validate request timeouts, concurrency, throttling, and downstream dependencies.
✓ Test failure recovery across application, network, and AI service layers.

Key Engineering Takeaway

Azure application delivery services help enterprise AI applications receive, route, and distribute user traffic. Reliable scalability requires healthy backend selection, secure ingress, appropriate compute scaling, model capacity planning, and end-to-end dependency resilience. The complete AI request path must scale together.

Network Insight / Interactive Engineering Lab 07

AI Application Load Distribution Lab

Simulate inference requests across multiple backend instances. Compare scheduling algorithms, investigate backend failures and observe how capacity affects request distribution.

01 / Inference request architecture

Logical application scheduler
AI Clients Inference requests
→
Load Distributor Round robin
→

02 / Load distribution configuration

03 / Backend capacity controls

Simulation model

Each backend has a configurable concurrent request capacity. A request is accepted only when the selected backend has available capacity. Heavy inference requests occupy capacity for more simulation steps.

04 / Inference distribution analytics

0 Requests sent
0 Accepted
0 Rejected
Send requests to inspect backend distribution.

05 / Engineering interpretation

Compare algorithms under different backend capacity and health conditions.

Engineering takeaway

AI inference workloads can vary significantly in processing cost. Request distribution, concurrency limits, health checks and capacity planning influence application availability. Azure networking load balancers and application gateways do not all implement the same scheduling algorithms, and managed model endpoints may have their own internal scaling behaviour.

Section 08 / Azure AI Observability

Azure AI Network Monitoring and Troubleshooting

Reliable enterprise AI networking requires visibility into DNS resolution, effective routes, security policies, application connectivity, and downstream AI service performance. Azure Monitor, Network Watcher, and service-specific diagnostic capabilities help engineers investigate failures across these interconnected layers.

An AI application can fail even when its underlying compute infrastructure remains healthy.

A private endpoint may be unreachable, a DNS record may resolve to an unexpected address, a route may direct traffic through an incorrect next hop, or a service may reject an unauthorized request.

These problems require a structured investigation that separates network reachability from identity, application, and model service behavior.

Engineering principle: Successful troubleshooting depends on collecting evidence from the correct layer. DNS, routing, security, transport, identity, and application behavior should be validated independently before drawing conclusions.

8.1 Understanding Azure Network Observability

Azure network observability combines platform metrics, diagnostic logs, connectivity tests, and application telemetry.

No single tool provides a complete view of every Azure AI request.

Engineers must correlate evidence across Azure networking resources, application hosting platforms, and managed AI services.

8.2 Azure AI Observability Architecture

Conceptual / AI Network Observability Layers
NET
Network Layer

DNS, effective routes, NSGs, firewalls, private endpoints, and connectivity.

APP
Application Layer

Request traces, application errors, dependency calls, latency, and correlation IDs.

AI
AI Service Layer

Inference responses, service quotas, throttling, authorization, and availability.

Troubleshooting requires evidence from multiple layers. A healthy network path does not guarantee successful application authorization or AI service execution.

8.3 Three Foundations of AI Network Monitoring

01
Network Visibility

Observe routing, filtering, endpoint health, and supported network connection diagnostics.

02
Application Tracing

Track requests across application components and identify failing dependencies.

03
Service Monitoring

Review supported AI service metrics, errors, throttling, and operational availability.

8.4 Azure Monitor and Application Insights

Azure Monitor provides a platform for collecting, analyzing, and acting on supported metrics and logs from Azure resources.

Application Insights, part of Azure Monitor, supports application performance monitoring, distributed tracing, dependency tracking, and exception analysis when the application is appropriately instrumented.

For AI applications, dependency telemetry can help identify whether latency occurs during document retrieval, model inference, storage access, or another application operation.

Network diagnostic logs and application traces should be correlated using timestamps and, where available, request identifiers.

8.5 Azure Network Watcher Diagnostics

Azure Network Watcher provides network monitoring and diagnostic capabilities for supported Azure networking resources.

Useful capabilities include connection troubleshooting, effective security rule inspection, next-hop analysis, and supported network topology and monitoring features.

Availability of individual diagnostic capabilities depends on the resource type and configuration. VM-focused diagnostics should not be assumed to operate identically for every managed Azure service.

Diagnostic Capability Engineering Purpose Example AI Investigation
Effective Routes Inspect routes applied to a supported network interface Verify the route toward an AI private endpoint
Next Hop Identify the selected next hop for supported source and destination inputs Determine whether traffic follows a firewall or another route
IP Flow Verify Evaluate supported NSG filtering behavior for a traffic tuple Investigate a suspected NSG deny on a VM
Connection Troubleshoot Test connectivity from supported Azure sources Investigate a failed connection to a service endpoint
Azure Monitor Logs Query collected diagnostic and operational data Correlate firewall denies with application errors

8.6 DNS Diagnostics for Private Endpoints

DNS resolution is a frequent source of private connectivity failures.

When an application uses an Azure private endpoint, the service hostname must resolve appropriately from the application's DNS environment.

Engineers should inspect the actual DNS response, the resolver being queried, private DNS zone associations, and hybrid forwarding configuration.

DNS testing should be performed from the affected application network, not only from an administrator's workstation.

Common diagnostic mistake: A private endpoint can exist and be approved while application DNS still resolves the service hostname incorrectly. Endpoint provisioning and DNS resolution must be validated separately.

8.7 Routing and Security Diagnostics

Azure route selection determines the next hop used to reach a destination.

User-defined routes, system routes, BGP-propagated routes, and private endpoint routing behavior can influence forwarding.

When investigating connectivity failures, engineers should inspect effective routes where supported and compare them with the intended architecture.

Security diagnostics should include NSG rules, firewall policy, service network access restrictions, and applicable private endpoint network policies.

For NSG traffic visibility, engineers should use currently supported logging approaches such as Virtual Network flow logs where appropriate. Legacy NSG flow logs should not be treated as the preferred design for new deployments.

8.8 A Structured Five-Stage Troubleshooting Method

Engineering Workflow / Diagnose the AI Request Path
01
Resolve

Confirm the destination hostname resolves to the expected address.

02
Route

Inspect the expected forwarding path and next hop.

03
Secure

Validate NSG, firewall, private endpoint, and service access policies.

04
Connect

Test transport connectivity, TLS negotiation, and endpoint responsiveness.

05
Authorize

Validate identity, permissions, API requests, and service responses.

This sequence separates network and application concerns, reducing the risk of making unnecessary configuration changes.

8.9 Understanding AI Service Errors

HTTP response codes and application exceptions can provide useful diagnostic evidence.

For example, an HTTP 401 response commonly indicates an authentication problem, while an HTTP 403 response can indicate an authorization or access restriction issue.

HTTP 429 responses often indicate throttling or rate limits, while timeouts can originate from network, application, or service processing delays.

Engineers should interpret these signals in the context of the specific Azure service and its documented error behavior.

8.10 Engineering Investigation: Private AI Endpoint Failure

Network Insight / Private AI Connectivity Investigation
An AI Application Cannot Reach Its Model Endpoint After Public Network Access Is Disabled

An enterprise AI application previously accessed a managed model endpoint through public connectivity.

The organization deploys a supported private endpoint and disables public network access.

Application requests now fail despite the private endpoint appearing healthy in Azure.

01
Verify DNS

Resolve the model endpoint hostname from the application environment and confirm the expected private address.

02
Verify Network Path

Inspect effective routing, supported connection tests, NSGs, and relevant security controls.

03
Verify Service Access

Confirm endpoint approval, supported private access configuration, authentication, and service response details.

If the application resolves the public endpoint rather than the intended private address, the failure may be rooted in DNS configuration rather than a firewall or model deployment issue.

This illustrates why a structured investigation is more reliable than making speculative changes across multiple network components.

8.11 Production Azure AI Monitoring Checklist

✓ Enable relevant Azure Monitor metrics and diagnostic settings.
✓ Instrument AI applications with appropriate dependency tracing and request correlation.
✓ Validate DNS resolution from actual application environments.
✓ Review effective routes and supported Network Watcher diagnostics.
✓ Collect relevant firewall and supported network flow telemetry.
✓ Monitor inference latency, service errors, and throttling metrics where available.
✓ Establish alerts, incident procedures, and baseline performance measurements.

Key Engineering Takeaway

Azure AI network troubleshooting requires visibility across DNS, routing, security policies, transport connectivity, application behavior, and managed AI service operations. By combining Azure Monitor, Network Watcher, and application telemetry, engineers can isolate failures systematically and maintain reliable enterprise AI connectivity.

Network Insight / Interactive Engineering Lab 08

Azure Network Fault Investigation

Investigate a simulated production outage affecting an Azure AI application. Collect evidence, identify the root cause, apply remediation and verify recovery.

SEV 2 · AI SERVICE Incident 01 / 04
AI application connectivity failure

01 / Production network context

AI Application Workload subnet
→
Azure Network DNS / NSG / routing
→
AI Service Private endpoint

02 / Diagnostic investigation

Run simulated engineering diagnostics. The fault is hidden until you collect evidence.

NETWORK INSIGHT / INCIDENT CONSOLE
incident-console:~$

Select a diagnostic tool to collect evidence.

03 / Root-cause assessment

Choose the most likely fault after reviewing the available evidence.

Collect evidence and submit a diagnosis.

04 / Incident timeline

Engineering takeaway

Troubleshooting private Azure AI connectivity requires separating DNS resolution, network reachability, routing, security policy and endpoint availability. A successful DNS lookup does not guarantee that TCP connectivity or application requests will succeed.

Section 09 / Production Azure AI Architecture

Designing a Production-Ready Azure AI Network

A production Azure AI network brings together application delivery, private service connectivity, enterprise routing, security enforcement, identity, hybrid networking, and observability. The objective is not simply to connect an application to an AI model, but to create a secure, scalable, resilient, and operationally manageable enterprise architecture.

Azure provides numerous networking and security services that can support enterprise AI applications.

However, deploying individual services does not automatically produce a coherent production architecture.

Engineers must define the intended traffic paths, security boundaries, routing behavior, DNS architecture, service dependencies, and operational responsibilities.

A successful design treats the AI application, its supporting infrastructure, and managed AI services as parts of a single distributed system.

Engineering principle: Production readiness is achieved through validated architecture, not simply through service deployment. Every critical dependency should have a defined connectivity path, security policy, monitoring strategy, and recovery procedure.

9.1 Establishing the Production Design Objectives

Before selecting Azure networking components, organizations should define their functional and non-functional requirements.

These requirements may include private connectivity, enterprise identity, hybrid data access, predictable performance, regional availability, regulatory controls, and operational observability.

The architecture should reflect actual workload requirements rather than adopting unnecessary infrastructure complexity.

9.2 Production Azure AI Reference Architecture

Network Insight / Conceptual Production Reference Design
USER
Application Access

Authorized enterprise users, private applications, and supported external clients.

GW
Application Delivery

Application Gateway, supported WAF protection, and application ingress policies.

APP
AI Application Compute

Supported application hosting platforms, APIs, orchestration, and application processing.

HUB
Azure Network Connectivity and Security

Hub-and-spoke connectivity, Azure Firewall, route control, private DNS resolution, hybrid network gateways, and centrally governed network services.

AI
AI Model Services

Supported Microsoft Foundry resources, model endpoints, and private connectivity.

DATA
Enterprise Data Services

Azure AI Search, storage, databases, and approved retrieval sources.

DC
Hybrid Enterprise Network

On-premises applications and data centres connected through VPN or ExpressRoute.

Logical component map, not a literal packet forwarding sequence. Traffic does not necessarily traverse the hub for every service connection. Actual paths depend on peering, routing, private endpoint behavior, firewall policy, and application hosting. Identity and monitoring operate across all architectural layers.

9.3 Six Principles of Production Azure AI Networking

01
Segmentation

Separate application, private endpoint, operational, and other workloads according to trust boundaries and service requirements.

02
Private Connectivity

Use supported private endpoints and network integration features to minimize unnecessary public service exposure.

03
Identity and Authorization

Apply managed identities, appropriate role assignments, and least-privilege service permissions.

04
Controlled Routing

Define expected forwarding paths, inspect effective routes, and validate hybrid route exchange.

05
Resilience

Design for application failures, dependency outages, service capacity limits, and recovery requirements.

06
Observability

Collect meaningful network diagnostics, application traces, service metrics, and operational alerts.

9.4 Designing the Azure Network Foundation

A production Azure AI environment may use a hub-and-spoke network topology to separate shared connectivity services from application workloads.

The hub can host appropriate shared networking components, including firewalls, gateways, and DNS infrastructure.

Spoke networks can provide dedicated address spaces and security boundaries for application environments.

Hub-and-spoke networking should not be interpreted as automatic traffic inspection. Route tables, peering configuration, and supported network policies must direct traffic through the intended inspection points.

9.5 Integrating Microsoft Foundry and AI Services

Microsoft Foundry and related Azure AI services provide capabilities for model access, application development, and AI workload orchestration.

Network integration depends on the specific resource, service feature, and deployment configuration.

Where supported, private endpoints can provide private connectivity from authorized networks to managed service endpoints.

However, private connectivity does not replace application identity, service authorization, or resource-level access controls.

Engineers should verify the supported private networking features of each selected AI service before finalizing the architecture.

9.6 Building a Complete Private DNS Strategy

Private endpoint connectivity depends on correct name resolution.

The application should ordinarily continue using the service's expected hostname, with DNS returning the appropriate private endpoint address.

Azure Private DNS zones, virtual network links, and supported hybrid forwarding designs must be configured consistently.

For hybrid environments, Azure DNS Private Resolver or appropriately configured DNS forwarding infrastructure may be required.

Production design warning: Creating private endpoints without validating DNS from every required application environment can leave an otherwise healthy architecture unusable.

9.7 Network Security and Egress Control

Production AI applications may communicate with model endpoints, search services, storage accounts, identity providers, monitoring services, and approved external APIs.

Organizations should classify these dependencies and establish appropriate network access policies.

Azure Firewall can provide centralized traffic filtering for supported network paths.

However, effective inspection depends on actual traffic routing, supported service behavior, and the configured security policies.

Private endpoint routing and subnet network policy settings require particular attention when designing inspection paths.

9.8 Production Component Selection

Architecture Layer Azure Components Production Responsibility
Network Foundation VNets, subnets, peering, route tables Addressing, segmentation, and forwarding
Private Connectivity Private Link, private endpoints, Private DNS Private service access and correct name resolution
Security Azure Firewall, NSGs, service access controls Network filtering and controlled access paths
Application Delivery Application Gateway, WAF, Front Door Supported ingress, routing, and application protection
Application Hosting AKS, Container Apps, App Service, VMs Application execution, scaling, and network integration
AI Services Microsoft Foundry, supported model deployments AI inference and orchestration capabilities
Enterprise Data Azure AI Search, storage, databases Retrieval and supporting data access
Hybrid Connectivity VPN Gateway, ExpressRoute, BGP routing Enterprise network integration
Observability Azure Monitor, Network Watcher, Application Insights Diagnostics, performance monitoring, and incident response

9.9 High Availability and Disaster Recovery

Production AI applications should be designed around explicit availability and recovery objectives.

High availability may involve redundant application instances, supported availability zone configurations, and resilient network services.

Disaster recovery may require additional regional deployments, replicated application data, and alternative model service capacity.

Not every managed AI service offers identical availability, regional deployment, or recovery capabilities.

Engineers must validate the resilience of every critical dependency rather than assuming that application failover alone provides complete service recovery.

9.10 Production Deployment Roadmap

Recommended / Five-Phase Deployment Sequence
01
Foundation

Define address spaces, VNets, subnets, peering, route design, and security boundaries.

02
Private Access

Deploy supported private endpoints, DNS integration, and service access controls.

03
Application Integration

Connect application hosting, identity, model endpoints, and approved data services.

04
Validation

Test DNS, routing, security, performance, capacity, and failure behavior.

05
Operations

Enable monitoring, alerts, incident procedures, governance, and continuous improvement.

9.11 Engineering Case Study: Enterprise AI Assistant

Network Insight / Production Architecture Case Study
Building a Private Enterprise AI Assistant with Hybrid Data Access

An organization plans to deploy an enterprise AI assistant that answers questions using internal documents and approved operational data.

The application must communicate with Azure-hosted AI services, retrieve information from enterprise data sources, and support authorized users.

01
Design Connectivity

Establish application network integration, private service access, correct DNS resolution, and required hybrid routes.

02
Apply Security

Implement identity controls, least privilege, approved data access, and appropriate network filtering.

03
Validate Operations

Test application requests, dependency failures, inference capacity, logging, alerting, and recovery procedures.

This architecture illustrates an important principle: the AI model is only one component of the enterprise service.

The complete solution depends on application delivery, private connectivity, identity, data access, routing, monitoring, and operational resilience.

9.12 Final Production Readiness Checklist

✓ Document the complete AI application architecture and critical dependencies.
✓ Validate VNet addressing, subnet segmentation, peering, and effective routing.
✓ Confirm supported private endpoint connectivity and service-level network restrictions.
✓ Test private DNS resolution from all required application and hybrid environments.
✓ Apply appropriate identity, authorization, and network security controls.
✓ Validate application ingress, health checks, backend scaling, and model capacity.
✓ Test hybrid connectivity, BGP routing, and bidirectional forwarding where applicable.
✓ Enable relevant network diagnostics, application traces, service metrics, and operational alerts.
✓ Test failure scenarios and validate documented recovery objectives.
✓ Establish ongoing architecture review, security governance, capacity planning, and operational ownership.

Final Engineering Perspective

Azure AI networking is not simply a collection of VNets, private endpoints, firewalls, and gateways.

It is the connectivity foundation that allows enterprise applications, AI models, data platforms, and users to communicate securely and reliably.

A production-ready architecture brings together network segmentation, private connectivity, identity and authorization, controlled routing, hybrid integration, application scalability, observability, and operational resilience.

The ultimate engineering objective is to create an AI environment where every critical request follows an understood, governed, observable, and validated path.

Network Insight / Interactive Engineering Capstone 09

Production Azure AI Architecture Builder

Assemble an Azure AI network architecture, evaluate design trade-offs and validate security, resilience, connectivity and operational readiness.

01 / Select an architecture profile

02 / Architecture component selection

Enable or disable infrastructure components. The blueprint updates immediately.

Design challenge

Build an architecture suitable for the selected workload profile.

03 / Live architecture blueprint

Azure AI Production Architecture

04 / Engineering readiness

—
Not validated

Validate the selected architecture against its workload requirements.

— Security
— Resilience
— Operations
Select components and validate the design.
Final engineering takeaway

Production Azure AI networking is an architectural system, not a single service configuration. Network isolation, DNS, service dependencies, outbound controls, hybrid routing, availability, observability and operational processes must be designed together. A valid architecture balances these requirements against cost, complexity and application objectives.

☕
Support Network Insight
Help support the development of interactive networking labs, BGP simulations, and educational content.
Support the Project
AI Agents vs. Agentic AI_ Network Insight

AI Agents vs Agentic AI

Network Insight / AI Engineering Series

AI Agents vs Agentic AI: Architecture, Autonomy, and Real-World Engineering

Artificial intelligence is moving beyond systems that simply generate responses. Modern AI applications can coordinate tools, maintain execution state, evaluate results, and carry out multi-step tasks. But an AI agent and an agentic AI system are not necessarily the same architectural concept.

Understanding the distinction matters when designing reliable enterprise applications. The engineering challenge is not just making a model more capable; it is deciding how much autonomy to grant, which operations to permit, when humans must intervene, and how execution can be observed and controlled.

AI Agents Agentic Systems Autonomy Architecture Human Oversight Enterprise Engineering

The terms AI agent and agentic AI are often used interchangeably. They are closely related, and their definitions vary across vendors and research communities. However, a useful engineering distinction separates the individual acting component from the broader application architecture and behavior that supports goal-directed execution.

An AI agent can be understood as a software component that receives a task, uses available context, selects actions, and works toward an objective. Agentic AI describes systems exhibiting goal-directed, adaptive behavior through planning, tool use, feedback, and controlled execution. Such systems may contain one agent, several agents, or a combination of agents and deterministic services.

The central distinction: an AI agent is a component that can make decisions and take actions within defined boundaries. Agentic AI describes the broader capabilities and system behavior that enable goal-directed execution. A multi-agent architecture is one possible implementation, not a requirement.

From Individual Agents to Agentic Systems

A
AI Agent
Individual acting component

A bounded software actor that interprets instructions, selects permitted actions, and works toward a defined objective.

Receives a task or objective
Uses a model or decision mechanism
May call tools and external services
Operates within assigned permissions
Produces actions, outputs, or recommendations
AI
Agentic AI System
Goal-directed application architecture

An application that coordinates reasoning, actions, feedback, policies, and state to pursue objectives over multiple steps.

Coordinates multi-step execution
Maintains workflow and execution state
Integrates agents, tools, and services
Enforces approval and policy boundaries
Observes outcomes and adapts when needed

What Changes When AI Becomes Agentic?

Consider a network operations request: “Investigate why application traffic is experiencing intermittent packet loss.” A conventional language-model interface might describe likely causes and suggest diagnostic commands. An appropriately equipped agent could instead request telemetry, inspect interface counters, compare observations, and recommend the next investigation step.

A production agentic application adds another layer of engineering discipline. It must control which telemetry is accessible, enforce read-only investigation permissions, record tool results, handle unavailable services, and require approval before potentially disruptive changes.

Conceptual Agentic Execution Architecture
01 Goal
02 Agent Decision
03 Policy Gate
04 Tool Execution
05 Evaluate Result

A simplified conceptual flow. Real systems may repeat steps, branch, request human approval, or terminate when safety or execution limits are reached.

Why This Distinction Matters to Engineers

Agentic AI introduces architectural decisions familiar to network, cloud, security, and distributed-systems engineers. Every tool call crosses a trust boundary. Every external dependency can fail. Every long-running task requires state, timeout handling, and termination conditions. Every autonomous action must have an appropriate authorization model.

The practical question is therefore not simply whether an application uses AI agents. It is which decisions the system can make, which actions it can execute, how its behavior is constrained, and how operators regain control when something goes wrong.

What You Will Learn

This guide progresses from individual agent responsibilities to autonomy models, enterprise deployment boundaries, and practical architecture selection.

Agent versus system boundaries
Agent responsibility models
Goal-driven execution
Autonomy and human approval
Single-agent architectures
Adaptive versus fixed workflows
Enterprise deployment design
Security and governance
Architecture selection criteria

Engineering Perspective

Throughout the article, we will examine agentic AI using practical engineering principles: separation of responsibilities, least privilege, observable execution, explicit failure handling, and bounded autonomy.

Interactive examples will focus on autonomy decisions, responsibility boundaries, approval gates, and architecture trade-offs, complementing rather than duplicating our existing Agentic AI Architecture guide.

Network Insight / Learning Navigation

Explore the Architecture

Nine connected engineering chapters. Follow the journey from individual AI agents to adaptive systems, enterprise deployment, governance, and architecture selection. Select any node to jump directly to that section.

ARTICLE READING PROGRESS 0%
Section 01 / AI Engineering Foundations

AI Agents vs Agentic AI: Understanding the Core Differences

The distinction between an AI agent and an agentic AI system is best understood through engineering boundaries. An agent is an acting component. Agentic AI describes goal-directed, adaptive system behavior supported by runtime controls, tools, state, and execution policies.

AI terminology is evolving rapidly. Different vendors use AI agent, AI assistant, and agentic AI in overlapping ways. There is no single universally enforced architectural definition that separates them. However, a component-versus-system distinction is useful when designing production applications.

An AI agent is typically a software actor that interprets a task, selects permitted operations, and uses available context to pursue a goal. It may operate as an isolated service, an embedded application component, or a worker controlled by an orchestrator.

Agentic AI refers to AI-enabled systems capable of pursuing objectives through multiple decisions and actions, using feedback to adjust execution. These systems may contain a single agent or multiple cooperating agents, together with conventional services and deterministic workflow logic.

Architectural principle: An agent is not automatically a complete agentic platform. Likewise, an agentic application does not require multiple agents. The important properties are goal-directed execution, bounded decision-making, feedback, and operational control.

1.1 The Component and the System

The most useful way to distinguish these concepts is to examine their responsibility boundaries. An individual agent can decide which permitted tool to use next, but a production application must also manage authentication, authorization, workflow state, retries, logging, and human approval.

Component-Level View
The AI Agent
AI
Agent
Task
Tools
Output
Context
A bounded actor with assigned responsibilities

The agent's immediate responsibility is choosing actions that advance its assigned objective. Its available tools, context, and execution permissions define what it can actually do.

Interprets instructions and task context
Selects permitted actions
Uses observations to inform decisions
Returns results or requests escalation
System-Level View
The Agentic AI Application
Agentic
Runtime
Policy
Tools
State
Trace
A controlled application execution environment

The wider system coordinates agents and services, enforces permissions, records execution history, handles failures, and manages the transition from a requested goal to a verified outcome.

Manages execution and termination
Enforces tool access and policy boundaries
Coordinates state, retries, and approvals
Provides auditability and operational visibility

1.2 A Technical Comparison

The table below describes a useful design distinction rather than two mutually exclusive product categories. In practice, a sophisticated agent may include several capabilities shown at the system level, while an agentic platform may delegate them to separate services.

Dimension AI Agent Agentic AI System
Primary focus Completing an assigned task Managing goal-directed execution across an application
Scope Individual actor or worker End-to-end workflow and supporting services
Decision-making Selects actions within available context and permissions Coordinates decisions, control gates, and execution boundaries
Tools Invokes assigned tools or requests actions Provides tool integration, credentials, authorization, and execution handling
State May maintain local task context May maintain durable workflow state, history, and checkpoints
Autonomy Bounded by its configured responsibilities Defines system-wide autonomy and human oversight
Failure handling May retry, report failure, or request assistance Coordinates retries, escalation, cancellation, and recovery
Observability Produces local decisions and tool records Correlates traces, metrics, policy events, and outcomes
Deployment Can be embedded or deployed as a service May span multiple services, agents, APIs, and infrastructure components

1.3 Where Responsibility Changes

In a production design, the most important question is not whether the application has an agent. It is which component owns each responsibility. Clear boundaries make agentic systems easier to test, secure, monitor, and recover.

01
Decision Boundary

What may the agent decide independently, and which decisions must be delegated to deterministic controls?

02
Execution Boundary

Which actions can actually be executed, under which identity, and with what resource restrictions?

03
State Boundary

Where are task state, observations, checkpoints, and previous results retained?

04
Control Boundary

Who can approve, interrupt, retry, or terminate execution when conditions change?

1.4 Real-World Engineering Example

Consider a network operations team investigating intermittent packet loss across a data centre leaf-spine fabric. The operator asks: "Determine whether congestion is contributing to packet loss on the affected network path."

Engineering Scenario / Data Centre Operations
One Investigation — Two Architectural Scopes
Individual AI Agent

The agent receives the investigation request and uses its authorized read-only telemetry tools to retrieve interface counters and queue statistics. It evaluates the observations and reports whether they support a congestion hypothesis. Its responsibility ends at the assigned diagnostic boundary.

Agentic AI System

The surrounding application authenticates the operator, supplies authorized tools, tracks the investigation, correlates evidence, handles unavailable telemetry, and stores an audit trail. If a proposed remediation could disrupt traffic, the system routes that action through a human approval process.

Both implementations may use the same underlying language model. The difference lies in the architectural responsibilities around it. A model does not inherently possess access to live network telemetry, administrative privileges, or durable workflow state. Those capabilities must be explicitly provided and governed by the application.

The same distinction applies to cloud operations, security investigations, software development, customer support, and enterprise automation. As the number of tools, dependencies, and possible actions grows, the importance of explicit system boundaries increases.

1.5 Why More Agents Does Not Mean More Agentic

A common misconception is that an application becomes agentic simply by adding more agents. Multiple agents can be useful when tasks benefit from specialization, parallel execution, or independent review. But a single well-designed agent can exhibit sophisticated goal-directed behavior, while a collection of agents can still operate through a rigid, predetermined sequence.

Agent count is therefore an architectural choice, not a measurement of autonomy. Engineers should evaluate the degree of decision-making, adaptability, tool access, feedback handling, and operational control rather than relying on the number of cooperating components.

Section 01 — Engineering Takeaway

Think of an AI agent as an acting component with defined responsibilities. Think of agentic AI as goal-directed system behavior enabled by agents, tools, runtime controls, state, and feedback. The two concepts overlap, but separating component responsibilities from system responsibilities creates clearer, safer, and more maintainable architectures.

Network Insight / Engineering Lab 01

From AI Responses to Autonomous Systems

Not every AI application is an autonomous agent. Explore how execution architecture changes when a model gains tools, decision loops, and the ability to coordinate multiple actions toward a goal.

Execution Architecture

Prompt / Response
Illustrative execution model — not a live AI model or external tool connection.

Architecture Profile

Ready
Illustrative autonomy level Low
Workflow adaptability Low
EXECUTION TRACE

Select Run Execution to follow the request through the architecture.

Engineering Insight

Section 02 / Agent Component Engineering

Anatomy of an AI Agent: Model, Instructions, Context, Tools, and Execution Responsibilities

An AI agent is not simply a language model with a new label. It is a software component that combines a decision mechanism with task instructions, contextual information, permitted capabilities, and an execution interface. Understanding these boundaries is essential before designing larger agentic systems.

Modern AI agents are commonly implemented using large language models, but the model is only one part of the component. The surrounding software determines what information the agent receives, which tools it can request, how its outputs are interpreted, and whether an action is actually permitted to execute.

A useful engineering model separates the agent into six responsibilities: decision-making, instructions, task context, capability access, execution handling, and output contracts. These responsibilities may be implemented within one process or distributed across supporting services.

Engineering principle: The model proposes or selects actions, but the application must validate and execute them. A model-generated tool request is not itself authorization, and a plausible model response is not proof that an external operation succeeded.

2.1 The Internal Structure of an AI Agent

The following diagram presents the agent as a bounded software component. Its internal decision mechanism is supported by instructions and context, while tool adapters and output validation connect it to the surrounding application.

Reference Model / Individual Agent Component
Agent Responsibility Boundary
01
Instructions

Role, objectives, constraints, and expected behavior.

02
Task Context

Current request, relevant data, and observations.

AI
Decision Mechanism Model inference + action selection
03
Tool Interface

Declared capabilities and structured action requests.

04
Output Contract

Structured results, evidence, status, and escalation.

Conceptual responsibility model. Authentication, policy enforcement, durable state, and tool execution may be owned by the surrounding runtime.

2.2 The Decision Mechanism

The decision mechanism interprets the current task and available context to produce a response or select a possible next action. In an LLM-based agent, this commonly involves model inference over instructions, observations, and tool descriptions.

The model can suggest a diagnostic step, identify a relevant tool, or produce structured arguments for a tool request. However, it does not automatically know whether those arguments are valid, whether the target resource exists, or whether the requesting identity has permission to perform the action.

This separation is particularly important for infrastructure engineering. An agent may propose checking an interface or changing a routing policy, but the execution layer must distinguish read-only inspection from operations that could affect production traffic.

2.3 Instructions and Task Context

Agent instructions define the purpose and boundaries of the component. For example, a network investigation agent may be instructed to gather evidence, explain findings, and recommend remediation without making configuration changes.

Task context supplies the information required for a specific request. This may include the affected device, incident identifier, topology metadata, permitted diagnostic scope, and previously collected observations. Context is not necessarily persistent memory; it can be temporary information assembled for one execution.

Good agent design keeps instructions separate from untrusted observations. A log entry, retrieved document, or tool response should be treated as data rather than as a new authority capable of overriding system policy.

2.4 Tool Interfaces and Execution Ownership

Tools extend an agent beyond text generation. A tool might retrieve network telemetry, query an inventory service, inspect a cloud resource, or create a structured incident report. The tool interface describes what operations are available and which arguments they accept.

A well-designed execution adapter validates arguments, enforces access controls, invokes the actual service, and returns a structured result. The agent then uses that result as evidence for subsequent decisions.

Tool descriptions and model prompts can guide behavior, but they must not be the only enforcement mechanism. Authorization should be performed by trusted application components using the relevant user, service, or workload identity.

2.5 Three Essential Agent Contracts

01
Input Contract

Defines the accepted task, required parameters, relevant context, and execution scope. Clear input contracts reduce ambiguity and improve testing.

02
Capability Contract

Defines which tools and actions the agent can request, what arguments are valid, and which permissions apply.

03
Output Contract

Defines the expected result format, evidence references, execution status, uncertainty, and escalation requirements.

2.6 Responsibility Ownership in Practice

A useful design exercise is to assign each capability to the component that should own it. The agent can make contextual decisions, but critical security and operational controls should not depend on model compliance alone.

Responsibility Typical Owner Engineering Requirement
Task interpretation Agent decision mechanism Understand objective and identify missing context
Action proposal Agent decision mechanism Select an available action and construct arguments
Argument validation Trusted runtime or tool adapter Reject malformed or unsupported requests
Authentication Application identity infrastructure Establish the requesting principal
Authorization Trusted policy enforcement point Permit or deny actions against resources
External execution Tool adapter or backend service Perform the operation and report actual results
Result interpretation Agent decision mechanism Evaluate observations and communicate uncertainty
Audit and telemetry Application runtime and observability services Record decisions, tool calls, outcomes, and policy events

2.7 Network Engineering Example: A Diagnostic Agent

Imagine an agent assigned to investigate a BGP route that has disappeared from a routing table. Its responsibility is to gather diagnostic evidence, not to modify routing policy.

Engineering Example / BGP Route Investigation
A Bounded Read-Only Troubleshooting Agent
Input
Task Definition

Investigate why prefix 10.20.30.0/24 is absent from the expected routing table on router R1.

Capability
Permitted Tools

Read BGP neighbor state, inspect received routes, retrieve local routing information, and query relevant policy metadata.

Boundary
Restricted Operations

No configuration writes, BGP session resets, route injection, or policy changes. Remediation requires a separate authorized workflow.

Output
Diagnostic Report

Return observations, evidence references, possible causes, confidence limitations, and recommended next checks.

This design creates a useful operational boundary. The agent can inspect the network and assist an engineer without receiving privileges that allow it to disrupt production routing.

If the investigation identifies a likely policy error, the agent can propose a change for review. The approval and execution of that change belong to a separate, trusted control process.

2.8 What an Agent Should Not Own

Some responsibilities should remain outside the model's decision authority. Examples include granting itself permissions, bypassing approval requirements, altering audit records, or declaring an external operation successful without verification.

Keeping these functions in deterministic application components improves reliability and makes the system easier to inspect. It also allows the same agent to operate safely across different environments with different authorization rules.

Section 02 — Engineering Takeaway

A production AI agent combines a decision mechanism with explicit instructions, task context, capability interfaces, and output contracts. The agent may select actions, but trusted software must validate requests, enforce permissions, execute operations, and verify results. Clear responsibility boundaries are the foundation of safe, maintainable agentic applications.

Network Insight / Engineering Lab 02

Inside an AI Agent: Architecture Explorer

Explore the internal components of a tool-enabled AI agent. Select any component to inspect its engineering responsibility, enable or disable optional capabilities, and trace a simulated BGP troubleshooting request through the architecture.

Architecture ready Single-Agent Architecture

Interactive Component Map

AI AGENT RUNTIME
CONTROLLED EXTERNAL ACCESS
Network API / Router
Policy & Audit Service
The map is a conceptual architecture, not a physical network topology. Runtime events highlight the component responsible for each operation.

Component Inspector

CONTROL PLANE

Agent Orchestrator

Architecture Configuration

AGENT EXECUTION TRACE

Run the request to observe internal component interactions.

STATE: IDLE

Engineering Insight

The language model provides reasoning, but the surrounding runtime provides controlled execution. An agent architecture must define which tools exist, which actions are permitted, how observations are processed and when execution stops.

Section 03 / Agentic System Characteristics

What Makes a System Agentic? Goals, Adaptability, Feedback, and Execution Boundaries

Agentic behavior is not defined by the number of AI models or agents in an application. It emerges when a system can pursue an objective through context-dependent decisions, permitted actions, and feedback-driven adaptation. The engineering challenge is to provide those capabilities without surrendering operational control.

Many applications now use language models to summarize information, classify requests, or generate recommendations. These functions can be valuable, but they do not necessarily make the application agentic. A system that always follows the same predefined sequence may remain a deterministic workflow even when an LLM participates in individual steps.

A more agentic design delegates some decision-making to an AI-enabled component. The system may select between available actions, gather additional evidence when information is missing, adjust its approach after a failed operation, or stop when a defined objective has been satisfied.

Key distinction: Agentic behavior is about delegated, goal-directed decision-making and feedback-driven adaptation—not simply about using an LLM, invoking tools, or deploying multiple agents.

3.1 Five Characteristics of Agentic Behavior

A useful engineering model examines five related characteristics: goal orientation, decision authority, environmental observation, adaptability, and bounded execution. These characteristics form a spectrum rather than a rigid certification checklist.

Five-Dimensional Agentic Capability Model
01
Goal Orientation

Works toward an intended outcome

02
Decision Authority

Selects among permitted actions

03
Observation

Uses evidence from its environment

Agentic
Behavior
04
Adaptability

Changes approach using feedback

05
Bounded Execution

Operates within explicit constraints

+
Operational Evidence

Supports verification and review

A conceptual capability model. Observability and policy enforcement are essential production controls, not proof of autonomy by themselves.

3.2 Goal Orientation Versus Fixed Instructions

Traditional automation generally defines both the objective and the sequence of operations. A script might collect interface counters, evaluate a fixed threshold, and generate an alert. The execution path is determined by the programmer.

A goal-oriented agent may instead receive an objective such as "Determine whether congestion is contributing to packet loss." It can then choose among authorized diagnostic operations based on the available evidence.

The distinction is not that automation cannot contain conditional logic. Conventional programs can be highly adaptive. The agentic difference is that some selection of actions is delegated to an AI decision mechanism rather than fully encoded as a predetermined control path.

3.3 Decision Authority Is the Defining Boundary

Decision authority describes what the application allows an agent to determine without asking a human or following a fixed instruction for every step.

An agent might be permitted to select diagnostic tools, determine which observation to collect next, and decide when enough evidence exists to prepare a report. It may not be permitted to modify firewall rules, restart routing sessions, or deploy production configuration.

These boundaries should be enforced by trusted software rather than relying on natural-language instructions alone.

01
What Can It Decide?

The set of choices delegated to the AI component, such as diagnostic order, information requests, or next-step selection.

02
What Can It Execute?

The operations authorized by the application, identity system, and resource-specific policy.

03
When Must It Stop?

Termination rules covering successful completion, failure, uncertainty, budget exhaustion, and mandatory human escalation.

3.4 Feedback and Adaptation

Feedback enables an agent to adjust its decisions based on observed outcomes. If a telemetry service returns an error, the agent may choose an approved alternative data source or report that the investigation cannot continue.

If interface counters show no significant discards, an agent might examine another plausible failure domain rather than repeating the same query. The system can adapt its investigation while preserving the original objective.

Adaptation should not be confused with unlimited retrying. A reliable application needs timeouts, maximum action counts, retry budgets, and explicit conditions for stopping or escalating.

3.5 Automation, LLM Applications, and Agentic AI

These approaches are not mutually exclusive. A production architecture may combine deterministic workflows, LLM-based interpretation, and agent-directed investigation. The right approach depends on the task's variability, risk, and operational requirements.

Dimension Deterministic Automation LLM Application Agentic AI Application
Execution path Defined by programmed logic Often follows a fixed request-response path May select actions dynamically within constraints
Decision mechanism Rules, algorithms, and explicit conditions Model inference for a bounded task Model-assisted selection across multiple permitted steps
Tool access Directly programmed integrations Optional application integrations Typically uses tools to observe or act
Adaptation Limited to implemented logic May adapt the generated response May change the execution approach based on feedback
State Defined application variables and storage Often request or conversation context May maintain evolving task and workflow state
Best fit Stable, repeatable operations Generation, summarization, and interpretation Variable multi-step tasks requiring contextual decisions

3.6 Bounded Autonomy Is an Engineering Requirement

Greater autonomy increases the importance of control. An agent that can select diagnostic queries creates less operational risk than an agent permitted to modify production infrastructure.

Engineers should separate decision autonomy from execution authority. A system may allow an agent to recommend a configuration change while reserving actual deployment for a human-approved automation pipeline.

This design preserves the benefits of AI-assisted investigation without granting unrestricted administrative capabilities.

3.7 Network Engineering Example: Adaptive Investigation

Consider a network operations request involving intermittent application latency between two data centre services. The objective is to identify plausible contributing factors using authorized telemetry.

Engineering Scenario / Adaptive Network Diagnosis
Three Approaches to the Same Investigation
01
Fixed Automation

Collect predefined counters, compare them with configured thresholds, and generate a report using programmed decision rules.

02
LLM-Assisted Analysis

Analyze supplied logs and metrics, summarize possible causes, and suggest further checks without independently controlling the investigation.

03
Agentic Investigation

Select authorized telemetry queries, interpret observations, pursue relevant diagnostic branches, and stop with an evidence-based report or escalation request.

The agentic approach is not automatically the best option. If the investigation is completely predictable, deterministic automation may be simpler, faster, and easier to validate. Agentic behavior becomes more useful when the appropriate next step depends on incomplete or changing evidence.

3.8 Measuring Agentic Capability

Engineers should avoid treating autonomy as a binary label. A system may have substantial freedom to choose diagnostic queries but no authority to execute changes. Another system may run a fixed deployment workflow with powerful credentials but very little delegated decision-making.

A practical assessment should examine which decisions are delegated, how much task context the system can use, how it responds to unexpected observations, and whether its actions remain constrained and auditable.

Section 03 — Engineering Takeaway

Agentic behavior emerges when an AI-enabled system can pursue goals through delegated decisions, environmental observations, and feedback-driven adaptation. The number of agents is not the defining factor. The most important engineering decision is how to balance adaptive behavior with explicit authorization, termination, and human oversight.

Network Insight / Engineering Lab 03

Agent Planning & Reasoning Loop Visualiser

An agent must do more than execute a fixed sequence. Explore how it creates a plan, collects evidence, evaluates its hypothesis and replans when observations contradict its initial assumptions.

Reasoning & Planning Cycle

READY
01
PLAN Select diagnostic objective
02
ACT Execute diagnostic action
03
OBSERVE Collect evidence
04
EVALUATE Test the hypothesis
05
REPLAN Adjust the next action
ITERATIVE CONTROL LOOP
Investigation iteration 0 / 3
Simulated diagnostic evidence. The confidence indicator is a teaching aid, not a calibrated probability. No real network commands are executed.

Active Agent Hypothesis

CURRENT HYPOTHESIS
BGP session instability may explain the missing route.
Evidence support 20%

Decision Trace

AGENT REASONING EVENT

Select Run Investigation to begin.

STATE: IDLE

Investigation Event Timeline

No events recorded yet.

Engineering Insight

Effective agent planning requires an observation-driven control loop. A reliable system must distinguish between a proposed hypothesis, evidence supporting that hypothesis, and a verified diagnosis.

Section 04 / Autonomy and Operational Control

Levels of Autonomy and Human Oversight: Designing Safe Decision and Approval Boundaries

Autonomy is not a binary property. An AI system may be allowed to recommend actions, select diagnostic tools, execute low-risk operations, or manage longer workflows. Each increase in authority changes the security, reliability, and governance requirements of the application.

A common misconception is that the most advanced agentic AI system is the one requiring the least human involvement. In enterprise engineering, the objective is different: assign enough autonomy to complete useful work while preserving appropriate control over risk.

A network investigation agent may independently collect telemetry and prepare a diagnostic report. The same agent should not automatically receive permission to restart routing sessions, modify firewall rules, or deploy production changes.

Designing this separation requires engineers to distinguish between the ability to make a decision and the authority to execute the resulting action.

Engineering principle: Decision autonomy and execution authority are separate controls. An agent may independently recommend an action while the application requires human approval before that action is executed.

4.1 A Five-Level Autonomy Framework

The following framework provides a practical way to discuss autonomy during architecture reviews. These levels are illustrative engineering categories rather than a universal industry standard.

Illustrative AI Autonomy Spectrum
L0
Human Directed

The system provides information while humans select and execute actions.

L1
Recommendation

AI proposes actions, but humans determine what happens next.

L2
Bounded Action

AI selects and performs pre-authorized, low-risk operations.

L3
Approval-Gated

AI manages a workflow, but sensitive operations require explicit approval.

L4
Policy-Constrained

AI can complete broader workflows autonomously within enforced limits.

Greater delegation does not imply greater suitability. Approval gates can exist at any autonomy level.

4.2 Human-in-the-Loop and Human-on-the-Loop

Human oversight can be implemented in several ways. In a human-in-the-loop design, execution pauses until an authorized person approves a particular action.

In a human-on-the-loop design, the system operates within predefined limits while humans monitor its behavior and retain the ability to intervene or stop execution.

Human-out-of-the-loop execution may be appropriate for tightly bounded, low-risk operations, but still requires enforceable policies, monitoring, and recovery mechanisms.

4.3 The Approval Boundary Architecture

A robust approval system does more than ask a user to click a confirmation button. It binds authorization to a specific proposed operation, target resource, parameters, and execution context.

Conceptual Human Approval Boundary
AI
Agent Proposal Requested operation, target, and justification
HITL
Approval Gate Identity, risk, scope, and authorized decision
OK
Trusted Execution Revalidate policy, execute, and audit

Approval does not replace authorization. The execution service must independently validate the approved action before performing it.

4.4 What Must Be Included in an Approval Request?

A meaningful approval request should describe the operation precisely enough for an engineer to understand its potential impact. Generic requests such as "Allow the agent to fix the network" are too broad for sensitive infrastructure operations.

01
Action and Target

Identify the exact operation, affected resource, and relevant parameters.

02
Evidence and Impact

Present the diagnostic evidence, expected outcome, and potential service impact.

03
Approval Scope

Bind the approval to the specific action, authorized identity, and validity period.

04
Verification and Recovery

Define post-action checks, rollback conditions, and audit requirements.

4.5 Autonomy Controls by Operation Type

Different actions require different levels of control. A read-only telemetry query is not equivalent to changing production routing policy, even when both are requested by the same agent.

Operation Typical Risk Illustrative Control Human Involvement
Read interface counters Low, subject to data sensitivity Read-only authorization and audit Usually not required per query
Retrieve routing state Low to moderate Scoped device and command permissions Usually not required per query
Create incident report Low to moderate Output validation and evidence references Review may be appropriate
Modify monitoring thresholds Moderate Change validation and scoped authorization May require approval
Restart BGP session Potentially high Impact assessment and change controls Normally explicit approval
Deploy routing policy Potentially high Review, prechecks, staged deployment, rollback Normally explicit approval
Change security rules Potentially high Least privilege, policy validation, audit Normally explicit approval

4.6 Why Approval Must Be Enforced Outside the Model

Natural-language instructions can tell an agent to request approval before performing sensitive operations. However, those instructions are not sufficient as a security boundary.

A trusted execution service should reject unauthorized operations regardless of what the model requests. Approval decisions should be associated with authenticated identities and recorded in an auditable form.

Engineers must also consider time-of-check versus time-of-use problems. If the target configuration changes after approval, the system may need to invalidate the approval and request a new review.

4.7 Network Engineering Scenario: BGP Remediation

Consider an agent investigating a missing BGP route. The investigation identifies evidence suggesting that an outbound route-map is filtering a required prefix.

Production Scenario / BGP Policy Change
Separating Investigation, Approval, and Execution
01
Agent Investigation

The agent collects BGP neighbor state, advertised routes, and policy information. It prepares an evidence-based diagnosis and proposed remediation.

02
Human Approval

An authorized engineer reviews the proposed route-map modification, validates expected routing impact, and approves a specific change request.

03
Controlled Execution

A trusted automation service validates the approval, performs prechecks, applies the change, verifies routing behavior, and records the outcome.

The agent may have considerable freedom to investigate and recommend a solution without possessing direct permission to change production routing. This separation reduces the consequences of an incorrect diagnosis or an unexpected model-generated action.

4.8 Emergency Stops, Budgets, and Escalation

Approval gates are only one part of autonomy control. Production systems should also support cancellation, maximum execution duration, tool-call budgets, retry limits, and escalation when required evidence is unavailable.

Human intervention must be operationally meaningful. An operator should be able to identify the active workflow, inspect its current state, and prevent further actions. Cancellation cannot always reverse operations already committed, so recovery planning remains essential.

Section 04 — Engineering Takeaway

Safe agentic AI does not require eliminating human involvement. It requires assigning appropriate decision authority, enforcing execution permissions, and placing approval boundaries around sensitive operations. The strongest designs combine bounded autonomy, trusted policy enforcement, auditable approvals, operational stop controls, and verified outcomes.

Network Insight / Engineering Lab 04

MCP Tool Calling & Execution Gateway

Follow a model-proposed tool call through an MCP client, server and external network API. Experiment with tool permissions, schema validation and simulated execution failures to understand the boundary between AI reasoning and authorised action.

MCP Communication Architecture

READY
MCP HOST APPLICATION
AI Model Proposes a tool call
MCP Client Manages the server connection
JSON-RPC / MCP TRANSPORT
MCP SERVER
Tool Handler Validates and dispatches requests
Network API Simulated diagnostic backend
Educational MCP execution model. No real MCP server, credentials, router or network API is contacted.

Tool Request Builder

JSON-RPC TOOL REQUEST

        
EXECUTION RESULT

Configure a request and execute the simulated tool call.

Protocol & Execution Timeline

No protocol events recorded.

Engineering Insight

MCP standardises how host applications communicate with external context and tool providers. It does not automatically make a tool safe. Hosts and servers still need appropriate permissions, input validation, approval policies and auditing.

Section 05 / Workflow Architecture

Single-Agent vs Agentic Workflows: Complexity, Coordination, and Architectural Trade-offs

Not every AI application requires a complex orchestration platform. A single agent may be sufficient for a bounded task, while longer-running processes may benefit from workflow state, explicit control gates, deterministic services, and coordinated execution. The correct architecture depends on the task—not the number of agents.

Agentic AI systems are sometimes described as networks of specialized agents that communicate and collaborate. Such architectures can be useful, but they are not a prerequisite for agentic behavior. A single agent can select tools, evaluate observations, and adapt its approach to a task.

Conversely, a workflow can coordinate several AI components without granting them much decision autonomy. A fixed pipeline that invokes three models in sequence is not necessarily more agentic than one agent operating independently.

Engineering principle: Choose the smallest architecture that satisfies the task's requirements. Add orchestration, durable state, and specialized components when they solve identifiable engineering problems—not simply to increase the apparent sophistication of the application.

5.1 The Single-Agent Architecture

A single-agent design gives one acting component responsibility for a bounded objective. It receives context, selects permitted actions, interprets results, and returns an outcome to the calling application.

This approach works well when the task has a manageable scope, limited dependencies, and a relatively small number of tools. Examples include retrieving operational data, summarizing an incident, or conducting a focused diagnostic investigation.

5.2 The Structured Agentic Workflow

A structured workflow introduces explicit coordination around the AI component. The application may manage task state, invoke deterministic services, enforce approval gates, and preserve progress across multiple steps.

The workflow may contain one agent or several. The important distinction is that execution is managed by an application architecture rather than relying on one component to own every responsibility.

Architectural Comparison / Bounded Agent vs Managed Workflow
Single-Agent Design
One primary decision-making component
Task Request
↓
AI Agent Decision + Tools
↓
Telemetry Inventory Reports
Managed Agentic Workflow
Explicit execution and coordination boundaries
01
Task Intake
→
02
AI Decision
Workflow State / Execution Checkpoint
03
Policy Gate
→
04
Tool Service
Result Validation / Audit / Recovery

Conceptual architecture comparison. A single-agent implementation can also use external policy, state, and observability services.

5.3 When a Single Agent Is Enough

A single agent is often the best starting point when one component can understand the task, access the required tools, and produce a verifiable result without extensive coordination.

Its advantages include simpler deployment, fewer communication boundaries, reduced orchestration overhead, and easier debugging. These benefits matter particularly during early development and testing.

5.4 When Workflow Orchestration Adds Value

Orchestration becomes more valuable when a task spans several systems, requires human approvals, or must survive process restarts and temporary failures.

For example, an enterprise incident workflow might collect telemetry, create an investigation record, request an authorized review, invoke a change-management system, and verify the resulting network state.

These responsibilities benefit from explicit state transitions and durable records, regardless of whether the workflow uses one agent or many.

01
Coordination

Multiple services and dependencies need clear ownership, sequencing, and integration contracts.

02
Durable Execution

Long-running tasks may require checkpoints, persisted state, retries, and recovery after interruptions.

03
Governance

Sensitive operations need enforceable policy, human approvals, audit trails, and controlled execution boundaries.

5.5 Technical Architecture Comparison

Dimension Single-Agent Architecture Managed Agentic Workflow
Primary scope Bounded task handled by one acting component End-to-end execution across defined workflow stages
Coordination Usually limited to the agent and its tools Explicit coordination between agents, services, and controls
State management May use local or external task state Often uses durable workflow state and checkpoints
Failure recovery May retry or return failure to the caller Can support stage-level retries, escalation, and resumption
Human approval Can be integrated into agent tool execution Often implemented as an explicit workflow stage
Observability Agent and tool-level traces Correlated traces across workflow stages and services
Operational complexity Typically lower Typically higher due to coordination and state
Best fit Focused investigations and bounded assistance Multi-stage, long-running, or governed enterprise processes

5.6 Complexity Is Not Free

Every additional component introduces potential failure modes. Distributed workflows may encounter unavailable services, inconsistent state, duplicate requests, delayed approvals, and partial execution.

Engineers must consider idempotency, timeout behavior, retry policies, state consistency, and the consequences of actions that cannot be rolled back.

A workflow that performs an external operation successfully but fails before recording the result can be particularly difficult to recover. Retrying without checking the operation's actual outcome may create unintended duplicate effects.

5.7 Network Engineering Example: Incident Investigation

Consider an incident involving intermittent connectivity between an application server and a database service. The investigation may require checking routing state, firewall policy, interface counters, and service health.

Engineering Scenario / Network Incident Management
Choosing the Appropriate Execution Architecture
Single-Agent Investigation

One agent uses approved read-only tools to inspect relevant network state, compare observations, and prepare a diagnostic report. The task ends when the report is produced or the agent reaches its execution limits.

Managed Incident Workflow

The application creates an incident record, coordinates telemetry collection, invokes an AI diagnostic component, preserves evidence, requests approval for remediation, and verifies the outcome after an authorized change.

Both approaches can provide value. The single-agent implementation may be sufficient for investigation and reporting. The managed workflow becomes more appropriate when the business process extends into approvals, execution, verification, and recovery.

5.8 Four Principles for Selecting the Architecture

01
Start Small

Use one agent until a specific requirement justifies more components.

02
Separate Control

Keep policy, identity, and critical execution controls outside the model.

03
Design for Failure

Define retries, timeouts, checkpoints, and recovery behavior.

04
Measure Outcomes

Evaluate task success, latency, cost, operational risk, and maintainability.

5.9 Single-Agent Does Not Mean Single-Service

A final distinction is important: an application can contain one AI agent while still relying on multiple backend services. Identity providers, telemetry APIs, policy engines, databases, and observability systems may all participate in the architecture.

The number of AI agents should not be confused with the number of application components. A well-engineered single-agent system can be distributed, secure, and operationally sophisticated without becoming a multi-agent architecture.

Section 05 — Engineering Takeaway

Single-agent and managed agentic workflows are complementary architectural patterns. Use a single agent for bounded tasks with manageable dependencies. Introduce orchestration when durable state, approvals, coordination, or recovery requirements justify it. Architectural quality is determined by reliability, security, and measurable outcomes— not by the number of agents deployed.

Network Insight / Engineering Lab 05

Agent Memory & RAG Lifecycle Explorer

Explore how an AI agent retrieves knowledge, allocates limited context, handles persistent memory and determines whether its answer is supported by trustworthy evidence.

Memory & Retrieval Pipeline

READY
01 / User Query Why is BGP prefix 10.20.0.0/24 rejected?
02 / Task Memory Working state and optional retained context
03 / RAG Retrieval Search indexed knowledge sources
04 / Ranking Prioritise candidate evidence
05 / Context Assembly Fit selected evidence into token budget
06 / Grounded Answer Generate a response from supplied evidence

Retrieved Knowledge Candidates

Scores and token costs are illustrative. This lab uses a fixed document corpus, not a live vector database or language model.

Context Window Allocation

Allocated Tokens 0 / 3,200
Instructions Memory Retrieved context

Generated Answer Assessment

SIMULATED AGENT RESPONSE

Run retrieval to evaluate the available evidence.

AWAITING RETRIEVAL

Engineering Insight

Retrieval relevance is not the same as factual reliability. A production RAG system should evaluate source authority, freshness, access permissions and whether the selected evidence actually supports the generated answer.

Section 06 / Execution Architecture

Deterministic Automation vs Adaptive Agents: Understanding Fixed Workflows and AI-Driven Decisions

Traditional automation and agentic AI solve different engineering problems. Deterministic systems execute programmed logic, while adaptive agents can select actions based on context and feedback. Production systems often benefit from combining both approaches.

Deterministic automation has been fundamental to infrastructure engineering for decades. Network configuration management, monitoring systems, CI/CD pipelines, and cloud provisioning tools execute operations according to defined rules and control logic.

AI agents introduce a different capability: selecting among permitted actions when the appropriate next step depends on incomplete or changing information. This can be useful for investigation, analysis, and complex decision support.

However, adaptive behavior is not automatically superior to deterministic execution. For stable and repeatable operations, conventional software often provides stronger predictability, simpler testing, and clearer failure handling.

Engineering principle: Use adaptive AI where contextual judgment adds value. Use deterministic software where operations must be predictable, authorized, repeatable, and verifiable.

6.1 Deterministic Execution

A deterministic workflow follows explicit control logic. Given the same relevant inputs and system state, the program is designed to make the same decisions. External dependencies, timing, and environmental changes may still affect its observed results.

For example, a network automation script may retrieve interface counters, compare them against configured thresholds, and create an alert when a condition is satisfied. The decision criteria are defined in code.

6.2 Adaptive Agent Execution

An adaptive agent can select which operation to perform next based on observations. Rather than following a completely predefined diagnostic sequence, it may choose among authorized tools and revise its investigation strategy.

This flexibility is valuable when a problem has multiple plausible causes or when the next useful observation cannot be determined in advance.

Architecture A / Programmed Control
Deterministic Automation
Input Event
↓
Evaluate Programmed Rules
↓
Execute Defined Operation
↓
Return Result

Execution decisions are encoded in application logic.

Architecture B / Contextual Decision-Making
Adaptive Agent
Goal + Context
↓
Select Permitted Action
↓
Validate + Execute Tool
↓
Observe Result → Reassess or Finish

Action selection may change in response to observations.

6.3 Where Adaptive Decisions Add Value

The main advantage of adaptive agents is not that they can execute commands. Conventional software already performs that function reliably. Their value lies in selecting useful actions when the appropriate sequence depends on context that is difficult to encode exhaustively.

01
Ambiguous Problems

Multiple plausible explanations require contextual investigation rather than a single fixed decision path.

02
Changing Evidence

New observations may alter which diagnostic operation is most useful next.

03
Variable Task Structure

Different requests may need different tools, information sources, and execution steps.

6.4 Technical Comparison

Dimension Deterministic Automation Adaptive Agent
Decision logic Explicitly programmed rules and algorithms Model-assisted contextual action selection
Execution path Defined by implemented control logic May vary based on observations
Repeatability Generally high under controlled conditions May vary across executions
Testing Unit tests, integration tests, and state-based assertions Scenario evaluation, tool-call validation, and outcome testing
Failure handling Programmed retries and recovery procedures May propose alternative actions within enforced limits
Operational control Directly enforced by application logic Requires trusted enforcement around model-selected actions
Best fit Stable, repeatable, high-assurance processes Variable tasks requiring contextual judgment

6.5 The Hybrid Architecture

A particularly useful enterprise design combines adaptive decision-making with deterministic execution controls. The agent investigates the task and proposes an action, while trusted application services determine whether that action is allowed.

The execution service validates the request, applies policy, performs the operation, and returns a verifiable result. The agent may then interpret that result and determine whether additional work is needed.

Reference Architecture / Hybrid AI and Deterministic Control
Adaptive Decisions, Controlled Execution
01
Agent Decision

Interpret the task and propose an authorized operation.

02
Policy Validation

Check identity, permissions, arguments, and operational limits.

03
Trusted Execution

Perform the permitted operation through controlled services.

04
Result Verification

Confirm the outcome, record evidence, and report status.

6.6 Handling Unexpected Failures

Adaptive systems must handle failures without creating uncontrolled execution loops. If a telemetry service is unavailable, the agent may choose an approved alternative source or report that the investigation cannot continue.

The runtime should enforce maximum retries, execution duration, tool-call budgets, and escalation rules. The agent should not be able to bypass these controls simply by generating another request.

For operations that change external state, retries require particular care. Before repeating an action, the application should determine whether the previous attempt already succeeded.

6.7 Network Engineering Example: BGP Troubleshooting

Consider a missing BGP prefix. A deterministic diagnostic script may check neighbor state, inspect a predefined route table, and report the result.

An adaptive agent can examine the initial observations and choose additional checks, such as received-route state, policy filtering, or route selection evidence.

Engineering Scenario / Missing BGP Prefix
Fixed Diagnostic Logic vs Adaptive Investigation
Deterministic Diagnostic

Run predefined checks against BGP session status and route tables. Evaluate programmed conditions and produce a structured result. Unexpected scenarios require additional programmed logic.

Adaptive Diagnostic Agent

Start with the missing prefix and available topology context. Select relevant read-only checks, interpret each observation, and pursue plausible causes within a controlled diagnostic scope.

The two approaches can work together. A deterministic service may collect and validate routing information, while the agent decides which diagnostic question to investigate next.

6.8 Engineering Selection Criteria

The correct architecture depends on the variability of the task, required assurance, operational risk, and cost of unexpected behavior.

If a workflow can be specified completely and tested reliably, deterministic automation is often the preferable solution. When a task requires contextual exploration across multiple possible paths, bounded agentic behavior may provide additional value.

Section 06 — Engineering Takeaway

Deterministic automation and adaptive agents are complementary technologies. Use conventional software for predictable operations, policy enforcement, and verified execution. Use adaptive agents where contextual decisions and changing evidence justify flexibility. The strongest enterprise designs combine both approaches through explicit control boundaries.

Network Insight / Engineering Lab 06

Multi-Agent Coordination & Delegation Lab

Investigate a network incident using specialised AI agents. Compare sequential and parallel orchestration, inject failures, and observe how task dependencies and shared evidence affect the final diagnosis.

Multi-Agent Execution Architecture

READY
AI Orchestration Coordinator Task decomposition · Delegation · Result aggregation
AGENT 01
Routing Specialist BGP sessions, routes and next-hop analysis
AGENT 02
Security Specialist Firewall policy and traffic filtering
AGENT 03
Telemetry Specialist Logs, metrics and event correlation
AGENT 04
Verification Specialist Independent evidence and outcome checks
Investigation State Store Shared observations and task results
Simulated agents and execution durations. No external AI models or network APIs are contacted.

Orchestration Metrics

Execution model Parallel
Active specialist agents 0 / 4
Completed specialist tasks 0 / 4
Failed specialist tasks 0
Simulated execution time 0 units
COORDINATOR EVENT

Select Run Investigation to start delegation.

STATE: IDLE

Agent Coordination Timeline

No agent events recorded.

Engineering Insight

Multi-agent architectures introduce coordination costs, shared-state consistency requirements, task dependencies and failure propagation. Parallel execution can reduce latency only when tasks can safely run independently.

Section 07 / Enterprise Deployment Architecture

Agentic AI in Enterprise Architecture: Deployment Boundaries, Service Integration, and Operational Ownership

Moving from an AI prototype to a production enterprise application requires more than deploying a model and connecting tools. Engineers must define where the agent runs, which services it can access, how workflow state is managed, and which teams own security, reliability, and operational support.

Agentic AI applications increasingly interact with existing enterprise systems: cloud platforms, monitoring services, databases, network controllers, service-management tools, and internal APIs. These integrations introduce architectural requirements that extend well beyond model inference.

A production design must address identity, authorization, service connectivity, data boundaries, observability, deployment isolation, and failure recovery. The agent should operate as a governed application component rather than an unrestricted operator with access to enterprise infrastructure.

Engineering principle: An AI agent should be deployed within a clearly defined application and security boundary. Model intelligence does not replace service ownership, access control, change management, or production reliability engineering.

7.1 The Enterprise Agentic AI Deployment Model

A practical enterprise architecture separates user-facing applications, agent execution services, policy enforcement, and backend integrations. Each layer has distinct operational responsibilities.

Reference Architecture / Enterprise Agentic AI Application
UI
Enterprise Application

User requests, task initiation, progress, and results

ID
Identity and Access

Authentication, service identity, and authorization context

API
Application Gateway

Request validation, routing, quotas, and admission controls

Controlled Service Boundary
AGENTIC APPLICATION RUNTIME
AI
Agent Execution Decisions and task context
WF
Workflow State Checkpoints and progress
POL
Policy Enforcement Tool and action controls
OBS
Observability Traces, metrics, and audit
Authenticated Tool Integrations
Network and Cloud APIs

Controllers, telemetry, and infrastructure state

Enterprise Data Services

Inventory, documents, and operational records

Change and Incident Systems

Tickets, approvals, and controlled operations

Conceptual architecture. Components may be deployed together or separately, depending on scale and security requirements. Every backend operation remains subject to its own authorization controls.

7.2 Deployment Boundaries and Runtime Isolation

The agent runtime may execute in a container, virtual machine, managed application service, or another controlled compute environment. The correct deployment model depends on organizational requirements for scaling, isolation, availability, and operational support.

Agent execution should be separated from privileged infrastructure operations wherever practical. The runtime can request an action through a tool adapter, while a trusted backend service validates permissions and performs the operation using an appropriately scoped identity.

This approach reduces the consequences of incorrect model-generated requests and limits the exposure of administrative credentials.

7.3 Five Enterprise Ownership Domains

Enterprise deployments benefit from explicit ownership across the application lifecycle. These responsibilities may be shared between teams, but they should never be left undefined.

01
Application

User experience, task contracts, APIs, and business requirements.

02
AI Engineering

Agent behavior, model selection, evaluation, and tool-use quality.

03
Platform

Compute, deployment, scaling, state storage, and runtime reliability.

04
Security

Identity, authorization, data protection, policy, and audit controls.

05
Operations

Monitoring, incident response, service ownership, and recovery.

7.4 Integration with Existing Enterprise Services

Agents should not bypass established enterprise APIs or operational control systems. Where possible, integrations should reuse existing authentication, authorization, audit, and change-management mechanisms.

For example, an agent that investigates a network incident might query an inventory API, retrieve telemetry through a monitoring platform, and create an incident record through an IT service management system.

Each integration should expose a bounded capability with validated inputs and structured outputs. A generic unrestricted command-execution interface creates substantially greater risk than a narrowly scoped diagnostic API.

7.5 Enterprise Responsibility Matrix

Capability Typical Owner Production Requirement
Agent behavior AI application team Versioned instructions, evaluations, and tool contracts
Model access AI platform or application team Approved models, quotas, and data-handling controls
Runtime hosting Platform engineering Isolation, deployment automation, scaling, and availability
Identity and permissions Security and IAM teams Least privilege, credential lifecycle, and policy enforcement
Tool integrations Application and service owners Authenticated APIs, validation, and operational contracts
Workflow state Application and platform teams Durability, consistency, retention, and recovery
Observability Application and operations teams Correlated traces, metrics, audit records, and alerts
Incident response Operations and service owners Runbooks, escalation, rollback, and service restoration

7.6 Reliability and Failure Isolation

Enterprise applications must assume that model endpoints, backend APIs, databases, and external services can become unavailable. The architecture should define how the workflow behaves when any dependency fails.

Timeouts, bounded retries, circuit breakers, durable checkpoints, and explicit error states help prevent an isolated failure from becoming an uncontrolled execution loop.

Systems that perform external state changes should use idempotency controls where supported and verify whether an operation succeeded before retrying it.

7.7 Network Operations Deployment Example

Consider an enterprise deploying an AI-assisted network troubleshooting service. Engineers submit investigation requests through a web application. The agent accesses approved network telemetry and produces evidence-based diagnostic reports.

Engineering Scenario / Enterprise Network Operations
Deploying a Controlled Network Investigation Service
01
Application Boundary

The web application authenticates engineers, records investigation requests, and presents diagnostic results. User identity and task scope are passed to the backend.

02
Agent Runtime

The agent interprets the request, selects approved read-only tools, and evaluates observations. Workflow state and tool activity are recorded for operational review.

03
Infrastructure Services

Backend adapters query monitoring platforms, network controllers, and inventory systems. Privileged changes remain outside the diagnostic agent's execution authority.

The application can scale its user interface, agent execution workers, and backend integration services independently when needed. It can also apply different security policies to diagnostic reads and production changes.

7.8 Cloud, On-Premises, and Hybrid Deployment

Agentic applications are not inherently tied to a particular cloud provider. They can operate on-premises, in public cloud environments, or across hybrid architectures.

Deployment decisions should consider data residency, network connectivity, model availability, service latency, cost, and the location of protected enterprise resources.

For example, an agent application may run in a cloud environment while a controlled integration service operates inside a private network. The integration boundary can expose approved diagnostic capabilities without making internal management interfaces directly accessible to the model runtime.

7.9 Production Readiness and Operational Ownership

Before deployment, engineering teams should establish service-level objectives, operational monitoring, incident procedures, model and prompt versioning, evaluation criteria, and change controls.

Agentic behavior introduces additional operational questions: whether the agent selected an appropriate tool, whether the evidence supports its conclusion, and whether the final outcome satisfied the original task.

These questions require application-level observability rather than relying only on infrastructure CPU, memory, and network metrics.

Section 07 — Engineering Takeaway

Enterprise agentic AI is an application architecture problem, not simply a model integration problem. Production systems require clear deployment boundaries, authenticated service integrations, durable workflow state, trusted authorization, observability, and explicit operational ownership. The agent provides adaptive decision-making within an enterprise platform that remains responsible for security, reliability, and controlled execution.

Network Insight / Engineering Lab 07

Agent-to-Service Network Path Explorer

Trace how an AI agent communicates with model endpoints, tool services and external network APIs. Inject latency, connectivity failures and timeouts to distinguish application failures from underlying network problems.

Agentic AI Service Network

READY
AI Agent Application runtime
API Gateway Ingress and routing
Model Endpoint Inference service
Orchestrator Tool workflow control
Tool Service Remote tool execution
→
Network API Read-only diagnostics
LOGICAL SERVICE DEPENDENCY PATH / NOT A PHYSICAL CABLING MAP
Latency values are illustrative. Actual service paths may contain multiple network connections and response legs not shown in this simplified diagram.

Network Telemetry

Request latency 0 ms
Timeout budget 1,500 ms
Retry attempts 0
Request outcome Not started
Failure domain Unknown
NETWORK INVESTIGATION EVENT

Select Trace Request to begin.

STATE: IDLE

Request Path & Network Events

No network events recorded.

Engineering Insight

An AI agent may appear to fail because a remote dependency is slow or unreachable. Troubleshooting requires correlating application traces with network latency, transport failures, timeouts and service availability.

Section 08 / Security and Governance

Security, Governance, and Operational Risk: Controlling Agentic AI in Production

Agentic AI introduces new operational risks because AI components may select tools, retrieve sensitive information, and initiate actions. Secure engineering requires more than protecting the model: it requires enforceable authorization, trusted execution boundaries, observability, and governance across the entire application.

Traditional enterprise applications already require identity management, secure APIs, data protection, and operational monitoring. Agentic AI inherits these requirements while introducing additional uncertainty around model-generated decisions and tool requests.

An agent may interpret untrusted documents, logs, search results, or tool responses as part of its task. It may also select actions dynamically rather than following a fully predefined execution path.

These characteristics make security boundaries especially important. A production system must distinguish between information the model may consider and instructions the application is actually authorized to follow.

Engineering principle: Model-generated decisions must not become security authority. The application must independently enforce permissions, validate operations, protect data, and record execution outcomes.

8.1 How Agentic AI Changes the Threat Model

In a conventional application, many operations follow predefined program logic. In an agentic application, the AI component may select from a set of available tools based on contextual information.

This creates a new trust challenge: untrusted content can influence the model's proposed actions. If the surrounding application exposes excessive permissions, a manipulated agent may attempt operations outside the user's intended task.

The primary security concern is therefore not simply whether the model produces incorrect text. It is whether an incorrect or manipulated decision can cause an unauthorized external effect.

8.2 Five Layers of Agentic AI Security

A defense-in-depth architecture applies controls at multiple boundaries. No single prompt, model safeguard, or tool description should be expected to provide complete protection.

Defense-in-Depth / Five Security Layers
01
Identity and Authentication

Establish the user, workload, and service identities involved.

Identity
02
Authorization and Least Privilege

Restrict resources, tools, and actions to permitted scope.

Permissions
03
Tool and Execution Validation

Validate arguments, enforce policies, and reject unsafe requests.

Enforcement
04
Data Protection and Isolation

Control sensitive data, external destinations, and execution environments.

Protection
05
Monitoring, Audit, and Response

Record actions, detect abnormal behavior, and support intervention.

Operations

Conceptual security architecture. Controls operate together rather than as a single sequential security checkpoint.

8.3 Prompt Injection and Untrusted Information

Prompt injection occurs when attacker-controlled or otherwise untrusted content attempts to redirect an AI system away from its authorized instructions.

For example, a diagnostic agent may retrieve a network incident document containing text that instructs the model to ignore its existing rules or send information to an external destination.

The document should remain task data, not become a source of authority. Strong designs restrict the agent's available capabilities and validate all requested actions through trusted services.

8.4 Six Important Operational Threats

01
Prompt Injection

Untrusted content attempts to redirect the agent's decisions or tool requests.

02
Excessive Permissions

An agent has broader resource access or execution authority than its task requires.

03
Tool Misuse

Incorrect or manipulated arguments trigger unintended operations against backend systems.

04
Data Exfiltration

Sensitive information is disclosed through unauthorized outputs, tools, or destinations.

05
Cascading Failures

Repeated or dependent agent actions amplify an initial error across services.

06
Insufficient Auditability

Missing execution records make it difficult to reconstruct decisions and outcomes.

8.5 Threats and Engineering Controls

Threat Potential Impact Recommended Control
Prompt injection Unauthorized action requests or manipulated conclusions Treat retrieved content as untrusted; restrict tool capabilities and enforce independent authorization
Privilege escalation Access to resources outside the intended task scope Least-privilege identities, resource-scoped policies, and server-side checks
Unsafe tool execution Unintended infrastructure changes or service disruption Typed tool contracts, argument validation, approval gates, and trusted execution adapters
Sensitive data leakage Exposure of credentials, internal records, or protected business information Data minimization, access controls, output filtering, and destination restrictions
Runaway execution Excessive tool calls, cost escalation, or repeated external effects Timeouts, execution budgets, bounded retries, and cancellation controls
Unverified remediation Incorrect assumptions about production state Independent post-action verification, evidence capture, and escalation
Missing audit trail Inability to investigate incidents or establish accountability Correlated workflow logs, immutable or tamper-evident records, and retention policy

8.6 Governance Is More Than Model Safety

Enterprise AI governance must address the entire application lifecycle: design, testing, deployment, operation, and retirement.

Teams should define acceptable use cases, data classifications, autonomy limits, evaluation requirements, service ownership, and incident-response procedures.

Governance also requires accountability. If an agent initiates a tool request, the organization must be able to determine which application, user context, policy, and service identity were involved.

01
Design Review

Define intended tasks, permitted capabilities, trust boundaries, and risk classification.

02
Pre-Deployment Evaluation

Test agent behavior, tool boundaries, prompt-injection resistance, and failure scenarios.

03
Production Monitoring

Monitor task outcomes, tool requests, policy denials, unusual activity, and resource consumption.

04
Incident Response

Support containment, execution cancellation, credential revocation, investigation, and recovery.

8.7 Security Scenario: A Manipulated Network Investigation

Consider an AI network investigation agent assigned to diagnose intermittent connectivity between two application environments.

The agent retrieves operational notes from an internal document repository. One document contains malicious instructions disguised as troubleshooting guidance, attempting to persuade the agent to export internal network configuration information.

Engineering Scenario / Untrusted Diagnostic Content
Preventing an Agent from Crossing Its Authorized Security Boundary
01
Threat Entry

The agent encounters attacker-controlled text embedded in a retrieved document. The text attempts to redirect the investigation toward unauthorized data export.

02
Security Boundary

The application treats the document as untrusted data. Tool adapters enforce read-only access and reject unauthorized external destinations or unsupported operations.

03
Controlled Outcome

The agent continues within its permitted diagnostic scope or escalates when necessary. Suspicious requests and policy denials are recorded for investigation.

The important architectural lesson is that a model may still be influenced by malicious content. Security should not depend on the model always recognizing an injection attempt.

Instead, the surrounding application must ensure that unauthorized requests cannot be executed, even when the model proposes them.

8.8 Observability and Incident Investigation

Agentic systems require observability at both infrastructure and application levels. CPU, memory, and API availability metrics are necessary but insufficient.

Engineers should also record workflow identifiers, agent and model versions, tool requests, policy decisions, execution results, and relevant evidence references.

Sensitive prompts, retrieved documents, and tool outputs should not automatically be logged in full. Audit design must balance investigative usefulness with privacy, data minimization, and retention requirements.

8.9 Managing Operational Risk Over Time

Agent behavior can change when models, instructions, tools, or supporting services are updated. These changes should be evaluated before production rollout.

A controlled deployment process can include regression evaluations, staged releases, permission reviews, monitoring thresholds, and rollback procedures.

Organizations should also reassess whether an agent still needs its assigned capabilities. Permissions granted for an earlier workflow should not automatically remain available indefinitely.

Section 08 — Engineering Takeaway

Agentic AI changes the enterprise risk model because model-generated decisions can influence real systems. Production security requires defense-in-depth: authenticated identities, least-privilege tools, independent authorization, controlled execution, data protection, operational monitoring, and auditable outcomes. The objective is not to eliminate adaptive behavior, but to ensure that autonomy remains bounded by enforceable engineering controls.

Network Insight / Engineering Lab 08

Agent Trust Boundary & Approval Lab

Explore how untrusted content can influence an AI agent. Configure independent security controls, inject attacks, and observe whether a proposed action is blocked, escalated for approval or permitted.

AI Agent Trust Architecture

READY
UNTRUSTED INPUT ZONE
External Content Documents, APIs and tool responses
Attack Payload Untrusted instructions or requests
TRUST BOUNDARY / INPUT VALIDATION
CONTROLLED AGENT RUNTIME
AI Agent Interprets content and proposes actions
Policy Engine Independent authorisation controls
Approval Gateway Human authorisation for risky actions
Execution Gateway Controlled external action boundary
All attacks are simulated. No external tools, credentials, systems or network configurations are accessed or modified.

Security Control Configuration

Enabled Control Coverage 4 / 4
SECURITY DECISION EVENT

Select Simulate Attack to inspect the security boundary.

STATE: IDLE

Security Event & Decision Timeline

No security events recorded.

Engineering Insight

Security controls must operate independently of the language model's reasoning. Untrusted text must not gain authority simply because it appears in a retrieved document, tool response or agent context.

Section 09 / Engineering Decision Framework

Choosing the Right AI Architecture: An Engineering Decision Framework for Agents, Workflows, and Agentic Systems

The most effective AI architecture is not necessarily the most autonomous or complex. Engineers must evaluate task variability, decision requirements, execution risk, reliability, and operational cost before choosing between conventional automation, LLM applications, single agents, and orchestrated agentic systems.

The previous sections have established several important distinctions. An AI agent is a bounded application component capable of interpreting tasks and potentially selecting actions. Agentic behavior describes the degree to which a system can pursue objectives through adaptive decisions and feedback.

Neither concept automatically requires a multi-agent architecture. A single agent can behave agentically, while a system containing several AI components may still follow a fixed deterministic workflow.

The engineering challenge is to determine which capabilities are actually required and implement them with the smallest reasonable operational footprint.

Core principle: Architecture should follow task requirements. Introduce AI decision-making only where it provides measurable value, and increase autonomy only when the associated risks can be controlled.

9.1 Five Architectural Options

Enterprise engineers can evaluate five common architectural patterns. These patterns are not mutually exclusive: a production application may combine several of them.

Conceptual Architecture Selection Framework
Define the Engineering Task Objective, variability, risk, evidence, and required actions
How much contextual decision-making and execution coordination does the task require?
01
Deterministic Automation

Stable logic, explicit rules, repeatable execution

02
LLM Application

Interpretation, summarization, content generation

03
Single AI Agent

Bounded decisions and contextual tool selection

04
Managed Agentic Workflow

Durable stages, approvals, and controlled execution

05
Multi-Agent System

Multiple specialized decision-making components

These are architectural alternatives, not mandatory maturity stages. More components do not necessarily produce better outcomes.

9.2 Start with the Nature of the Task

Before selecting a technology, engineers should determine whether the task can be specified as a stable sequence of operations.

If the required behavior is predictable and can be implemented through conventional rules, deterministic automation is often the strongest option.

If the task primarily requires language understanding, document analysis, or content generation, a conventional LLM application may be sufficient.

Agentic capabilities become more relevant when the system must select among different possible actions based on changing evidence.

9.3 Six Engineering Selection Criteria

01
Task Variability

How often does the appropriate execution path change between requests or observations?

02
Decision Complexity

Does the task require contextual judgment that is difficult to encode completely?

03
Operational Risk

What happens if the system chooses an incorrect action or produces an incorrect conclusion?

04
Execution Duration

Does the process require durable state, checkpoints, approvals, or recovery after interruptions?

05
Integration Scope

How many systems, tools, and service boundaries must participate?

06
Measurable Value

Does added AI autonomy improve accuracy, task completion, time, or operational cost?

9.4 Architecture Selection Matrix

The following comparison provides a practical starting point for engineering design reviews. Actual suitability depends on implementation and task requirements.

Architecture Primary Strength Typical Limitation Suitable Example
Deterministic Automation Predictable execution and explicit control logic New scenarios may require additional programmed logic Configuration validation, scheduled checks, and threshold monitoring
LLM Application Natural-language interpretation and generation Does not inherently manage autonomous multi-step execution Incident summarization, documentation analysis, and knowledge assistance
Single AI Agent Contextual decisions and bounded tool use Complex coordination may exceed a simple execution model Focused network troubleshooting investigation
Managed Agentic Workflow Explicit orchestration, durable state, and governance Greater implementation and operational complexity Incident investigation through approval, remediation, and verification
Multi-Agent System Specialized components can address distinct subtasks or domains Coordination overhead, inconsistent outputs, and difficult debugging Complex investigations requiring specialized security, network, and application analysis

9.5 Why More Autonomy Is Not Always Better

Increasing autonomy may reduce the need for human intervention, but it also increases the importance of authorization, monitoring, evaluation, and recovery.

An agent that can select read-only diagnostic queries presents a different risk profile from an agent authorized to deploy production configuration.

Engineers should therefore increase autonomy incrementally, validating the behavior of each additional capability before granting broader execution authority.

9.6 Network Engineering Case Study

Consider an organization that wants to improve its response to intermittent BGP connectivity incidents.

The initial requirement is to collect routing state and summarize likely causes. Later, the organization may want adaptive investigation and controlled remediation.

Engineering Scenario / Evolution of a Network Diagnostic Service
Selecting Architecture Based on Actual Requirements
01
Initial Requirement

Collect BGP neighbor state, route tables, and configured policy information. Deterministic APIs and structured reporting may be sufficient.

02
Adaptive Investigation

Introduce a bounded agent that selects diagnostic queries based on observed routing evidence. Keep all tool access read-only and authorized.

03
Enterprise Workflow

Add durable incident records, approval gates, controlled remediation, and independent post-change verification.

The architecture evolves because the requirements change, not because the organization must progress through predefined AI maturity stages.

Even at the most advanced stage, deterministic services remain responsible for trusted execution, authorization, and state verification.

9.7 Architecture Design Checklist

Before implementing an AI agent or agentic workflow, engineers should be able to answer the following design questions.

✓
Define the Objective

Is the intended task and successful outcome clearly specified?

✓
Justify Adaptive Decisions

Is AI-based action selection necessary or measurably useful?

✓
Define Tool Boundaries

Are available tools, permissions, and resource scopes explicit?

✓
Separate Decision and Execution

Does trusted software validate and authorize external operations?

✓
Plan Failure Recovery

Are timeouts, retries, checkpoints, and escalation paths defined?

✓
Establish Observability

Can engineers reconstruct tool requests, policy decisions, and outcomes?

✓
Evaluate Security Risk

Are untrusted content, sensitive data, and privilege boundaries addressed?

✓
Measure Results

Are quality, latency, cost, and task completion evaluated against a simpler baseline?

9.8 The Future of Enterprise Agentic AI

As agentic AI capabilities develop, enterprise systems are likely to support increasingly sophisticated task execution and integration patterns.

However, the fundamental engineering requirements remain familiar: clear interfaces, bounded authority, reliable services, secure identities, observable execution, and recoverable failures.

The most successful architectures will combine the adaptability of AI decision-making with the predictability and assurance of conventional software.

Final Engineering Conclusion

The Right Architecture Is the One That Solves the Problem Reliably

AI agents and agentic AI are related but distinct concepts. An agent is an application component that can interpret tasks and potentially select actions. Agentic behavior describes how a system pursues objectives through delegated decisions, observations, and adaptation.

Neither requires unrestricted autonomy or a large multi-agent platform. Enterprise engineering is about selecting the appropriate level of intelligence, coordination, and execution authority for each task.

Design for the outcome. Delegate decisions carefully. Keep execution controlled. Verify everything that matters.

Network Insight / Engineering Lab 09

Agent Failure Diagnosis Lab

An autonomous network troubleshooting agent has failed. Investigate distributed traces, inspect diagnostic evidence and identify the root cause before submitting your diagnosis. Can you distinguish the symptom from the actual failure?

Incident Investigation

Select a new incident to begin.

Distributed Execution Trace

INVESTIGATING
0 ms500 1,0001,500 2,000+
Processing Slow Error Complete
All traces, timings and logs are simulated. No live infrastructure is connected.

Investigation Toolkit

Select an investigation check to reveal evidence.

0 Case Score
0/4 Checks Used
0 Cases Solved

Engineering Insight

Production agentic systems need observability across model calls, retrieval, tools, runtime policy and external services. A successful investigation correlates trace spans, structured logs and dependency evidence before identifying the failure domain. The final diagnosis should be supported by evidence, not inferred from a single error message.

☕
Support Network Insight
Help support the development of interactive networking labs, BGP simulations, and educational content.
Support the Project
Agentic AI Architecture Blueprint

Agentic AI Architecture

Network Insight / Agentic AI Engineering

Agentic AI Architecture Explained: How Intelligent Agents Plan, Communicate, and Execute Tasks

Artificial intelligence is evolving from systems that simply generate answers into applications capable of coordinating multi-step workflows, selecting tools, retrieving information, and taking actions within defined operational boundaries.

This architectural shift changes how AI applications are designed, deployed, secured, and operated. Instead of relying on a single model invocation, agentic systems combine language models with orchestration software, external services, memory, APIs, and execution environments.

For network and infrastructure engineers, agentic AI introduces familiar distributed systems challenges: service communication, authentication, authorization, latency, retries, timeouts, state management, observability, and failure recovery.

Introduction / Understanding Agentic AI

From Generating Responses to Executing Workflows

Traditional language-model applications generally follow a straightforward interaction: a user submits a prompt, the model processes the available context, and the application returns a generated response.

Agentic AI extends this interaction by introducing a control loop in which the system can determine intermediate actions, interact with authorized external tools, observe results, and decide what to do next.

The language model may help select an action, but the surrounding agent runtime is responsible for executing tool calls, managing application state, enforcing permissions, and determining when the workflow should stop.

CONVENTIONAL LLM
Prompt → Response

The application provides instructions and context to a language model. The model produces an output, typically without independently executing external actions.

AGENTIC SYSTEM
Goal → Actions → Outcome

The application coordinates planning, tool selection, execution, observation, and potentially repeated decisions until a stopping condition is reached.

Agentic AI is therefore not simply a more powerful language model. It is an application architecture in which models interact with software systems to accomplish defined tasks.

Introduction / Execution Architecture

Inside an AI Agent Execution Cycle

Consider an AI agent assigned to investigate an application performance incident.

The agent may inspect monitoring metrics, query logs, retrieve documentation, compare infrastructure changes, and produce a diagnosis.

Each interaction may require a network request, authentication, authorization, execution time, and error handling.

Conceptual AI Agent Execution Lifecycle
01
Goal Receive task and constraints
02
Reason Select the next action
03
Tool Call Invoke an authorized service
04
Observe Interpret the tool response
05
Evaluate Continue, stop, or request approval
↻ Reason → Act → Observe → Evaluate

The agent may repeat this cycle several times before completing its objective. However, not every agentic implementation uses the same execution model.

Some systems follow predefined workflows, while others dynamically select tools and determine subsequent actions based on intermediate results.

Engineering Principle

Agentic AI combines model inference, application orchestration, state management, external integrations, and policy enforcement. The model proposes or generates actions; the application controls their execution.

Introduction / Architectural Components

Six Core Building Blocks of Agentic AI

Production agentic applications typically depend on several cooperating components. Understanding their responsibilities is essential for designing secure and reliable AI workflows.

01 / MODEL
Language Model

Interprets context, generates responses, and may propose actions or tool calls.

02 / CONTROL
Agent Runtime

Coordinates execution, manages state, validates actions, and enforces stopping conditions.

03 / INTEGRATION
Tools and MCP

Connects agents to external APIs, services, databases, and other capabilities.

04 / CONTEXT
Memory and Retrieval

Provides relevant documents, persistent information, and retrieved knowledge.

05 / COORDINATION
Multi-Agent Systems

Coordinates specialized agents, task delegation, shared state, and workflow dependencies.

06 / GOVERNANCE
Security and Observability

Enforces permissions, monitors execution, records traces, and supports incident investigation.

Introduction / Distributed Systems Perspective

Why Agentic AI Matters to Network Engineers

An agentic application may appear to users as a single intelligent assistant, but its internal execution can involve many distributed components.

A single request may generate multiple model invocations, API calls, database queries, retrieval operations, and external service interactions.

These interactions introduce network latency, service dependencies, authentication requirements, partial failures, retries, timeouts, and consistency challenges.

Engineers must understand not only whether an agent reaches its intended result, but also how the workflow behaves when a tool fails, a service becomes unavailable, or an action is rejected by security policy.

Network Insight Engineering Focus

This learning journey approaches Agentic AI as a distributed application architecture. We will explore communication paths, orchestration decisions, tool protocols, security boundaries, execution traces, and realistic troubleshooting scenarios.

Introduction / Learning Objectives

What This Agentic AI Learning Journey Covers

Across nine sections, we will progressively examine how AI agents are constructed, how they communicate, how they maintain context, and how multiple agents coordinate complex tasks.

We will also investigate the security and operational challenges introduced by tool execution, delegated actions, external services, and autonomous workflows.

Each editorial section will be accompanied by an interactive engineering widget, allowing readers to explore agent architecture, execution behavior, and failure investigation.

The objective is to move beyond introductory AI concepts and develop a practical understanding of how agentic systems are designed, secured, observed, and troubleshot in production environments.

Network Insight / Agentic AI Architecture Next: Section 01 — Agentic AI Fundamentals
01 Agentic AI Architecture / Section One

Agentic AI Fundamentals: What Makes an AI System an Agent?

An AI agent is a software system that can pursue a defined objective by interpreting information, selecting actions, interacting with its environment, and evaluating the results. Understanding this execution model is the foundation of agentic AI architecture.

01.1 / Defining an AI Agent

What Is an AI Agent?

An AI agent is an application that uses artificial intelligence to make decisions or select actions in pursuit of a defined objective. In modern language-model-based systems, the model often interprets context and proposes the next step, while an application runtime manages execution.

Unlike a conventional prompt-response interaction, an agent can participate in a multi-step process. It may retrieve information, invoke an API, inspect a result, update its working context, and select another action.

The key characteristic is not unrestricted autonomy. It is the ability to select or coordinate actions within a defined environment and set of operating constraints.

Engineering Definition

An agentic system combines a decision-making component, execution logic, environmental inputs, and controlled actions. Its level of autonomy depends on the permissions, workflow design, and policy boundaries established by the application.

01.2 / Core Agent Capabilities

Six Capabilities That Enable Agentic Behavior

Agentic systems are constructed from cooperating capabilities. Not every implementation requires every capability, but these six provide a useful architectural model.

01 / OBJECTIVE
Goal Interpretation

Understand the requested outcome, operating context, and constraints that define successful completion.

02 / DECISION
Planning and Reasoning

Determine a next action or sequence of steps using the information currently available.

03 / EXECUTION
Tool Interaction

Use authorized functions, APIs, databases, or services to retrieve information or perform actions.

04 / CONTEXT
State and Memory

Maintain working context, execution history, and relevant information across workflow steps.

05 / FEEDBACK
Observation

Interpret tool responses, environmental changes, errors, and intermediate execution outcomes.

06 / CONTROL
Bounded Autonomy

Operate within explicit permissions, resource limits, approval rules, and stopping conditions.

These capabilities work together. A system that can reason about a task but cannot execute external actions has a different operational model from one that can modify infrastructure, create records, or invoke production APIs.

01.3 / Agent Execution Lifecycle

The Agent Loop: Reason, Act, Observe, Evaluate

Many agentic applications use an iterative execution loop. Rather than producing one final answer immediately, the agent determines an action, executes it through the application runtime, and evaluates the resulting information.

Reference Agent Execution Cycle
01
Goal Task and constraints
02
Reason Choose next operation
03
Act Execute an authorized tool
04
Observe Process result or failure
05
Evaluate Continue, stop, or escalate
↻ Repeat while additional authorized work is required

The runtime may invoke the model multiple times during this process. Each model invocation can receive an updated context containing previous actions, tool results, and execution state.

A successful workflow requires clear stopping conditions. These may include task completion, an iteration limit, a timeout, an unrecoverable error, or a requirement for human approval.

Important Design Constraint

An agent loop must not assume that every tool call succeeds or that repeating an action is always safe. Retrying a read-only query is different from repeating a payment, deletion, or configuration change.

01.4 / Comparing System Types

Automation vs LLM Applications vs Agentic AI

Agentic AI is often described as the next stage of automation, but the distinction is more precise when viewed through the control model.

Capability Traditional Automation LLM Application Agentic AI
Primary control Predefined program logic Application prompt flow Runtime plus model-driven decisions
Task execution Specified sequence Usually generates an output Can coordinate multiple actions
Tool selection Hardcoded or rule-based Application-dependent May be selected dynamically
Feedback handling Explicit branches and rules Often a single response May adapt after observations
State management Application-defined Prompt and session context Execution state, context, and memory
Operational risk Known programmed actions Primarily output-related Outputs plus external action effects

These categories are not mutually exclusive. An agentic application may use deterministic workflows for sensitive operations while allowing model-driven decisions for investigation, information retrieval, or task planning.

01.5 / Autonomy and Control

Autonomy Does Not Mean Unlimited Authority

An important architectural principle is the separation between an agent's ability to propose an action and its authority to execute it.

For example, an agent may identify that restarting a service could resolve an incident. However, the application may require approval before allowing that restart.

The runtime can enforce restrictions through tool allowlists, scoped credentials, policy checks, execution budgets, approval workflows, and audit logging.

BOUNDARY / 01
Read-Only Access

The agent may query logs, metrics, and configuration without modifying production systems.

BOUNDARY / 02
Approved Actions

Sensitive operations require explicit authorization or human confirmation before execution.

BOUNDARY / 03
Execution Limits

Timeouts, token budgets, tool quotas, and iteration limits prevent uncontrolled execution.

Security Principle

A model-generated tool request should be treated as an untrusted proposal until the application validates its parameters, permissions, and execution context.

01.6 / State and Memory

Why Agent State Matters

Multi-step agent execution requires the system to retain information about previous actions and observations. Without this state, the application may repeat work, lose context, or make inconsistent decisions.

Working state may contain the current objective, completed steps, tool results, pending actions, errors, and execution metadata.

Longer-lived memory is a separate concern. It may include user preferences, retrieved documents, prior workflow outcomes, or information stored in external databases.

Engineers should distinguish transient execution state from persistent application memory. They have different retention, consistency, security, and recovery requirements.

01.7 / Engineering Example

Example: An AI Agent Investigates a Network Incident

Consider a network operations agent receiving the following objective:

Incident Objective

Investigate why application traffic between two services is experiencing increased latency. Identify the likely cause without modifying production network configuration.

A controlled agent might follow this execution sequence:

Step 01 — Collect Telemetry

Query monitoring APIs for latency, interface utilization, packet drops, and error counters.

Step 02 — Inspect Network Paths

Retrieve topology information and compare the expected path with observed forwarding behavior.

Step 03 — Correlate Events

Examine configuration changes, interface events, and relevant service logs.

Step 04 — Evaluate Evidence

Compare possible causes such as congestion, packet loss, routing changes, or service overload.

Step 05 — Produce Findings

Return an evidence-based diagnosis, identify uncertainty, and recommend appropriate next steps.

In this example, the agent is permitted to investigate but not to make configuration changes. Any proposed remediation would be presented for review.

The investigation may involve several independent services. A failed monitoring API call should not automatically be interpreted as a network fault. The agent must distinguish missing evidence from evidence of failure.

01.8 / Operational Considerations

Engineering Challenges in Agentic Systems

Agentic AI introduces operational complexity because execution paths may vary depending on model decisions, external responses, and changing application state.

Engineers must consider how to observe the complete execution journey, enforce consistent policies, recover from partial failures, and control costs.

RELIABILITY
Tool Failures

Handle unavailable services, invalid responses, timeouts, and safe retries.

SECURITY
Permission Boundaries

Prevent unauthorized actions and enforce least-privilege access to tools.

OBSERVABILITY
Execution Tracing

Record model invocations, tool requests, decisions, errors, and latency.

PERFORMANCE
Latency and Cost

Monitor execution time, model usage, tool overhead, and resource budgets.

CORRECTNESS
Result Validation

Verify important outputs against authoritative evidence and application rules.

RECOVERY
State Consistency

Preserve workflow progress and avoid unintended duplicate side effects.

01.9 / Section Summary

Understanding the Agentic Execution Model

An AI agent is best understood as a controlled software system capable of selecting or coordinating actions toward a defined objective.

The language model may provide reasoning and tool selection, but the application runtime remains responsible for execution, authorization, state management, and operational control.

This distinction becomes increasingly important as agents interact with distributed services, production APIs, shared memory, and other agents.

Key Engineering Takeaway

Agentic AI is an execution architecture, not simply a conversational interface. Its reliability depends on how decisions, tool calls, permissions, state, and failures are managed across the complete workflow.

Network Insight / Agentic AI Fundamentals Next: Section 02 — AI Agent Architecture
NETWORK INSIGHT · INTERACTIVE LAB 01

Inside an Agentic AI System

Traditional AI generates a response. An AI agent can plan, select tools, take permitted actions, inspect results and adapt its next step.

Ready — select an objective and run the agent.

Agent reasoning and action cycle

01
PlanDecompose goal
02
SelectChoose tool
03
ActExecute
04
ObserveInspect result
05
EvaluateDecide next
TRADITIONAL AI · RESPONSE ONLY

What a conventional assistant might do

AGENTIC AI · MULTI-STEP WORKFLOW

What the agent is doing

Awaiting execution.
AGENT ACTIVITY TRACE 0 events
[READY] Simulation initialized.
Engineering insight

Agentic AI is not simply a longer chatbot response. Its defining architectural capability is a controlled feedback loop between decisions, tool calls, observations and subsequent actions.

NETWORK INSIGHT · AGENTIC AI FUNDAMENTALS Educational simulation · No real systems accessed
02 Agentic AI Architecture / Section Two

AI Agent Architecture: Models, Runtimes, Tools, and Execution Environments

An AI agent is not a single software component. It is a coordinated application architecture that combines model inference, execution control, tool integrations, context management, and security boundaries.

02.1 / Architecture Overview

The Internal Architecture of an AI Agent

A production AI agent typically consists of several cooperating components. The language model interprets context and may propose actions, while an agent runtime coordinates the execution lifecycle.

External tools provide access to APIs, databases, search services, files, and other capabilities. Supporting systems manage state, memory, policy, and observability.

Reference Agent Architecture
AI
Language Model Reasoning, interpretation, tool selection, and response generation
RT
Agent Runtime Workflow control, context assembly, tool dispatch, state management, and stopping conditions
API
Tools and Services APIs, databases, retrieval systems, applications, and external environments
Context and Memory Working state and retrieved information
Security and Policy Authorization and action boundaries
Observability Execution traces, metrics, and audit events
Conceptual architecture. Supporting components may be embedded in the runtime or deployed as separate services.

The runtime is the central control component. It determines which information is supplied to the model, how model-generated tool requests are validated, and how execution continues after a tool responds.

Architectural Principle

The language model does not automatically possess access to infrastructure or APIs. Tool capabilities are exposed by the application, and execution must be controlled by the runtime.

02.2 / Language Model Layer

The Model as a Decision-Making Component

The language model processes the context supplied by the application and generates an output. Depending on the system, this output may be a final response, a structured action, or a request to invoke a tool.

Model context can include system instructions, the user's objective, previous messages, retrieved documents, tool descriptions, and earlier execution results.

The model may identify that additional information is required and propose an appropriate tool call. However, the runtime must determine whether the proposed action is valid and authorized.

MODEL / 01
Context Interpretation

Understand instructions, task requirements, and available environmental information.

MODEL / 02
Action Selection

Propose a tool or intermediate operation based on current context.

MODEL / 03
Response Generation

Produce structured outputs, summaries, explanations, or final task results.

Model outputs should not be treated as inherently correct or authoritative. Applications may require schema validation, policy checks, and independent verification before taking consequential actions.

02.3 / Agent Runtime

The Runtime as the Execution Control Plane

The agent runtime manages the operational lifecycle of the agent. It receives objectives, assembles model context, processes model responses, dispatches authorized tool calls, and determines whether execution should continue.

This component is analogous to a control plane because it coordinates decisions and execution policy. However, the term is conceptual rather than a standardized networking architecture.

RUNTIME / 01
Workflow Coordination

Maintains task progress and determines the next execution step.

RUNTIME / 02
Tool Dispatch

Validates and invokes permitted functions and external services.

RUNTIME / 03
State Management

Records intermediate results, errors, execution metadata, and pending operations.

RUNTIME / 04
Failure Handling

Applies timeout, retry, fallback, and escalation policies.

RUNTIME / 05
Execution Budgets

Enforces limits on model calls, tool operations, time, and cost.

RUNTIME / 06
Human Approval

Pauses sensitive operations until an authorized user approves them.

02.4 / Tool Integration

Connecting Agents to External Capabilities

Tools allow an agentic application to interact with systems outside the language model. Examples include monitoring APIs, database queries, document retrieval, ticketing platforms, and infrastructure management interfaces.

A tool typically exposes a defined operation with structured inputs and outputs. The runtime validates arguments, applies authorization checks, and invokes the underlying implementation.

Tools may be implemented as local functions, remote APIs, or capabilities exposed through protocols such as the Model Context Protocol (MCP).

Tool Execution Boundary

Tool descriptions tell the model what capabilities are available. They do not replace server-side authentication, parameter validation, authorization, or audit logging.

02.5 / Context Assembly

How Context Reaches the Language Model

A language model processes the context supplied during an invocation. It does not automatically possess the complete execution history or all information stored by the application.

The runtime must decide which information is relevant and assemble it into the model request.

Context may include the current objective, task instructions, recent conversation history, tool outputs, retrieved documents, and selected persistent memory.

Context windows impose practical limits on the amount of information that can be supplied. Applications may use summarization, retrieval, and selective history management to preserve relevant information.

Context Engineering Risk

Retrieved documents and tool responses may contain inaccurate or malicious instructions. Applications should distinguish trusted control instructions from untrusted external content.

02.6 / Execution Trace

Following a Tool Call Through the Architecture

Consider an agent investigating elevated interface utilization on a network switch.

The runtime provides the model with the investigation objective and available read-only monitoring tools.

The model proposes a telemetry query. The runtime validates the request, executes the tool, records the result, and supplies relevant information to the next model invocation.

Illustrative Agent Execution Trace
00:00.000 TASK_START Investigate elevated interface utilization
00:00.120 MODEL_CALL Context assembled; available tools supplied
00:00.840 TOOL_REQUEST get_interface_metrics(device="leaf-01")
00:00.850 POLICY_CHECK Read-only telemetry access permitted
00:01.240 TOOL_RESULT Interface utilization 92%; discards increasing
00:01.360 MODEL_CALL Evaluate telemetry and select next investigation

This trace illustrates an important architectural distinction: model inference, tool execution, and policy enforcement are separate operations.

A production trace should also record correlation identifiers, execution durations, tool status, and relevant error information, while avoiding unnecessary exposure of sensitive data.

02.7 / Deployment Architecture

Where Agent Components Run

Agentic applications may be deployed as a single service or distributed across multiple infrastructure components.

The runtime may operate in a containerized application, while model inference runs on a remote AI platform or a self-hosted GPU cluster.

Tools may connect to internal APIs, databases, SaaS services, or isolated execution environments.

Component Typical Deployment Engineering Consideration
Agent Runtime Application service or container State, scaling, execution control
Language Model Hosted API or GPU inference service Latency, capacity, data handling
Tool Services Local functions or remote APIs Authentication, timeouts, reliability
Memory Store Database or retrieval platform Consistency, retention, access control
Execution Sandbox Restricted process or isolated environment Resource limits, isolation, permissions
Observability Logging, tracing, and monitoring systems Correlation, auditability, sensitive data

Deployment decisions influence latency, operational complexity, failure domains, and security exposure. An agent with access to sensitive infrastructure should not automatically inherit unrestricted network connectivity or privileged credentials.

02.8 / Reliability and Security

Engineering a Production-Ready Agent Runtime

A production runtime must account for failures that occur outside the language model itself.

A tool may time out, a remote API may return an invalid response, a credential may expire, or a workflow may be interrupted after completing only part of its intended work.

RELIABILITY
Timeouts and Retries

Bound tool execution time and retry only when operations can be repeated safely.

SECURITY
Least Privilege

Scope credentials and tool permissions to the minimum required capabilities.

STATE
Durable Execution

Preserve critical workflow progress and support controlled recovery.

OBSERVABILITY
Distributed Tracing

Correlate model calls, tool requests, service responses, and policy decisions.

CONTROL
Approval Gates

Require explicit authorization before sensitive or irreversible actions.

VALIDATION
Structured Outputs

Validate schemas, parameters, and critical results before downstream use.

Production Engineering Principle

The agent runtime is a security and reliability boundary. It must not assume that model outputs, tool responses, or external content are inherently trustworthy.

02.9 / Section Summary

Understanding the Agent Architecture

An AI agent combines multiple software components into a coordinated execution environment.

The language model interprets context and may propose actions. The runtime manages execution, dispatches tools, enforces policy, and maintains workflow state.

Supporting components provide memory, retrieval, security, and observability. Together, they form a distributed application architecture with familiar networking and operational challenges.

Key Engineering Takeaway

Designing an agentic application requires separating model decisions from execution authority. Reliable systems validate actions, control tool access, preserve state, and observe the complete execution lifecycle.

Network Insight / AI Agent Architecture Next: Section 03 — Planning and Reasoning Loops
NETWORK INSIGHT · INTERACTIVE LAB 02

AI Agent Architecture Builder

Explore the components of an intelligent agent. Configure its capabilities, inspect its architecture, and simulate how the agent processes an engineering objective.

USER OBJECTIVE Diagnose a BGP routing failure
AI
Agent Reasoning Engine LLM · planning · decisions · orchestration
M
Memory Context and state
T
Tools APIs and commands
G
Guardrails Permissions and policy
Execution Environment Simulated network, cloud and security systems

Configure Agent Capabilities

Enable or disable components to see how the architecture changes.

Select an architecture component

Click Memory, Tools or Guardrails to inspect its responsibilities and how it contributes to agent execution.

Ready — configure the architecture and run.

Architecture Assessment

All three components are enabled.

Agent Execution

Awaiting simulation.
ARCHITECTURE EXECUTION TRACE
Engineering insight

An LLM alone is not a complete operational agent. Agent architecture combines a reasoning model with context management, tool interfaces, execution controls and feedback from the environment.

NETWORK INSIGHT · AGENTIC AI ARCHITECTURE Educational simulation · No live APIs
03 Agentic AI Architecture / Section Three

Planning and Reasoning Loops: How AI Agents Decide What to Do Next

Agentic AI systems can coordinate multi-step tasks by selecting actions, observing results, and adapting subsequent execution. Understanding how planning and reasoning loops operate is essential for building reliable, controlled, and observable AI agents.

03.1 / Planning Fundamentals

What Does Planning Mean in Agentic AI?

Planning is the process of determining how an objective can be achieved through one or more actions. In agentic systems, a language model may propose a sequence of steps or select the next operation based on the current context.

Planning does not necessarily require the model to generate a complete workflow before execution. Some agents operate incrementally, deciding one step at a time as new information becomes available.

Other architectures construct an explicit plan, execute individual tasks, and revise the plan when observations reveal unexpected conditions.

Engineering Definition

Agent planning is the coordination of actions toward a defined objective. The plan may be predefined, model-generated, dynamically revised, or a combination of these approaches.

03.2 / Iterative Reasoning

The Reason–Act–Observe–Evaluate Loop

Many agentic systems use an iterative control loop. The application supplies the model with relevant context, the model proposes an action, and the runtime executes the action through an authorized tool.

The tool result becomes an observation that informs the next decision. The runtime evaluates whether the objective has been achieved or additional execution is required.

Conceptual Agent Decision Loop
01
Objective Task, context, and constraints
02
Reason Select next operation
03
Act Execute authorized tool call
04
Observe Interpret response or failure
05
Evaluate Continue, stop, or escalate
↻ The loop continues only while further authorized work is required

This architecture allows an agent to adapt to changing information. However, each additional model invocation and tool call introduces latency, cost, and potential failure conditions.

03.3 / ReAct Pattern

Reasoning and Acting as an Execution Pattern

ReAct is a well-known approach that interleaves reasoning-oriented decisions with actions and observations.

Rather than generating a complete answer from the initial context, the agent can request information from external tools and incorporate the returned evidence into subsequent decisions.

For example, an agent investigating a failed application deployment might first query service health, then inspect recent deployment events, and finally examine relevant logs.

Each observation changes the available evidence and may influence the next selected action.

Implementation Detail

ReAct is an execution pattern, not a requirement to expose private model reasoning. Production systems can record structured decisions, tool calls, observations, and outcomes without storing hidden reasoning traces.

03.4 / Planning Strategies

Comparing Common Agent Planning Approaches

Different tasks benefit from different planning strategies. The appropriate approach depends on task complexity, predictability, latency requirements, and operational risk.

Strategy Execution Model Best Suited For Tradeoff
Single-Step Select and execute one operation Simple tool requests Limited adaptability
Iterative ReAct Decide after each observation Investigations and exploration Repeated model latency
Plan-and-Execute Generate plan, then execute tasks Structured multi-step workflows Plan may become outdated
Task Graph Execute dependency-aware tasks Complex workflows with parallel stages Coordination complexity
Hierarchical Delegate subtasks to specialized components Large or specialized tasks Additional orchestration overhead

Many production systems combine these strategies. A deterministic workflow may coordinate high-level execution while model-driven agents handle selected investigative subtasks.

03.5 / Task Decomposition

Breaking Complex Objectives into Smaller Tasks

Complex objectives often contain multiple independent or dependent operations. Task decomposition divides the objective into manageable steps.

Consider an agent assigned to investigate increased application latency in a data centre.

The investigation may require network telemetry, application metrics, and infrastructure change records. These activities can potentially execute in parallel if their dependencies and access policies permit it.

Example Task Decomposition
Investigate Application Latency
Network Investigation Interface utilization, packet loss, routing changes
Application Investigation Request latency, service health, error rates
Change Investigation Recent deployments, configuration changes, event history
Independent evidence-gathering tasks may run concurrently; results are correlated before forming a diagnosis.

Decomposition improves clarity and can enable parallel execution. However, the runtime must understand dependencies, coordinate results, and prevent conflicting actions.

03.6 / Reflection and Evaluation

How Agents Evaluate Intermediate Results

An agent should not assume that every action moves the workflow closer to its objective. Tool responses may be incomplete, inaccurate, stale, or unrelated to the problem.

Evaluation involves determining whether the available evidence supports the current conclusion and whether additional investigation is necessary.

EVALUATE / 01
Evidence Quality

Check whether observations are relevant, current, and sufficiently trustworthy.

EVALUATE / 02
Goal Progress

Determine which task requirements have been completed and what remains.

EVALUATE / 03
Plan Revision

Update the execution plan when observations invalidate earlier assumptions.

Evaluation may be performed by application rules, model-based assessment, external validators, or a combination of these methods.

For consequential operations, independent validation is preferable to relying solely on the same model that generated the proposed result.

03.7 / Execution Trace

Example: An Agent Investigates a Network Performance Incident

The following illustrative trace demonstrates how an agent may adapt its investigation after receiving new evidence.

Illustrative Agent Planning and Execution Trace
00:00.000 GOAL Investigate elevated application latency
00:00.420 PLAN Collect network and application telemetry
00:00.910 TOOL_CALL get_interface_metrics(device="spine-02")
00:01.280 OBSERVE Utilization 94%; output discards increasing
00:01.690 REPLAN Investigate congestion and queue behavior
00:02.170 TOOL_CALL get_queue_metrics(device="spine-02")
00:02.650 OBSERVE Queue occupancy elevated; packet drops confirmed
00:03.200 EVALUATE Congestion supported; correlate with application timing

The agent initially collected broad telemetry. After observing high utilization and discards, it narrowed the investigation toward queue behavior and congestion.

The observations support a congestion hypothesis, but further correlation is required before establishing the root cause of application latency.

03.8 / Termination and Recovery

When Should an Agent Stop or Replan?

An agentic workflow requires explicit termination conditions. Without them, the system may repeatedly invoke tools, consume resources, or continue attempting an impossible task.

STOP / 01
Goal Completed

Required outputs have been produced and validated against completion criteria.

STOP / 02
Execution Budget

Time, model calls, token usage, or tool limits have been reached.

STOP / 03
Approval Required

A sensitive operation requires authorization before execution can continue.

RECOVER / 01
Tool Failure

Apply bounded retries, fallback operations, or error escalation.

RECOVER / 02
Invalid Assumption

Revise the plan when observations contradict previous evidence.

RECOVER / 03
Partial Completion

Preserve execution state and resume safely without duplicating side effects.

Production Safety Constraint

Replanning must not bypass authorization boundaries. A failed or denied action should not cause the agent to search for an alternative unauthorized execution path.

03.9 / Section Summary

Engineering Reliable Agent Planning Loops

Agent planning coordinates actions toward a defined objective. Some systems generate complete plans, while others select actions incrementally as new observations become available.

ReAct-style execution demonstrates how decisions, tool calls, and observations can form an iterative workflow.

More complex applications may use task graphs, hierarchical planning, parallel execution, and explicit evaluation stages.

Key Engineering Takeaway

A reliable agent planning architecture must coordinate decisions with execution policy, evidence validation, state management, failure recovery, and clear stopping conditions.

Network Insight / Planning and Reasoning Loops Next: Section 04 — Tool Calling and MCP
NETWORK INSIGHT · INTERACTIVE LAB 03

Agent Planning & Dynamic Replanning Lab

Watch an AI agent decompose an objective into dependent tasks, execute a plan, detect unexpected results and generate a recovery strategy.

◎
Restore network connectivity Goal-driven task decomposition and execution
5 Total tasks
0 Completed
0 Execution waves
0 Replanning events

Agent Task Execution Plan

SEQUENTIAL PLAN
Pending Running Complete Failed Recovery

Planner Decision Panel

The agent has received an objective. It must identify tasks, establish dependencies and select an execution strategy.
Planning principle
Independent tasks may execute concurrently. Dependent tasks must wait for prerequisite results.
Ready — execute the plan or inject a failure.
PLANNER EXECUTION & REPLANNING TRACE
Engineering insight

Agent planning is more than producing a checklist. A capable planner must respect dependencies, incorporate observations and revise its execution strategy when assumptions fail.

NETWORK INSIGHT · AGENTIC AI PLANNING Educational simulation · No real infrastructure accessed
04 Agentic AI Architecture / Section Four

Tool Calling and Model Context Protocol: How AI Agents Communicate with External Systems

Tool calling transforms a language model from a component that generates responses into part of an application capable of interacting with external systems. Model Context Protocol (MCP) provides a standardized approach for connecting AI applications to tools, resources, and prompts.

04.1 / Tool Calling Fundamentals

What Is Tool Calling in Agentic AI?

Tool calling allows a language-model application to request an operation from an external capability. The model may identify an appropriate tool and generate structured arguments for that operation.

The application runtime receives the proposed tool call, validates its parameters, applies authorization checks, and invokes the underlying implementation.

The tool result can then be returned to the model as additional context, allowing the agent to continue its workflow.

Fundamental Distinction

A model-generated tool call is a request, not proof that an action has executed. The application determines whether execution is permitted and whether the operation succeeds.

04.2 / Tool Architecture

How a Tool Request Moves Through an Agent

A typical tool execution involves several distinct components. The model proposes an operation, the runtime validates it, and a tool adapter invokes the target service.

Reference Tool Execution Architecture
AI
Language Model Proposes tool and arguments
RT
Agent Runtime Validates request and authorization
API
Tool Adapter Translates and dispatches operation
SYS
External Service Executes operation and returns result
Security boundary: validate inputs, enforce permissions, control network access, and record execution events
Responses return through the integration layer to the runtime. The runtime decides which results are supplied to the model.

This separation enables the application to enforce controls independently of the language model. It also creates clear observability points for tracing requests and diagnosing failures.

04.3 / Tool Definitions

Describing Capabilities with Structured Schemas

A tool definition describes an operation that the application makes available to the model. It commonly includes a name, description, and structured input schema.

Schemas help constrain the shape of model-generated arguments, but they do not eliminate the need for runtime validation.

Illustrative Tool Definition
{
  "name": "get_interface_metrics",
  "description": "Read network interface telemetry",
  "inputSchema": {
    "type": "object",
    "properties": {
      "device": {
        "type": "string"
      },
      "interface": {
        "type": "string"
      }
    },
    "required": ["device", "interface"]
  }
}

The model may propose a request using this tool, but the runtime must verify that the requested device and interface are within the caller's authorized scope.

The implementation must also validate input types, enforce limits, handle errors, and protect downstream systems from unsafe requests.

04.4 / Model Context Protocol

What Is MCP and Why Does It Matter?

Model Context Protocol is an open protocol designed to standardize how AI applications connect to external tools and contextual information.

Instead of implementing a completely different integration mechanism for every application, an MCP-compatible client can communicate with MCP servers through a common protocol model.

MCP supports capabilities such as tools, resources, and prompts. These capabilities serve different purposes and should not be treated as interchangeable.

MCP / TOOLS
Tools

Expose executable operations that an AI application may invoke through the MCP protocol.

MCP / RESOURCES
Resources

Expose contextual data that clients can discover and read through defined resource interfaces.

MCP / PROMPTS
Prompts

Provide reusable prompt templates and structured interaction patterns exposed by servers.

Protocol Perspective

MCP standardizes integration interfaces, not the complete behavior of an autonomous agent. Planning, policy enforcement, state management, and workflow control remain responsibilities of the host application and its runtime.

04.5 / MCP Architecture

Hosts, Clients, and Servers

MCP uses a host-client-server architecture. The host is the AI application that coordinates the user experience and integration environment.

An MCP client is a protocol component created by the host to communicate with a particular MCP server.

The MCP server exposes capabilities such as tools, resources, or prompts. A host can maintain connections to multiple MCP servers.

Component Responsibility Engineering Concern
MCP Host Coordinates AI application and integration access Trust boundaries, user approval, policy
MCP Client Maintains protocol communication with a server Session lifecycle, capabilities, transport
MCP Server Exposes tools, resources, and prompts Authentication, validation, backend access
Backend Service Performs underlying business or infrastructure operations Permissions, availability, side effects

An MCP server may run as a local process or as a remote service. Its placement affects authentication, network exposure, operational reliability, and deployment requirements.

04.6 / MCP Transport and Messaging

JSON-RPC, stdio, and Streamable HTTP

MCP uses JSON-RPC 2.0 as its message format. JSON-RPC defines structured requests, responses, and notifications.

Common MCP transports include standard input/output (stdio) for communication with local processes and Streamable HTTP for HTTP-based communication.

Transport selection affects the operational architecture. A local stdio server typically communicates through process streams, while a remote HTTP server introduces network connectivity, TLS, authentication, and service availability concerns.

Illustrative MCP JSON-RPC Tool Call
{
  "jsonrpc": "2.0",
  "id": 42,
  "method": "tools/call",
  "params": {
    "name": "get_interface_metrics",
    "arguments": {
      "device": "leaf-01",
      "interface": "Ethernet1"
    }
  }
}

This message represents a protocol request, not an HTTP request by itself. The transport determines how the JSON-RPC message is carried between client and server.

Protocol Version Consideration

MCP evolves through protocol revisions. Clients and servers should negotiate compatible protocol versions and supported capabilities. Implementations should follow the specification appropriate to their deployed versions rather than assuming all features are universally supported.

04.7 / Execution Journey

Example: An Agent Queries Network Telemetry Through MCP

Consider an AI operations agent investigating packet drops on a data centre switch.

The agent's runtime may use an MCP client to invoke a telemetry tool exposed by an MCP server.

Step 01 — Agent Requests Telemetry

The model proposes a tool call for interface metrics on a specified network device.

Step 02 — Runtime Validates Request

The host checks the tool name, argument schema, caller permissions, and execution policy.

Step 03 — MCP Client Sends Request

The client sends a JSON-RPC tools/call request through its configured transport.

Step 04 — MCP Server Executes Tool

The server validates access and invokes the underlying telemetry service.

Step 05 — Result Returns to Runtime

The response is processed, logged as appropriate, and supplied as context for subsequent agent execution.

The model does not directly establish the MCP connection or execute the remote telemetry operation. These responsibilities belong to the application and integration components.

04.8 / Security Architecture

Securing Tool Execution and MCP Integrations

Tool integrations introduce security boundaries between the AI application and external systems.

A model may generate a syntactically valid request that is inappropriate, unauthorized, or unsafe to execute.

The runtime and tool server must independently enforce the relevant security controls.

SECURITY / 01
Authentication

Establish the identity of callers and services using appropriate credentials.

SECURITY / 02
Authorization

Enforce access to permitted tools, resources, and backend operations.

SECURITY / 03
Input Validation

Validate schemas, resource identifiers, arguments, and execution limits.

SECURITY / 04
Network Isolation

Restrict server connectivity and prevent unnecessary access to internal services.

SECURITY / 05
Human Approval

Require authorization before sensitive or irreversible tool operations.

SECURITY / 06
Audit and Tracing

Record tool execution events, policy decisions, failures, and correlation identifiers.

Prompt Injection and Tool Trust

External tool results and retrieved resources may contain untrusted instructions. An agent should not treat external content as authority to bypass policies or invoke additional privileged tools.

04.9 / Section Summary

Tool Calling as a Distributed Communication Architecture

Tool calling allows AI applications to extend beyond text generation by invoking controlled external capabilities.

MCP provides standardized protocol interfaces through which AI applications can discover and interact with tools, resources, and prompts.

From a network engineering perspective, these integrations introduce communication paths, trust boundaries, service dependencies, transport considerations, and failure conditions.

Key Engineering Takeaway

MCP standardizes how capabilities are exposed and accessed, but it does not eliminate the need for application-level security, authorization, validation, observability, and reliable execution control.

Network Insight / Tool Calling and MCP Next: Section 05 — Agent Memory and RAG
NETWORK INSIGHT · INTERACTIVE LAB 04

Agent Tool Execution & API Lab

Explore how an AI agent selects a tool, constructs a structured request, executes an API call, interprets the response and decides what to do next.

⌘
Diagnose a BGP routing failure Agent reasoning → tool invocation → external observation
01
ReasonIdentify need
02
SelectChoose tool
03
InvokeAPI request
04
ObserveTool response
05
DecideNext action
AGENT TOOL CALL INSPECTOR IDLE
{
  "agent": "network-insight-agent",
  "status": "ready",
  "message": "Awaiting tool invocation"
}

Tool Permission Controls

Configure which operations the agent is allowed to request.

Read-only diagnostics are permitted. Remediation requires explicit authorization.
Ready — configure permissions and run.

Tool Execution Result

Awaiting tool invocation.

Agent Decision

No observations available.
AGENT TOOL EXECUTION TRACE
Engineering insight

Tool use connects an AI agent's reasoning to external systems. Structured schemas, permission checks, response validation and failure handling are essential for reliable execution.

NETWORK INSIGHT · AGENT TOOL EXECUTION Educational simulation · No external API calls
05 Agentic AI Architecture / Section Five

Agent Memory and Retrieval-Augmented Generation: How AI Agents Store, Retrieve, and Use Context

Agentic AI systems need more than model inference and tool execution. Multi-step workflows require working context, persistent state, and access to relevant information. Memory systems and retrieval-augmented generation provide mechanisms for supplying that information when it is needed.

05.1 / Memory Fundamentals

What Does Memory Mean in Agentic AI?

In an agentic application, memory refers to information retained or retrieved to support future execution steps. This information may include conversation history, workflow state, previous tool results, retrieved documents, or stored knowledge.

A language model does not automatically maintain an unlimited persistent memory across independent invocations. The application must manage what information is retained and what context is supplied to the model.

Memory architecture therefore becomes an application design concern involving storage, retrieval, consistency, security, and lifecycle management.

Engineering Definition

Agent memory is an application-managed mechanism for retaining or retrieving information that influences subsequent agent execution. It may be transient, persistent, structured, or retrieval-based.

05.2 / Memory Architecture

Working Memory, Persistent Memory, and External Knowledge

Agentic applications commonly separate information into multiple storage and retrieval layers.

Working memory contains information needed for the current task. Persistent memory stores selected information across sessions or workflows. External knowledge systems provide access to documents, records, and other data sources.

Reference Agent Memory Architecture
WM
Working Memory Current objective, recent messages, intermediate results, execution context
PM
Persistent Memory Stored preferences, workflow history, selected facts, durable state
KB
Knowledge Sources Documents, databases, vector indexes, enterprise systems
Conceptual memory layers. Applications decide what to retain, retrieve, summarize, and supply to the model.

These categories describe different responsibilities, not necessarily separate physical databases. A single storage platform may support multiple memory functions.

05.3 / Memory Types

Comparing Agent Memory Strategies

Different memory mechanisms solve different problems. Choosing the appropriate mechanism depends on persistence requirements, retrieval patterns, information structure, and security constraints.

Memory Type Typical Content Storage Pattern Primary Concern
Working Context Recent messages and tool results Prompt context or session state Context window limits
Execution State Task progress and pending actions Structured state store Consistency and recovery
Persistent Memory Selected facts and prior outcomes Database or memory service Retention and correctness
Semantic Memory Meaning-based searchable information Vector or hybrid search index Retrieval relevance
External Knowledge Documents and operational records Search index, database, API Freshness and authorization

A common engineering mistake is to treat all stored information as equally authoritative. A retrieved document, remembered preference, and current system state have different trust and freshness characteristics.

05.4 / Retrieval-Augmented Generation

How RAG Supplies External Knowledge to an Agent

Retrieval-Augmented Generation, or RAG, is an architecture that retrieves relevant information from external sources and supplies that information as context for model generation.

Instead of relying only on information represented in model parameters, the application can search documents, databases, or knowledge repositories for relevant evidence.

Retrieval does not guarantee correctness. The application must evaluate source relevance, permissions, freshness, and the quality of generated responses.

Retrieval-Augmented Generation Pipeline
01
Query Agent identifies information need
02
Retrieve Search index or knowledge store
03
Rank Filter and select evidence
04
Augment Assemble model context
05
Generate Produce grounded response
A separate ingestion pipeline typically prepares documents, metadata, and search indexes before retrieval occurs.

RAG can be used in a simple question-answering application or as part of a larger agentic workflow.

In an agentic system, the agent may decide when retrieval is required, which knowledge source to query, and whether the returned evidence is sufficient.

05.5 / Embeddings and Vector Search

How Semantic Retrieval Works

Semantic retrieval commonly uses embeddings to represent text or other content as numerical vectors. These vectors encode useful relationships in the embedding model's representation space.

During ingestion, documents may be divided into chunks, converted into embeddings, and stored in a searchable vector index.

At query time, the application creates an embedding for the search query and retrieves candidate records using a similarity measure.

VECTOR / 01
Document Chunking

Divide source material into retrievable units while preserving relevant context.

VECTOR / 02
Embedding Generation

Convert content into numerical representations using an embedding model.

VECTOR / 03
Similarity Search

Retrieve candidates using vector similarity and optional metadata constraints.

VECTOR / 04
Hybrid Retrieval

Combine semantic similarity with keyword search and structured filtering.

VECTOR / 05
Reranking

Reorder retrieved candidates using additional relevance scoring methods.

VECTOR / 06
Source Metadata

Preserve document identity, timestamps, access permissions, and provenance.

Retrieval Accuracy

High vector similarity does not prove factual correctness. Semantic retrieval should be combined with source validation, access control, and appropriate evaluation methods.

05.6 / Context Engineering

Managing the Model Context Window

A model invocation has a finite context capacity. Agentic applications must decide which information should be included in each request.

Supplying every historical message and tool result is often inefficient. It can increase cost, latency, and the risk of distracting the model with irrelevant information.

Context engineering involves selecting, organizing, summarizing, and validating information before it reaches the model.

CONTEXT / 01
Relevance

Include information that supports the current objective and decision.

CONTEXT / 02
Summarization

Compress older execution history while preserving important facts and constraints.

CONTEXT / 03
Provenance

Preserve the source and timestamp of retrieved information where possible.

Context engineering is especially important in long-running workflows where the agent performs many tool calls and accumulates substantial execution history.

05.7 / Network Engineering Example

Example: An Agent Uses RAG to Investigate a BGP Incident

Consider an AI operations agent investigating a BGP route advertisement failure.

The agent has access to current router telemetry and an internal knowledge repository containing network design documents, operational runbooks, and previous incident reports.

Step 01 — Inspect Current State

Query BGP neighbor status, routing tables, and advertised prefixes using read-only tools.

Step 02 — Retrieve Design Context

Search the knowledge repository for the expected BGP topology, route policies, and relevant configuration standards.

Step 03 — Compare Evidence

Compare live routing state with documented expectations and identify discrepancies.

Step 04 — Investigate Prior Incidents

Retrieve similar historical incidents and evaluate whether their causes are relevant to the current failure.

Step 05 — Produce Diagnosis

Present the likely cause, supporting evidence, remaining uncertainty, and recommended verification steps.

This example illustrates the difference between live operational state and retrieved knowledge. A historical runbook may describe the intended configuration, but it cannot prove the current state of the network.

Network Engineering Principle

Retrieved knowledge provides context. Live telemetry provides observations about the current environment. A reliable diagnosis should distinguish between these evidence sources and reconcile conflicting information.

05.8 / Reliability and Security

Engineering Reliable Agent Memory Systems

Memory and retrieval systems introduce operational challenges involving data freshness, access control, consistency, and retrieval quality.

A persistent memory record may become outdated. A vector index may contain stale documents. A retrieval pipeline may return irrelevant or unauthorized information.

RELIABILITY
Data Freshness

Track source updates and refresh indexes when underlying information changes.

SECURITY
Access Control

Enforce user and tenant permissions during retrieval and memory access.

CONSISTENCY
State Integrity

Prevent conflicting updates and preserve important workflow state.

QUALITY
Retrieval Evaluation

Measure relevance, recall, answer grounding, and failure patterns.

PRIVACY
Retention Policies

Control what information is stored, how long it remains, and when it is deleted.

OBSERVABILITY
Retrieval Tracing

Record search operations, selected sources, latency, and retrieval failures.

Memory Poisoning and Prompt Injection

Persistent memory and retrieved documents can contain malicious or misleading content. Applications should validate memory updates, enforce source trust boundaries, and avoid treating retrieved text as privileged instructions.

05.9 / Section Summary

Memory and Retrieval as Core Agent Infrastructure

Agentic AI applications require mechanisms for preserving execution state and accessing relevant information across workflow steps.

Working memory supports immediate execution. Persistent memory retains selected information. Retrieval systems provide access to external knowledge sources.

RAG allows an application to retrieve relevant evidence and supply it to a language model as additional context.

Key Engineering Takeaway

Reliable agent memory architecture depends on relevance, freshness, provenance, access control, and consistent state management. Retrieval improves access to information, but does not automatically guarantee accurate or trustworthy conclusions.

Network Insight / Agent Memory and RAG Next: Section 06 — Multi-Agent Systems
NETWORK INSIGHT · INTERACTIVE LAB 05

AI Agent Memory & Context Explorer

Investigate how an agent stores observations, manages limited working context, retrieves relevant knowledge and maintains continuity across tasks.

M
BGP routing investigation Working context · persistent memory · retrieval
0 Working records
0 Persistent records
0 Context evictions
0 Retrieval queries

Short-Term Working Memory

ACTIVE CONTEXT
No observations collected.
Context allocation 0 / 4 records

Persistent Agent Memory

RETRIEVABLE STORE
No persistent records yet.

Consolidated records remain available for retrieval after they leave the active context.

Semantic Memory Retrieval

Enter a concept or engineering term to search the agent's stored observations.

Awaiting a memory retrieval query.
Ready — begin collecting observations.
AGENT MEMORY ACTIVITY TRACE
Engineering insight

An agent's context window is finite. Reliable memory architecture requires selective retention, summarisation, retrieval and careful handling of stale information.

NETWORK INSIGHT · AGENT MEMORY ARCHITECTURE Educational simulation · In-browser memory only
06 Agentic AI Architecture / Section Six

Multi-Agent Systems: Agent Collaboration, Delegation, and Orchestration

Multi-agent systems extend agentic AI beyond a single execution loop. Multiple specialized agents can collaborate on a shared objective, exchange information, delegate tasks, and coordinate execution through an orchestration layer.

06.1 / Multi-Agent Fundamentals

What Is a Multi-Agent System?

A multi-agent system consists of multiple agents or agent-like components that cooperate to complete tasks.

Each agent may have a specialized role, a distinct set of tools, access to specific information, or an independent execution context.

Rather than requiring one agent to perform every operation, a multi-agent architecture distributes work across components that can operate sequentially or concurrently.

Coordination may be centralized through a supervisor or distributed through direct agent communication.

Engineering Definition

A multi-agent system coordinates multiple decision-making or task-executing components toward one or more objectives. Its effectiveness depends on clear roles, communication contracts, shared-state policies, and execution control.

06.2 / Reference Architecture

Supervisor and Worker Agent Architecture

A common design uses a supervisor agent or orchestration service to coordinate specialized workers.

The supervisor receives the overall objective, decomposes it into subtasks, assigns responsibilities, and aggregates the results.

Worker agents execute their assigned tasks using their own context, tools, and permissions.

Reference Multi-Agent Orchestration Topology
SUP
Supervisor / Orchestrator Task decomposition, delegation, coordination, result aggregation, and completion control
NET
Network Agent Routing state, topology analysis, interface telemetry
APP
Application Agent Service health, application logs, latency metrics
SEC
Security Agent Policy checks, identity context, security events
Correlated Evidence → Aggregated Diagnosis → Final Response
Logical topology. Each agent may run within one application or as an independently deployed service.

This architecture provides clear coordination points, but the supervisor can become a bottleneck or failure dependency if the system is not designed for resilience.

06.3 / Agent Specialization

Why Separate Agents into Specialized Roles?

Specialization allows different agents to operate with focused instructions, tool access, and domain knowledge.

A network investigation agent may be permitted to query routing tables and interface metrics, while a security agent may inspect policy logs and authentication events.

Separating these responsibilities can simplify context management and reduce unnecessary access to unrelated tools.

DESIGN / 01
Focused Context

Each agent receives information relevant to its assigned task and domain.

DESIGN / 02
Scoped Tools

Limit each agent to the capabilities required for its role.

DESIGN / 03
Independent Evaluation

Assess individual agent outputs and failure patterns separately.

Architectural Tradeoff

More agents do not automatically produce better results. Additional components introduce communication overhead, coordination complexity, latency, and potential failure points.

06.4 / Orchestration Models

Centralized, Decentralized, and Hierarchical Coordination

Multi-agent architectures can use several coordination models. The appropriate model depends on task dependencies, scale, security boundaries, and operational requirements.

Model Coordination Advantage Challenge
Supervisor / Worker Central orchestrator assigns tasks Clear control and aggregation Supervisor bottleneck
Peer-to-Peer Agents communicate directly Flexible collaboration Complex coordination
Hierarchical Multiple levels of delegation Supports large task structures Delegation overhead
Pipeline Output of one agent feeds another Predictable execution order Sequential latency
Event-Driven Events trigger specialized agents Loose coupling and responsiveness Event ordering and duplication

Hybrid systems are common. A supervisor may coordinate high-level tasks, while workers communicate through queues, APIs, or shared workflow state.

06.5 / Agent Communication

How Agents Exchange Tasks and Results

Agent communication requires structured contracts describing requests, responses, status, and failure conditions.

Agents may communicate through direct API calls, message queues, shared state stores, or dedicated agent communication protocols.

A task message should identify the requested operation, relevant context, correlation identifiers, and any execution constraints.

MESSAGE / 01
Task Identity

Identify the workflow, task, requesting component, and correlation context.

MESSAGE / 02
Input Contract

Define expected arguments, data types, and task constraints.

MESSAGE / 03
Result Contract

Return structured outputs, execution status, and relevant evidence.

MESSAGE / 04
Error Contract

Distinguish timeouts, authorization failures, invalid requests, and unavailable dependencies.

MESSAGE / 05
Security Context

Enforce caller identity and delegated permissions at each service boundary.

MESSAGE / 06
Observability

Correlate task delegation, agent execution, and downstream tool requests.

Distributed Systems Principle

Agent-to-agent communication should be treated as service-to-service communication. Messages require validation, authorization, error handling, correlation, and clear ownership of execution state.

06.6 / Parallel Execution

Coordinating Concurrent Agent Tasks

Independent tasks may be executed concurrently to reduce overall workflow latency.

For example, a network investigation agent and an application monitoring agent may collect evidence at the same time.

However, parallel execution introduces synchronization and consistency challenges. Agents may observe different versions of shared state or produce conflicting recommendations.

PARALLEL / 01
Dependency Management

Start tasks only when their required inputs are available.

PARALLEL / 02
Result Aggregation

Merge evidence while preserving source identity and uncertainty.

PARALLEL / 03
Concurrency Limits

Bound simultaneous model calls, API requests, and resource consumption.

06.7 / Execution Example

Multi-Agent Investigation of a Network Incident

Consider an application experiencing intermittent latency across a data centre environment.

A supervisor delegates investigation tasks to three specialized agents.

Illustrative Multi-Agent Execution Trace
00:00.000 SUPERVISOR Receive application latency incident
00:00.420 DELEGATE Dispatch network, application, and security tasks
00:01.120 NETWORK Spine interface discards elevated
00:01.450 APPLICATION Request latency increased during peak traffic
00:01.720 SECURITY No relevant policy denials detected
00:02.180 AGGREGATE Correlate network discards and application timing
00:02.680 EVALUATE Congestion hypothesis supported; verify path impact

The supervisor combines results from different evidence sources. It must distinguish confirmed observations from hypotheses and avoid treating a missing security event as definitive proof that security controls played no role.

06.8 / Failure Isolation

Handling Partial Failures in Multi-Agent Workflows

Multi-agent architectures introduce additional failure domains. One agent may time out, another may return incomplete information, and a shared dependency may become unavailable.

The orchestration layer must determine whether to retry, continue with partial evidence, reassign the task, or stop the workflow.

FAILURE / 01
Worker Timeout

Apply deadlines, cancellation, and bounded retry policies.

FAILURE / 02
Partial Results

Preserve available evidence and explicitly report missing inputs.

FAILURE / 03
Conflicting Outputs

Validate competing conclusions against authoritative data sources.

FAILURE / 04
Duplicate Execution

Use idempotency controls for operations that may be retried.

FAILURE / 05
Shared-State Conflict

Coordinate updates and prevent concurrent agents from overwriting critical state.

FAILURE / 06
Supervisor Failure

Preserve durable workflow state and support controlled recovery.

Security Boundary

Delegating a task does not automatically delegate unrestricted authority. Each receiving agent and downstream service must enforce its own authorization rules and approved execution scope.

06.9 / Section Summary

Designing Reliable Multi-Agent Systems

Multi-agent architectures distribute work across specialized components that can collaborate on complex objectives.

Supervisor-worker, peer-to-peer, hierarchical, pipeline, and event-driven models provide different coordination patterns.

These systems introduce familiar distributed computing challenges involving communication, concurrency, shared state, security, and partial failures.

Key Engineering Takeaway

Multi-agent systems should be designed as distributed applications with explicit communication contracts, scoped permissions, durable state, bounded execution, and end-to-end observability.

Network Insight / Multi-Agent Systems Next: Section 07 — Agentic AI Networking
NETWORK INSIGHT · INTERACTIVE LAB 06

Multi-Agent Collaboration Command Centre

Coordinate specialist agents, delegate tasks, exchange findings and observe how an orchestrator combines independent investigations into one result.

◎
Investigate enterprise network outage Orchestrator → specialist agents → shared findings → synthesis
0 Completed tasks
0 Agent messages
0 Execution waves
0 Agent failures
O
Orchestrator Agent Task delegation · coordination · result synthesis
A1
Network Agent Routing investigation IDLE
A2
Systems Agent Infrastructure analysis IDLE
A3
Security Agent Policy investigation IDLE

Shared Agent Task Board

Agent Availability

Disable specialists to explore how the orchestrator handles unavailable capabilities.

All specialist agents are available. The orchestrator can delegate independent tasks and collect their results.
Ready — launch the multi-agent mission.

Inter-Agent Communication

No agent messages exchanged.

Orchestrator Synthesis

Awaiting specialist findings.
MULTI-AGENT EXECUTION & MESSAGE TRACE
Engineering insight

Multi-agent architectures divide work among specialists. Effective collaboration requires explicit task ownership, structured communication, shared state and failure handling.

NETWORK INSIGHT · MULTI-AGENT SYSTEMS Educational simulation · No live AI agents
07 Agentic AI Architecture / Section Seven

Agentic AI Networking: Communication Paths, APIs, Latency, and Distributed Tracing

Agentic AI is fundamentally a distributed application architecture. Model inference, tool execution, memory retrieval, and multi-agent coordination frequently depend on network communication between services. Understanding these communication paths is essential for engineering reliable AI systems.

07.1 / Networking Fundamentals

Why Networking Matters in Agentic AI

Agentic AI applications often depend on multiple networked services. A single user request may trigger model inference, retrieval operations, tool calls, and communication between specialized agents.

Each interaction may introduce network latency, authentication overhead, service dependencies, and failure conditions.

Unlike a simple application request, an agentic workflow may involve multiple sequential communication steps. Latency can accumulate as the workflow progresses.

Network Engineering Perspective

An agentic application should be analyzed as a distributed service graph. Each model invocation, tool request, retrieval operation, and agent-to-agent exchange creates an observable communication dependency.

07.2 / Communication Architecture

Mapping the Agent Communication Path

A typical agentic workflow begins at an application interface. The request reaches the agent runtime, which may communicate with a model service and several external tools.

Some operations occur locally, while others cross network boundaries into remote services, cloud platforms, or enterprise infrastructure.

Reference Agentic AI Communication Topology
UI
Application User request, API gateway, session context
RT
Agent Runtime Workflow control, tool dispatch, state management
AI
Model Service Inference requests, structured outputs, model responses
API
Tool Services External APIs, databases, MCP servers
HTTPS / API Service-to-Service Inference API Tool Integration
Logical service relationships. In practice, the runtime independently communicates with model and tool services; the diagram does not imply every request traverses all nodes.

The communication topology should identify each service endpoint, protocol, authentication mechanism, network boundary, and expected latency.

This information provides the foundation for troubleshooting, capacity planning, and security policy design.

07.3 / Network Protocols

DNS, TCP, TLS, HTTP, and Service Discovery

Agentic applications rely on conventional network protocols to connect their distributed components.

DNS resolves service names to reachable endpoints. TCP or other supported transports provide connectivity. TLS protects communication where configured and properly validated.

HTTP-based APIs commonly carry model inference requests, tool calls, and service responses.

NETWORK / 01
DNS Resolution

Resolve model, tool, and application service endpoints.

NETWORK / 02
Transport Connectivity

Establish reliable connections using supported transport protocols.

NETWORK / 03
TLS Security

Protect traffic and validate remote service identities.

NETWORK / 04
HTTP APIs

Exchange structured requests and responses between application services.

NETWORK / 05
Service Discovery

Locate healthy service instances in dynamic environments.

NETWORK / 06
Load Balancing

Distribute requests across available backend service instances.

A failure at any of these layers can interrupt an agent workflow even when the model and application logic are functioning correctly.

07.4 / Latency Engineering

Understanding End-to-End Agent Latency

Agentic workflows can be latency-sensitive because they often perform multiple sequential model calls and tool operations.

End-to-end latency includes more than network round-trip time. It may include queueing, model inference, database processing, tool execution, and application orchestration.

The following example illustrates how several stages contribute to a single workflow.

Illustrative Sequential Workflow Latency Budget
Model Inference
800 ms
Tool API
450 ms
Memory Retrieval
220 ms
Runtime Overhead
80 ms
Illustrative values only. Sequential total: 1,550 ms. Actual latency depends on architecture, load, and execution behavior. Bars use a common 1,000 ms reference scale.

If operations are sequential, their durations contribute to the total workflow time. Independent operations may execute concurrently, reducing elapsed time when dependencies allow.

Performance analysis should identify the critical path rather than simply summing every operation in a distributed workflow.

07.5 / Reliability Patterns

Timeouts, Retries, Circuit Breakers, and Backpressure

Distributed agentic systems must tolerate partial failures and variable service performance.

A tool endpoint may respond slowly, a model service may be rate-limited, or a backend dependency may become temporarily unavailable.

Pattern Purpose Engineering Consideration
Timeout Bound waiting time for an operation Set deadlines according to task requirements
Retry Recover from transient failures Use backoff, jitter, and idempotency
Circuit Breaker Reduce calls to failing dependencies Define recovery and probing behavior
Rate Limiting Control request volume Protect service capacity and quotas
Backpressure Prevent overloaded consumers Bound queues and concurrent work
Bulkhead Isolation Limit failure propagation Separate resource pools and dependencies
Retry Safety

Retrying an operation can create duplicate side effects. Agents should not automatically retry configuration changes, financial operations, or other consequential actions without appropriate idempotency and authorization controls.

07.6 / Asynchronous Communication

Message Queues and Event-Driven Agent Architectures

Not every agent task requires a synchronous request-response interaction. Long-running workflows may benefit from asynchronous communication.

Message queues and event brokers can decouple task producers from execution workers. This allows workloads to be buffered, distributed, and processed independently.

However, asynchronous execution introduces additional concerns involving delivery guarantees, duplicate messages, ordering, task ownership, and durable state.

ASYNC / 01
Task Queues

Buffer work and distribute tasks across available execution workers.

ASYNC / 02
Event Streams

Publish state changes and operational events to interested components.

ASYNC / 03
Durable Workflows

Preserve task progress and support recovery after interruptions.

07.7 / Distributed Tracing

Observing an Agent Workflow Across Services

Distributed tracing allows engineers to follow a request as it moves through multiple services.

A trace can contain spans representing model calls, tool execution, retrieval operations, and downstream service requests.

Correlation identifiers and propagated trace context help connect these operations into a single execution journey.

Illustrative Distributed Agent Trace
00:00.000 REQUEST trace_id=abc123 agent investigation started
00:00.180 MODEL span=model-01 inference request dispatched
00:00.920 TOOL span=tool-01 telemetry API request started
00:02.920 TIMEOUT span=tool-01 telemetry service deadline exceeded
00:03.420 RETRY span=tool-02 retry after bounded backoff
00:03.870 SUCCESS span=tool-02 telemetry response received
00:04.120 CONTINUE agent resumed with validated tool result

This trace makes it possible to distinguish a model inference delay from a network timeout or downstream service failure.

Tracing should record relevant execution metadata while protecting credentials, sensitive prompts, and confidential tool responses.

07.8 / Network Troubleshooting

Investigating Agent Communication Failures

When an agent workflow fails, the underlying cause may be located in the network, service infrastructure, application runtime, or downstream dependency.

Effective troubleshooting begins by identifying the failed communication boundary and validating the relevant protocol layer.

DIAGNOSE / 01
DNS Failure

Verify service name resolution, DNS responses, and endpoint configuration.

DIAGNOSE / 02
Connection Failure

Check routing, firewall policy, listening ports, and transport connectivity.

DIAGNOSE / 03
TLS Failure

Inspect certificate validity, trust chains, hostname verification, and protocol compatibility.

DIAGNOSE / 04
API Timeout

Correlate network RTT, server processing time, queueing, and configured deadlines.

DIAGNOSE / 05
Rate Limiting

Inspect service quotas, request concurrency, and response status codes.

DIAGNOSE / 06
Trace Discontinuity

Verify trace context propagation and instrumentation across service boundaries.

Operational Principle

Troubleshoot agentic AI systems using the same layered approach applied to distributed applications: connectivity, transport security, application protocols, service dependencies, and execution state.

07.9 / Section Summary

Agentic AI as a Networked Distributed System

Agentic AI applications depend on communication between runtimes, model services, tools, databases, and other agents.

Network protocols, service discovery, latency, timeouts, retries, and message delivery all influence workflow reliability.

Distributed tracing provides visibility into the execution path and helps engineers isolate failures across service boundaries.

Key Engineering Takeaway

Agentic AI networking should be engineered with explicit service boundaries, secure communication, bounded latency, resilient dependencies, and end-to-end observability.

Network Insight / Agentic AI Networking Next: Section 08 — Agentic AI Security
NETWORK INSIGHT · INTERACTIVE LAB 07

AI Agent Security & Guardrails Lab

Test agent security controls against simulated threats. Configure trust boundaries, inspect policy decisions, and observe how an agent's permitted actions change.

!
Prompt injection attempt Untrusted content attempts to override agent instructions.
5 Enabled controls
0 Policy checks
0 Blocked actions
LOW Configured risk
01
InputTrust boundary
02
ValidateInspect content
03
AuthoriseCheck policy
04
ExecuteTool boundary
05
AuditRecord outcome

Threat Payload Inspector

Security Policy Assessment

Awaiting security evaluation.

Security Control Centre

Enable or disable defensive controls.

All five security controls are enabled.
Ready — configure controls and test.

Policy Enforcement Decision

Awaiting policy evaluation.

Security Outcome

No security test executed.
AGENT SECURITY & POLICY TRACE
Engineering insight

Agent security depends on more than filtering prompts. Strong systems enforce tool permissions, separate trusted instructions from untrusted data, validate outputs and maintain auditable execution boundaries.

NETWORK INSIGHT · AGENT SECURITY ENGINEERING Educational simulation · No live attacks or tool calls
08 Agentic AI Architecture / Section Eight

Agentic AI Security: Zero Trust, Identity, Prompt Injection, and Tool Authorization

Agentic AI introduces security challenges because language models can influence actions performed against external systems. Secure architectures must enforce identity, authorization, execution boundaries, and independent policy controls rather than relying on model instructions alone.

08.1 / Security Fundamentals

Why Agentic AI Requires a Different Security Model

Traditional language model applications primarily generate responses. Agentic applications may also request tool execution, retrieve sensitive information, and coordinate operations across external services.

This creates additional attack surfaces involving tool arguments, retrieved content, persistent memory, delegated permissions, and communication between agents.

A model may propose an operation, but the application must determine whether the operation is authorized, appropriate, and safe to execute.

Security Principle

Model output should be treated as untrusted execution input. Authorization must be enforced by deterministic application controls and downstream services, not by model instructions alone.

08.2 / Zero Trust Architecture

Applying Zero Trust to Agentic Systems

Zero Trust assumes that access should not be granted solely because a request originates from a trusted network location or application component.

Instead, access decisions should consider identity, requested operation, resource sensitivity, and applicable policy.

In agentic systems, this means every consequential tool invocation should pass through appropriate authorization and execution controls.

Reference Zero Trust Agent Execution Architecture
AI
AI Agent Proposes action and structured arguments
ID
Identity Context Caller identity, agent identity, delegated scope
PDP
Policy Decision Authorization, constraints, approval checks
API
Protected Tool Enforced execution against approved resources
Enforcement boundary: deny unauthorized operations before execution
Conceptual architecture. The policy enforcement point must block denied requests and ensure the downstream operation cannot bypass authorization.

Zero Trust controls should also apply to service-to-service communication, memory access, MCP integrations, and agent delegation.

08.3 / Identity and Authorization

Who Is the Agent Acting For?

An agentic workflow may involve several identities: the human user, the application, the agent runtime, and the downstream service.

These identities should not be treated as interchangeable. An agent may execute within a service identity while acting on behalf of a particular user.

Authorization must determine what operations are permitted for the specific execution context.

IDENTITY / 01
User Identity

Establish the authenticated user and applicable permissions.

IDENTITY / 02
Workload Identity

Identify the runtime or service executing the operation.

IDENTITY / 03
Delegated Authority

Restrict operations to explicitly approved scopes and resources.

Confused Deputy Risk

A privileged agent runtime can become a confused deputy if it uses its own broad permissions to perform operations that the requesting user is not authorized to perform.

08.4 / Prompt Injection

Protecting Agents from Untrusted Instructions

Prompt injection occurs when attacker-controlled content attempts to influence model behavior in ways that conflict with the application's intended instructions or security boundaries.

The malicious content may appear in retrieved documents, web pages, tool responses, repository files, or other external data.

For example, an agent retrieving a network operations runbook might encounter text instructing it to ignore its approved workflow and execute an unrelated privileged command.

The runbook content should be treated as task data, not as a new source of execution authority.

DEFENSE / 01
Trust Separation

Distinguish application instructions from untrusted retrieved content.

DEFENSE / 02
Tool Restrictions

Limit the tools and resources available to each workflow.

DEFENSE / 03
Independent Policy

Enforce permissions outside the model before executing operations.

Defense in Depth

Prompt formatting and model instructions may reduce some risks, but they are not sufficient security boundaries. Strong protection requires independent authorization, constrained execution, validation, and monitoring.

08.5 / Tool Authorization

Designing a Secure Tool Execution Decision

Every tool invocation should be evaluated against an explicit execution policy.

The policy may consider the requesting identity, target resource, operation type, environment, and whether human approval is required.

Tool Authorization Decision Flow
01 — Proposed Action Model generates tool name and arguments
02 — Policy Evaluation Validate identity, scope, resource, and operation
03 — Enforcement Execute approved request or reject operation
ALLOW — Authorized operation proceeds
DENY — Operation blocked and recorded
Sensitive operations may require explicit human approval before the enforcement layer permits execution.

Authorization decisions should be auditable and tied to the actual execution request rather than relying on a model-generated explanation of why an action is appropriate.

08.6 / Agent Attack Surface

Common Security Risks in Agentic Architectures

Agentic AI introduces several attack surfaces that overlap with traditional application security while adding model-driven execution risks.

Attack Surface Potential Risk Primary Control
Tool Calling Unauthorized or unsafe operations Policy enforcement and least privilege
Retrieved Content Prompt injection and misleading instructions Trust separation and constrained execution
Persistent Memory Poisoned or unauthorized stored context Validation, access control, provenance
MCP Integrations Malicious or overprivileged tool servers Server trust, authorization, isolation
Agent Delegation Privilege escalation across agents Scoped delegation and identity propagation
Execution Environment Access to sensitive files or services Sandboxing and network restrictions
Observability Data Exposure of credentials or sensitive content Redaction, retention controls, restricted access
08.7 / Network Automation Example

Example: An Agent Attempts an Unauthorized Router Configuration Change

Consider an AI network operations agent authorized to perform read-only troubleshooting.

The agent retrieves a diagnostic document containing a recommendation to modify a BGP route policy.

The model proposes a configuration tool call, but the execution policy allows only telemetry queries for this workflow.

Illustrative Security Enforcement Trace
00:00.000 TASK Investigate missing BGP route advertisement
00:00.580 RETRIEVE Load BGP troubleshooting document
00:01.130 PROPOSE configure_bgp_policy(device="edge-01")
00:01.180 POLICY Check tool scope: read-only investigation
00:01.200 DENIED Configuration operation outside authorized scope
00:01.450 CONTINUE Resume investigation using permitted telemetry tools

The security boundary prevents the proposed configuration change from executing. The agent can continue its investigation using authorized read-only tools.

This approach separates the model's proposed actions from the permissions enforced by the application and infrastructure.

08.8 / Operational Security

Securing Agent Infrastructure in Production

Secure agentic systems require controls across the entire execution environment, not just the model interface.

Production architectures should protect credentials, restrict network access, validate integrations, and monitor execution behavior.

CONTROL / 01
Credential Management

Store secrets securely and avoid exposing them in prompts or logs.

CONTROL / 02
Execution Isolation

Restrict filesystem, process, and network access according to task requirements.

CONTROL / 03
Audit Logging

Record tool requests, policy decisions, execution outcomes, and relevant identities.

CONTROL / 04
Approval Gates

Require explicit approval for sensitive or irreversible operations.

CONTROL / 05
Rate and Cost Limits

Bound model invocations, tool calls, and resource consumption.

CONTROL / 06
Security Testing

Evaluate prompt injection, permission bypass, tool misuse, and failure scenarios.

Production Engineering Requirement

A secure agentic architecture must remain safe even when the model proposes an incorrect, maliciously influenced, or unauthorized action. Security enforcement must not depend on the model consistently making correct decisions.

08.9 / Section Summary

Zero Trust as the Foundation of Secure Agentic AI

Agentic AI extends application capabilities through tool execution, memory access, and multi-agent coordination.

These capabilities require strong identity, authorization, validation, isolation, and observability controls.

Zero Trust principles provide a useful foundation for enforcing access at each execution boundary.

Key Engineering Takeaway

Treat model outputs as untrusted proposals. Enforce permissions independently, constrain tool execution, protect external data boundaries, and maintain auditable records of consequential actions.

Network Insight / Agentic AI Security Next: Section 09 — Designing and Troubleshooting Agentic Systems
NETWORK INSIGHT · INTERACTIVE LAB 08

Agent Observability & Evaluation Dashboard

Monitor simulated agent workloads, inspect execution traces, analyse token consumption and investigate latency, cost and tool failures.

◉
Network troubleshooting agent Execution telemetry · tracing · cost · evaluation
— Task success rate
— Average latency
0 Total tokens
$0.000 Estimated model cost

Agent Execution Latency

Each bar represents one completed simulated task.

Successful task Failed task

Operational Signals

Completed executions 0
Tool failures 0
Average tokens / task 0
Estimated cost / task $0.000
No executions recorded. Run a workload to generate simulated operational telemetry.

Distributed Agent Execution Trace

Inspect the relative duration of the most recent task's execution stages.

Awaiting execution
—
Ready — generate agent telemetry.

Execution Diagnosis

No operational anomalies detected yet.

Evaluation Summary

Awaiting task execution results.
AGENT OBSERVABILITY EVENT TRACE
Engineering insight

Production agent observability requires more than recording the final answer. Engineers need visibility into reasoning steps, tool calls, latency, token usage, failures and task-level outcomes.

NETWORK INSIGHT · AGENT OBSERVABILITY Educational simulation · Synthetic telemetry
09 Agentic AI Architecture / Final Section

Designing and Troubleshooting Agentic AI Systems: Reference Architecture, Observability, and Failure Investigation

Production agentic AI requires more than a language model and a collection of tools. Engineers must design reliable execution boundaries, manage distributed state, control permissions, measure performance, and investigate failures across the complete application architecture.

09.1 / Production Architecture

From AI Prototype to Production Engineering

A basic AI agent prototype may consist of a language model, a prompt, and a small number of tool integrations.

Production environments introduce additional requirements involving availability, security, observability, cost management, operational recovery, and controlled deployment.

The architecture must support predictable behavior even when individual services fail, model responses vary, or external tools return unexpected data.

Engineering Principle

Production readiness is determined by the reliability of the complete execution system, not simply the capabilities of the underlying language model.

09.2 / Reference Design

A Production Agentic AI Reference Architecture

A practical agentic platform separates model inference, orchestration, tool execution, memory services, and security enforcement into explicit architectural components.

Each component has its own responsibilities, operational dependencies, and failure boundaries.

Logical Production Agentic AI Architecture
API
Application Gateway User requests, authentication, API routing
RT
Agent Runtime Planning, orchestration, execution state
LLM
Model Service Inference, reasoning support, structured outputs
MEM
Memory and Retrieval State storage, retrieval, knowledge access
PDP
Policy Enforcement Authorization, approvals, execution limits
TOOL
Tool Execution APIs, MCP servers, external systems
Cross-Cutting Controls: Identity · Observability · Security · Reliability · Audit
Logical components rather than a literal network path. The runtime coordinates model, memory, policy, and tool interactions through defined service boundaries.

The architecture should make trust boundaries explicit and ensure that sensitive operations are independently authorized before execution.

09.3 / Design Principles

Six Engineering Principles for Reliable Agents

Successful agentic systems require clear architectural decisions about control, state, execution, and recovery.

PRINCIPLE / 01
Bounded Autonomy

Define what the agent may do, which tools it may use, and when execution must stop.

PRINCIPLE / 02
Explicit State

Track workflow progress, tool results, decisions, and recovery checkpoints.

PRINCIPLE / 03
Least Privilege

Restrict access to tools, credentials, and protected resources.

PRINCIPLE / 04
Failure Isolation

Prevent one failed dependency from causing uncontrolled workflow failure.

PRINCIPLE / 05
Observability

Correlate model calls, tool requests, policy decisions, and execution outcomes.

PRINCIPLE / 06
Continuous Evaluation

Measure correctness, safety, latency, cost, and task completion quality.

09.4 / Observability

What Should Engineers Measure?

Observability should provide visibility into both the distributed application infrastructure and the agent's execution behavior.

Traditional metrics such as latency, throughput, and error rates remain important, but agentic applications also require workflow-level measurements.

Metric What It Measures Engineering Value
Task Completion Rate Percentage of tasks meeting defined success criteria Measures workflow effectiveness
End-to-End Latency Total elapsed workflow time Identifies user-facing performance problems
Tool Error Rate Failed or rejected tool invocations Reveals integration and policy issues
Model Invocation Count Number of model calls per task Helps identify inefficient loops
Retry Rate Repeated execution attempts Detects unstable dependencies
Policy Denial Rate Rejected unauthorized operations Supports security monitoring
Token and Compute Cost Resource consumption per workflow Supports cost and capacity management
Evidence Quality Whether conclusions are supported by valid observations Improves diagnostic reliability

Metrics should be combined with structured logs and distributed traces to provide enough context for root cause analysis.

09.5 / Failure Domains

Understanding Where Agentic Workflows Fail

A failed agent task does not necessarily mean the language model failed.

The root cause may be located in a network connection, authorization policy, retrieval service, tool integration, workflow controller, or downstream application.

FAILURE / 01
Model Layer

Invalid structured outputs, incorrect action selection, or unsupported conclusions.

FAILURE / 02
Runtime Layer

Broken state transitions, excessive loops, or orchestration errors.

FAILURE / 03
Tool Layer

API failures, invalid arguments, unavailable services, or timeouts.

FAILURE / 04
Memory Layer

Stale retrieval, missing context, corrupted state, or poor document relevance.

FAILURE / 05
Security Layer

Authorization denials, credential failures, or policy misconfiguration.

FAILURE / 06
Network Layer

DNS failures, transport timeouts, TLS errors, or service connectivity issues.

Root Cause Analysis

Engineers should avoid attributing every unsuccessful workflow to model quality. Agentic systems must be investigated as distributed applications with multiple independent failure domains.

09.6 / Incident Investigation

Investigating a Failed Agentic Network Diagnosis

Consider a network operations agent tasked with investigating intermittent packet loss across a data centre fabric.

The agent plans to collect interface counters, inspect routing state, and correlate telemetry from multiple devices.

During execution, a telemetry API becomes unavailable. The workflow must distinguish an infrastructure failure from an incorrect network diagnosis.

01 — Investigation Begins

The agent receives a packet-loss incident and creates a bounded diagnostic plan.

02 — Tool Requests Dispatched

The runtime requests interface statistics and routing information through approved read-only APIs.

03 — Telemetry Dependency Degrades

The telemetry service exceeds its response deadline. The runtime records the failed request.

04 — Failure Isolated

Distributed traces identify the telemetry dependency as the failed component rather than the routing protocol.

05 — Controlled Recovery

The workflow retries within its execution budget or reports incomplete evidence when recovery is unsuccessful.

The critical engineering requirement is that the agent must not invent missing telemetry or present an unsupported diagnosis as a confirmed result.

09.7 / Distributed Execution Trace

Reading an Agentic AI Incident Trace

A distributed execution trace helps engineers reconstruct the sequence of operations and identify the component responsible for a failure.

Illustrative Agent Incident Execution Trace
00:00.000 TASK_START trace_id=incident-042 packet loss investigation
00:00.420 PLAN Collect interfaces, routing state, and telemetry
00:00.720 TOOL_CALL get_interface_metrics(device="spine-01")
00:02.720 TIMEOUT Telemetry API exceeded 2000 ms deadline
00:03.220 RETRY Read-only tool retry with bounded backoff
00:05.220 TIMEOUT Retry failed; telemetry dependency unavailable
00:05.480 EVALUATE Insufficient evidence to confirm packet-loss cause
00:05.820 COMPLETE Return partial findings and unresolved dependency

The trace demonstrates a controlled failure. The agent identifies the unavailable dependency, preserves the evidence it collected, and avoids producing a misleading conclusion.

Observability Requirement

Every significant execution step should carry sufficient correlation context to connect model requests, tool calls, policy decisions, and downstream service activity into one investigation.

09.8 / Production Readiness

Production Readiness Checklist for Agentic AI

Before deploying an agentic system into production, engineering teams should validate its operational controls and failure handling.

✓
Explicit Tool Permissions Every agent has clearly defined execution capabilities and authorization boundaries.
✓
Bounded Execution Timeouts, iteration limits, retry budgets, and termination criteria are enforced.
✓
Durable Workflow State Critical execution state can be recovered after interruptions.
✓
Distributed Tracing Model calls, tool requests, and downstream services can be correlated.
✓
Security Enforcement Tool execution is independently authorized and sensitive actions require approval.
✓
Failure Injection Testing Network failures, invalid responses, timeouts, and dependency outages are tested.
✓
Quality Evaluation Workflow correctness, evidence quality, and task completion are measured.
✓
Operational Recovery The system supports safe retries, cancellation, escalation, and controlled recovery.
Production Deployment Principle

An agentic system should be evaluated under failure conditions, not only successful demonstrations. Reliability depends on how safely and predictably the system behaves when dependencies become unavailable or execution results are uncertain.

09.9 / Final Section Summary

Engineering Agentic AI as a Reliable Distributed System

Agentic AI combines language models with orchestration, tools, memory, communication, and execution control.

Production architectures must address familiar distributed systems challenges involving network connectivity, state consistency, partial failures, security boundaries, latency, and observability.

The engineering objective is not simply to create agents capable of completing tasks. It is to build systems that can execute those tasks safely, reliably, and transparently.

Final Engineering Takeaway

A production-grade agentic AI platform should be designed as a distributed application with explicit execution contracts, independently enforced permissions, observable service boundaries, durable workflow state, and controlled failure recovery.

The strongest architectures combine AI capabilities with established principles from networking, cloud engineering, distributed systems, and Zero Trust security.

Network Insight / Agentic AI Architecture Editorial Series Complete — Sections 01–09
NETWORK INSIGHT · INTERACTIVE LAB 09

Production Agent Architecture Simulator

Design a deployable agent architecture, configure operational components, and evaluate reliability, security and production readiness.

⌘
Enterprise network operations agent Architecture design · policy validation · production assessment
— Readiness score
0 Enabled components
0 Architecture gaps
0 Completed checks

Production Agent Architecture

Enable or disable components to change the deployment design.

AI
Reasoning Engine Model and planning
API
Tool Gateway External systems
M
Memory Layer Context and retrieval
S
Security Controls Policy enforcement
H
Human Approval Change authorisation
O
Observability Traces and metrics
E
Evaluation Layer Quality assurance
R
Failure Recovery Retries and rollback
L
Audit & Logging Execution records
User Objective → Agent Reasoning → Tool Gateway → Policy Enforcement → Execution → Observation → Evaluation

Architecture Configuration

Choose the components available in your deployment.

Configure the architecture and evaluate its readiness.
Ready — configure and evaluate.

Architecture Assessment

Awaiting architecture evaluation.

Deployment Recommendation

No deployment recommendation available.
PRODUCTION ARCHITECTURE VALIDATION TRACE
Engineering insight

A production agent is more than an LLM connected to APIs. Reliable deployments require policy enforcement, observability, evaluation, failure recovery and clearly defined operational boundaries.

NETWORK INSIGHT · AGENT PRODUCTION ARCHITECTURE Educational simulation · Illustrative readiness scoring
☕
Support Network Insight
Help support the development of interactive networking labs, BGP simulations, and educational content.
Support the Project
AI Infrastructure Explained-2

AI Infrastructure Explained

Network Insight / AI Infrastructure

AI Infrastructure Explained: Inside the Systems That Power Artificial Intelligence

Artificial intelligence is often described through models, algorithms, and applications. Yet behind every large-scale AI system is a sophisticated infrastructure architecture built from accelerated compute, high-performance networking, distributed storage, and carefully coordinated software.

Training and serving modern AI models requires far more than installing GPUs in a data centre. Thousands of accelerators may need to exchange information, process enormous datasets, synchronize computations, and respond to application requests while maintaining predictable performance.

The challenge is fundamentally an infrastructure engineering problem: how do we design computing, networking, storage, and operational systems that work together efficiently at scale?

01 / Engineering Context

AI Is a Distributed Infrastructure Problem

Traditional enterprise infrastructure is designed to support a wide variety of applications, transactions, databases, and network services. AI infrastructure introduces a different set of performance characteristics.

Large training workloads can generate intensive communication between accelerators. Distributed training frameworks coordinate computations across multiple devices, while high-performance network fabrics carry model updates, gradients, and intermediate results between servers.

Storage systems must supply data at sufficient throughput to prevent expensive accelerators from remaining idle. Inference platforms must balance request latency, throughput, memory consumption, and operational cost.

As a result, an AI cluster cannot be evaluated by GPU specifications alone. Its performance depends on the interaction between every infrastructure layer.

02 / Architecture Overview

Understanding the AI Infrastructure Stack

An AI platform is composed of several interconnected architectural layers. Each layer performs a different function, but none operates in isolation.

The infrastructure stack reveals why AI performance is a system-level property. A powerful GPU cluster can still experience poor utilization if the network becomes congested, collective communication is inefficient, or storage cannot deliver training data quickly enough.

03 / Engineering Challenges

Four Infrastructure Domains That Determine AI Performance

Accelerated Compute

GPUs perform massively parallel mathematical operations, but accelerator memory capacity, memory bandwidth, interconnect performance, and scheduling efficiency influence how effectively they can be used.

Network Fabric

High-bandwidth, low-latency networks connect distributed GPU nodes. Congestion, packet loss, load balancing, and collective communication patterns can directly influence training efficiency.

Distributed Storage

AI workloads require efficient access to training datasets, model parameters, and checkpoints. Storage throughput and data pipeline design can determine whether accelerators remain productive.

Software and Operations

Distributed frameworks, cluster schedulers, monitoring systems, security controls, and workload orchestration coordinate resources across the infrastructure.

04 / Learning Journey

From GPU Architecture to Complete AI Cluster Design

This engineering guide follows a structured nine-stage learning journey. We begin with the foundations of AI infrastructure and progressively examine the compute, network, storage, software, and operational systems required to build production-scale platforms.

Each stage combines technical explanations with an interactive engineering experience, allowing readers to explore architecture, investigate performance, and understand the consequences of design decisions.

01
AI Infrastructure Fundamentals
02
GPU Servers and Accelerated Computing
03
AI Cluster Network Architecture
04
RDMA, RoCEv2 and High-Performance Networking
05
Distributed AI Training
06
AI Storage and Data Pipelines
07
AI Inference Infrastructure
08
AI Infrastructure Security and Operations
09
AI Cluster Design and Troubleshooting
05 / Engineering Perspective

Why Network Engineers Need to Understand AI Infrastructure

AI infrastructure is creating new requirements for data centre networking. Traditional network design principles remain important, but GPU clusters introduce demanding traffic patterns and performance objectives that require careful architectural consideration.

Technologies such as leaf-spine fabrics, ECMP, RDMA, RoCEv2, congestion management, and high-speed Ethernet are increasingly relevant to engineers designing and operating AI computing environments.

Understanding how AI workloads communicate allows network engineers to move beyond configuring connectivity and toward designing infrastructure that supports predictable application performance.

The Core Engineering Principle

An AI cluster is only as effective as the infrastructure connecting and feeding its accelerators. Compute performance, network behavior, storage throughput, and distributed software must be considered together. The objective is not simply to build a faster network or deploy more GPUs, but to create a balanced system that delivers useful AI performance efficiently.

01 AI Infrastructure / Engineering Foundations

AI Infrastructure Fundamentals: From Traditional Data Centres to AI Computing Platforms

Artificial intelligence introduces a new class of infrastructure requirements. Instead of simply hosting applications, databases, and virtual machines, modern AI platforms must coordinate accelerated computing, high-bandwidth networking, distributed storage, and complex software frameworks to execute demanding training and inference workloads.

Understanding AI infrastructure begins with a fundamental distinction: an AI cluster is not merely a collection of powerful servers. It is a coordinated distributed computing environment in which communication, memory, storage, scheduling, and processing must operate together efficiently.

01.1 / Infrastructure Evolution

How AI Infrastructure Differs from Traditional Data Centres

Traditional enterprise data centres support diverse workloads such as web applications, transactional databases, virtual machines, and business services. These systems commonly depend on reliable network connectivity, application availability, predictable latency, and efficient resource sharing.

Their traffic patterns often include client-to-server communication, application-to-database transactions, and east-west communication between distributed services. Although these environments can generate substantial network traffic, many applications do not require tightly synchronized computation across large groups of servers.

AI training environments can behave differently. Distributed training may require hundreds or thousands of accelerators to exchange intermediate results, gradients, or model parameters during repeated computation cycles.

When one accelerator or communication path becomes significantly slower than the others, synchronized operations may have to wait. This makes network congestion, communication efficiency, and accelerator utilization important considerations in overall system performance.

Traditional Data Centre
General-purpose application infrastructure

Typically optimized for a broad mixture of application services, virtualization, storage access, and transactional workloads.

Common priorities include availability, flexibility, security, resource efficiency, and predictable application performance.

AI Computing Cluster
Accelerated distributed computing

Designed to coordinate GPU-intensive workloads, high-volume data movement, distributed training, and large-scale model serving.

Important priorities include accelerator utilization, network bandwidth, communication efficiency, memory capacity, and cost per useful computation.

These architectures are not mutually exclusive. AI inference services may run alongside conventional applications, while enterprise data centres can incorporate GPU servers and high-performance networking without becoming dedicated training facilities.

The architectural difference lies primarily in workload behavior and the resulting infrastructure design priorities.

01.2 / Core Components

The Six Building Blocks of AI Infrastructure

A production AI platform contains several major infrastructure domains. Understanding the role of each component is essential because performance limitations can emerge at any point in the system.

DOMAIN 01
Accelerated Compute

GPUs and other accelerators execute the mathematical operations required by AI workloads. CPU resources coordinate processing, data preparation, and system-level operations.

DOMAIN 02
High-Performance Networking

Network fabrics connect computing nodes and transport distributed workload traffic. Ethernet, InfiniBand, RDMA, and congestion management technologies can influence communication performance.

DOMAIN 03
Distributed Storage

Storage platforms hold training datasets, model artifacts, checkpoints, and application data. Parallel I/O and caching help supply information at rates required by compute nodes.

DOMAIN 04
Distributed Software

AI frameworks coordinate model execution, parallel computation, gradient synchronization, and communication between accelerators across multiple servers.

DOMAIN 05
Orchestration and Scheduling

Cluster management systems allocate resources, schedule jobs, manage containers, and coordinate the lifecycle of training and inference workloads.

DOMAIN 06
Physical Infrastructure

Power delivery, cooling, rack design, cabling, and physical capacity planning determine how densely accelerator systems can be deployed and operated.

These domains are interdependent. A cluster may have sufficient GPU compute capacity but still perform poorly if storage throughput is inadequate or network congestion delays synchronization between workers.

Engineering Insight

AI infrastructure performance should be evaluated end to end. Purchasing faster accelerators does not automatically improve application throughput if networking, memory, storage, or software coordination remains the limiting factor.

01.3 / Workload Models

AI Training Versus AI Inference

AI infrastructure supports two major categories of workloads: training and inference. Although both use accelerated computing, their operational characteristics and infrastructure requirements can differ substantially.

During training, a model processes datasets and adjusts its parameters through repeated optimization steps. Large training jobs may distribute computation across multiple GPUs and servers, requiring substantial communication between participating workers.

Inference uses an already trained model to generate predictions, classifications, or responses. Infrastructure must efficiently serve requests while balancing latency, throughput, memory utilization, and cost.

Training Workload
Building and Updating Models

Training workloads repeatedly process data, calculate gradients, and update model parameters. Distributed execution can introduce intensive communication and synchronization requirements.

Primary objective Training throughput
Compute behavior Long-running jobs
Network focus Collective communication
Storage focus Datasets and checkpoints
Inference Workload
Serving Model Predictions

Inference workloads process incoming requests using trained models. Serving systems must balance response time, batching efficiency, concurrency, and accelerator memory consumption.

Primary objective Latency and throughput
Compute behavior Request-driven
Network focus Serving and model traffic
Storage focus Model loading and artifacts

These distinctions are important but not absolute. Large inference deployments can distribute a single model across multiple accelerators, introducing high-bandwidth communication requirements similar to those encountered in distributed training.

Likewise, some training workloads fit within a single accelerator or server and do not require a large network fabric. Infrastructure design must therefore follow the actual workload profile rather than relying on broad labels alone.

01.4 / Workload Execution

Following an AI Workload Through the Infrastructure

To understand the relationship between infrastructure components, consider a distributed training job submitted to an AI computing cluster.

The workload begins with a scheduling decision. The cluster management platform identifies available resources and allocates the required accelerator nodes.

Training data is then supplied through the storage and data pipeline. GPUs execute mathematical operations while the distributed training framework coordinates communication between participating workers.

At appropriate points, the system synchronizes information across accelerators and writes model checkpoints to persistent storage.

Distributed Training — Conceptual Workload Journey
01
Job Submission
Training workload enters the platform
02
Resource Allocation
Scheduler assigns compute resources
03
Data Loading
Dataset batches reach training workers
04
GPU Execution
Compute and synchronization repeat
05
Checkpointing
Model state is saved periodically
Simplified sequence. In real training systems, data loading, GPU execution, communication, and checkpoint operations may overlap or repeat throughout the workload lifecycle.

This journey demonstrates why AI infrastructure requires coordinated design. The scheduler must allocate suitable resources, storage must supply data efficiently, GPUs must execute computations, and the network must support distributed communication without introducing excessive delays.

Monitoring must also provide visibility into accelerator utilization, communication performance, storage activity, job progress, and infrastructure health. Without this visibility, identifying the source of performance degradation becomes considerably more difficult.

01.5 / Design Principles

What Makes an AI Infrastructure Architecture Effective?

Successful AI infrastructure design begins with workload requirements. The number of accelerators, model size, parallelization strategy, dataset characteristics, and performance objectives influence every architectural decision.

For distributed training, engineers must consider communication patterns, fabric bandwidth, network oversubscription, congestion behavior, and accelerator placement within the cluster.

For inference, the design may prioritize request latency, model loading, memory capacity, concurrency, batching efficiency, and predictable service availability.

Physical constraints are equally important. High-density accelerator servers can impose substantial power and cooling requirements, while network cabling, transceiver selection, rack placement, and maintenance procedures influence operational complexity.

Ultimately, the objective is to deliver useful workload performance efficiently, rather than optimizing individual infrastructure components in isolation.

Section 1 — Engineering Takeaways
  • AI infrastructure is a coordinated distributed computing environment, not simply a collection of GPU servers.
  • Traditional data centre principles remain relevant, but AI workloads can introduce more demanding compute and communication characteristics.
  • Accelerated compute, networking, storage, distributed software, orchestration, and physical infrastructure must work together.
  • Training and inference have different performance objectives and infrastructure requirements.
  • End-to-end workload performance is more meaningful than the isolated specifications of individual components.
Network Insight / AI Infrastructure Engineering Next: Section 02 — GPU Servers and Accelerated Computing
Network Insight / AI Infrastructure Lab 01

Inside an AI Infrastructure Platform

Explore how accelerated compute, networking, storage and software platforms combine to support modern AI workloads. Select a layer or simulate a workload journey.

AI Infrastructure Stack Explore Mode
Select an infrastructure layer to investigate.
Architecture Explorer
AI Infrastructure Overview

An AI platform is a coordinated system of computing, networking, storage and software services. Each component contributes to the performance and reliability of AI workloads.

Key Technologies
GPUs Ethernet Storage Orchestration
Infrastructure Responsibility

Deliver the computing capacity, communication bandwidth, data access and operational controls required by AI applications.

Engineering Insight AI infrastructure must be designed as an integrated platform. A bottleneck in one layer can limit the performance of the entire workload.
02 AI Infrastructure / Accelerated Compute

GPU Servers and Accelerated Computing: Inside the Compute Architecture of AI Infrastructure

Graphics processing units have become central to modern artificial intelligence because they can execute large numbers of mathematical operations in parallel. However, the performance of an AI computing platform depends on more than GPU processing capability.

CPU coordination, accelerator memory, PCIe connectivity, high-bandwidth GPU interconnects, and server architecture all influence how efficiently AI workloads execute.

Understanding these components is essential for designing AI clusters that can scale beyond a single accelerator or server.

02.1 / Compute Architecture

Why GPUs Are Different from Traditional CPUs

Central processing units are designed to execute a broad range of instructions, manage operating systems, coordinate applications, and handle complex control-oriented workloads.

CPUs typically contain a comparatively small number of sophisticated processing cores optimized for low-latency execution, branching logic, and general-purpose computing tasks.

GPUs use a different architectural approach. They contain large numbers of execution resources designed to process many operations concurrently.

This makes GPUs particularly effective for workloads involving matrix multiplication, tensor operations, and other highly parallel calculations commonly found in machine learning and deep neural networks.

Modern AI accelerators also incorporate specialized matrix-processing hardware, such as Tensor Cores, to improve throughput for supported numerical formats and machine learning operations.

CPU — Control and Coordination

Handles operating system functions, application orchestration, data preparation, I/O coordination, and general-purpose processing. CPUs remain essential even in GPU-intensive computing environments.

GPU — Parallel Execution

Executes large volumes of parallel mathematical operations. GPU performance depends on compute resources, memory bandwidth, supported precision formats, and the efficiency of workload execution.

Specialized Matrix Engines

Accelerator architectures may include dedicated matrix-processing units that improve performance for neural network training and inference operations.

Parallel Programming Models

Software platforms such as CUDA and accelerator-aware frameworks coordinate execution across GPU resources and manage data movement between compute and memory domains.

GPU acceleration is most effective when a workload contains sufficient parallelism and can keep the accelerator supplied with data. Serial execution, inefficient memory access, or excessive communication overhead can reduce the expected benefit.

02.2 / Server Architecture

Inside a Multi-GPU AI Server

A modern AI server integrates multiple infrastructure components within a single physical system. These typically include one or more CPUs, system memory, GPU accelerators, local storage, network adapters, and high-speed interconnects.

CPUs coordinate operating system functions and manage many aspects of workload execution. GPUs perform accelerated computation, while dedicated interconnects allow data to move between devices.

Depending on the server architecture, GPUs may communicate through PCIe, dedicated GPU-to-GPU interconnects, or switching fabrics designed for high-bandwidth accelerator communication.

Conceptual Multi-GPU AI Server Architecture
AI Compute Node Illustrative 4-GPU Configuration
CPU Socket 0 System memory / orchestration
CPU Socket 1 System memory / I/O coordination
Host I/O Fabric — PCIe
GPU 0 Compute + HBM
GPU 1 Compute + HBM
GPU 2 Compute + HBM
GPU 3 Compute + HBM
Optional High-Bandwidth GPU Interconnect Fabric — NVLink / NVSwitch
High-Speed Network Adapters — Ethernet / InfiniBand
Conceptual component view, not a literal wiring diagram. Actual GPU, CPU, PCIe, NVLink, and network-adapter connectivity varies by server platform. NVSwitch is available only on supported architectures.

The internal topology of a GPU server matters because not all communication paths provide equivalent performance.

Data transferred between GPUs through a high-bandwidth accelerator fabric may follow a different path from data exchanged between a GPU and host memory through PCIe.

Engineers must therefore understand the relationship between accelerator placement, memory locality, CPU affinity, and interconnect topology when designing distributed workloads.

02.3 / Memory Architecture

GPU Memory, HBM, and the Importance of Data Locality

GPU processing performance depends heavily on how quickly data can be supplied to execution resources. A GPU with substantial compute capability may remain underutilized if memory access cannot keep pace with computation.

Many data centre AI accelerators use high-bandwidth memory, or HBM, to provide substantial memory bandwidth close to the GPU processing hardware.

HBM capacity influences how much model state, activation data, and intermediate information can reside directly in accelerator memory.

Memory bandwidth determines how quickly data can move between the accelerator memory subsystem and its processing units. Capacity and bandwidth are therefore separate design considerations.

Conceptual Memory Hierarchy
Registers / Cache
On-chip
GPU HBM
Local GPU
Host DRAM
CPU Memory
Persistent Storage
SSD / Distributed Storage
Bars are illustrative and do not represent measured latency, bandwidth, or capacity. Actual memory behavior depends on hardware, access patterns, and system configuration.

The closer data resides to the execution resources, the more efficiently many operations can access it. However, different memory tiers offer different trade-offs between capacity, bandwidth, latency, and cost.

When a model exceeds the memory capacity of a single GPU, engineers may distribute model components across multiple accelerators, use memory offloading, or apply techniques that reduce memory requirements.

These approaches introduce additional communication and coordination requirements. Consequently, memory architecture is closely connected to network and interconnect design.

Engineering Insight — Compute Versus Memory

AI workload performance is not determined by accelerator arithmetic throughput alone. Memory capacity, memory bandwidth, data locality, and communication overhead can become the dominant performance constraints.

02.4 / Accelerator Interconnects

PCIe, NVLink, and NVSwitch: Moving Data Between GPUs

AI servers require high-speed communication paths between CPUs, GPUs, network adapters, and other devices.

PCI Express, commonly called PCIe, provides a general-purpose high-speed I/O interconnect. It is widely used to connect accelerators, network adapters, and storage devices to host systems.

NVLink is an NVIDIA high-bandwidth interconnect technology designed for communication between supported accelerators and, in certain architectures, between CPUs and GPUs.

NVSwitch extends supported NVLink architectures by providing a switching fabric that enables high-bandwidth communication among multiple GPUs.

Technology Primary Role Engineering Consideration
PCIe General-purpose high-speed device connectivity Link generation, lane width, topology, and shared bandwidth
NVLink High-bandwidth communication between supported processors Peer connectivity, bandwidth, topology, and device support
NVSwitch Switching fabric for supported multi-GPU NVLink systems Fabric connectivity, scalability, and collective communication
Ethernet / InfiniBand Communication between computing nodes and networked resources Network bandwidth, congestion, latency, and transport behavior

The distinction between intra-node and inter-node communication is particularly important.

Intra-node communication occurs between devices within the same server or accelerator system. Inter-node communication crosses the external network between computing nodes.

Distributed AI frameworks may use both communication domains during a single training workload.

For example, a model may distribute computations across GPUs within one server while synchronizing information with additional servers over a high-performance network fabric.

02.5 / Engineering Design Example

Scaling from One GPU Server to a Distributed AI Cluster

Consider an illustrative AI infrastructure deployment containing eight compute nodes, each equipped with four GPUs.

This produces a total of 32 accelerators available for distributed workloads. However, the ability to use these GPUs efficiently depends on more than the total accelerator count.

Example — 32-GPU Training Cluster
8 Compute Nodes
4 GPUs per Node
32 Total GPUs

Each server performs local GPU computation. Distributed training software coordinates operations across all participating nodes. The network fabric transports information exchanged between servers, while storage systems provide training data and checkpoint capacity.

If the workload requires frequent synchronization, the network must support the resulting communication volume without introducing excessive delays.

If the model is divided across multiple GPUs, interconnect bandwidth and accelerator topology may influence the efficiency of model-parallel operations.

If training data cannot be delivered quickly enough, accelerators may spend time waiting rather than performing useful computation.

The engineering objective is therefore to balance compute capacity, memory, communication bandwidth, storage throughput, and workload placement.

Section 2 — Engineering Takeaways
  • GPUs accelerate AI workloads through massively parallel computation.
  • CPUs remain essential for operating system functions, orchestration, and I/O coordination.
  • GPU memory capacity and bandwidth can determine whether workloads execute efficiently.
  • PCIe, NVLink, and NVSwitch provide different connectivity capabilities within supported server architectures.
  • Intra-node and inter-node communication must both be considered when scaling distributed AI workloads.
  • Effective AI infrastructure design requires balancing accelerator performance with communication, storage, and software requirements.
Network Insight / AI Infrastructure Engineering Next: Section 03 — AI Cluster Network Architecture
Network Insight · AI Infrastructure Lab 02

Inside an AI GPU Compute Server

Explore accelerated computing, memory locality, GPU interconnects and distributed AI cluster architecture.

Explore the compute node

A conceptual dual-CPU, four-GPU server. Select a GPU to inspect its role, or launch an animated AI workload.

AI ACCELERATED COMPUTE NODE 4 × GPU
CPU Socket 0Host control and scheduling
CPU Socket 1Data preparation and I/O
PCIe Host / Device Fabric
GPU 0HBM + Compute
GPU 1HBM + Compute
GPU 2HBM + Compute
GPU 3HBM + Compute
High-Bandwidth GPU-to-GPU Fabric · Conceptual NVLink / NVSwitch
NIC 0 · Ethernet / InfiniBand
NIC 1 · Ethernet / InfiniBand
GPU 0 · Accelerator

Each GPU executes massively parallel operations. Its local high-bandwidth memory stores tensors, weights and intermediate data.

IdleCurrent workload phase
4Accelerators in this node
2CPU sockets in this example

AI Memory Hierarchy Explorer

Compare conceptual data placement across GPU HBM, host DRAM and remote storage. Adjust the model working set to observe capacity pressure.

80 GB
GPU HBM
80 GB
Host DRAM
512 GB
NVMe
4 TB
Working set fits in HBM

Illustrative single-GPU placement model, not a hardware benchmark. Real frameworks may shard, stream, cache or offload tensors; capacity alone does not predict runtime.

GPU Communication Fabric

Change the interconnect model and see how the communication architecture changes.

NVLink · Direct GPU Communication

Distributed AI Cluster Builder

Scale a conceptual GPU cluster and examine how compute capacity and network communication requirements grow.

8
Leaf–Spine AI Training Network · Ethernet / InfiniBand
32Total GPUs
2,560 GBAggregate HBM (80 GB per GPU)
16NICs (2 per server)
Engineering interpretation

Eight servers provide 32 GPUs. Training across servers introduces inter-node communication, including collective operations such as all-reduce.

Aggregate HBM is the sum of device memory, not a single shared memory pool. GPU memory capacity, NIC count and topology are illustrative design assumptions.

03 AI Infrastructure / Network Architecture

AI Cluster Network Architecture: Designing High-Performance GPU Fabrics

High-performance networking is a foundational component of distributed artificial intelligence. As AI workloads scale beyond individual GPU servers, the network fabric becomes responsible for transporting enormous volumes of data between accelerators, coordinating distributed computation, and maintaining predictable communication performance.

AI cluster networking combines established data centre design principles with demanding requirements for bandwidth, latency, congestion management, and traffic distribution.

Technologies such as leaf-spine architectures, Ethernet, InfiniBand, ECMP, and remote direct memory access provide the foundations for building scalable AI computing environments.

03.1 / Network Requirements

Why AI Workloads Place Different Demands on the Network

Traditional enterprise networks support a diverse mixture of application traffic, client-server communication, database transactions, and distributed services. Network performance is commonly evaluated through availability, throughput, latency, packet loss, and application response times.

Distributed AI training introduces additional communication requirements. When a model is trained across multiple accelerators, participating GPUs may need to exchange gradients, parameters, or intermediate results during repeated computation cycles.

These operations can generate substantial east-west traffic between compute nodes. Some collective communication patterns involve many accelerators exchanging information during coordinated phases of execution.

If network congestion delays communication, participating workers may spend time waiting for synchronization rather than executing useful computation.

High Bandwidth

Distributed training may require substantial aggregate bandwidth between accelerator nodes. Fabric capacity must be designed around workload communication patterns.

Predictable Latency

Communication delays can affect synchronized distributed operations. Tail latency and congestion behavior may be as important as average latency.

Congestion Management

Bursty collective communication can create temporary network hotspots. Queue management, traffic engineering, and transport-level congestion control help manage these conditions.

Scalable Connectivity

AI clusters may expand across racks and network domains. The architecture must provide sufficient path diversity, operational visibility, and capacity for future growth.

The objective is not necessarily to eliminate every microsecond of delay. Instead, engineers must understand the communication characteristics of their workloads and design network capacity and behavior accordingly.

03.2 / Physical Topology

Leaf-Spine Architecture for AI Computing Clusters

Leaf-spine networking is widely used in modern data centres because it provides a scalable topology with predictable path structure and multiple forwarding options between endpoints.

In a conventional two-tier leaf-spine design, compute servers connect to leaf switches. Each leaf switch connects to every spine switch, creating multiple paths between servers attached to different leaf switches.

Traffic between endpoints on different leaves typically traverses a leaf, a spine, and another leaf. Equal-cost multipath routing can distribute eligible flows across available paths.

Conceptual AI Cluster — Leaf-Spine Fabric
Spine 1 Fabric Core
Spine 2 Fabric Core
Leaf 1 Rack Fabric
Leaf 2 Rack Fabric
Leaf 3 Rack Fabric
GPU Node A Compute
GPU Node B Compute
GPU Node C Compute
Spine switches
Leaf switches
GPU compute nodes
Simplified two-tier topology. The animated links represent a conceptual example path, not measured traffic. Production AI fabrics may use additional tiers, rails, or alternative network architectures.

Leaf-spine architectures offer multiple potential paths between compute nodes. However, the presence of multiple paths does not automatically guarantee balanced traffic distribution.

Flow hashing, traffic entropy, routing design, workload communication patterns, and congestion conditions influence how effectively available bandwidth is used.

Large AI fabrics may also employ additional network tiers, rail-oriented designs, or specialized accelerator networking architectures to meet scaling requirements.

03.3 / Network Separation

Front-End and Back-End Network Fabrics

AI computing environments frequently distinguish between front-end and back-end network functions.

The front-end network supports management, workload submission, orchestration, storage access, and communication with external services.

The back-end network is commonly designed to support high-performance communication between accelerator nodes during distributed computing operations.

These functions may use physically separate networks, logically isolated fabrics, or shared infrastructure, depending on scale, operational requirements, and architecture.

Front-End Fabric
Application and Platform Connectivity

Provides connectivity for platform services, cluster management, user access, orchestration, and selected storage or data movement functions.

Typical traffic Management / Services
Primary objective Reliable connectivity
Common technology Ethernet / IP
Back-End Fabric
Accelerator Communication

Supports high-bandwidth communication between distributed GPU workers, including collective operations and synchronization traffic.

Typical traffic GPU-to-GPU / RDMA
Primary objective Communication efficiency
Common technology Ethernet or InfiniBand

Network separation can help engineers isolate performance-sensitive traffic, simplify operational policies, and manage different infrastructure requirements independently.

Nevertheless, separation introduces additional cost, cabling, switching, and operational complexity. The appropriate architecture depends on workload scale and business objectives.

03.4 / Fabric Technologies

Ethernet Versus InfiniBand for AI Networking

Ethernet and InfiniBand are two major networking technologies used in high-performance computing environments. Both can support demanding AI workloads, but they differ in ecosystem, architecture, and operational characteristics.

Ethernet provides a broadly adopted networking foundation with extensive tooling, vendor support, and integration into existing data centre environments.

Ethernet-based AI fabrics may use RoCEv2 to support RDMA communication over IP networks, alongside congestion management mechanisms such as ECN, PFC, and transport-level controls.

InfiniBand is designed for high-performance interconnect environments and provides native RDMA capabilities, fabric management, and specialized communication features.

Characteristic Ethernet InfiniBand
Primary ecosystem Enterprise, cloud, and data centre HPC and accelerated computing
RDMA support RoCE on supported systems Native RDMA architecture
Routing approach Ethernet/IP fabric mechanisms InfiniBand fabric forwarding
Congestion management ECN, PFC, transport controls Fabric-specific mechanisms
Operational integration Broad existing networking ecosystem Specialized fabric ecosystem
Design consideration Congestion engineering and interoperability Fabric architecture and platform support

Neither technology is universally superior. The appropriate choice depends on performance requirements, existing expertise, workload behavior, operational constraints, and the supported hardware ecosystem.

Ethernet-based AI networking is particularly relevant to network engineers familiar with IP routing, ECMP, QoS, telemetry, and data centre fabric design.

03.5 / Capacity Engineering

Oversubscription, ECMP, and Network Capacity Planning

Network oversubscription describes the relationship between the aggregate bandwidth available to connected endpoints and the bandwidth available toward the rest of the network.

A non-oversubscribed design provides sufficient uplink capacity to match the aggregate downstream capacity at the measured boundary.

Oversubscription can reduce infrastructure cost when workloads do not use all available bandwidth simultaneously. However, aggressive oversubscription may create congestion when distributed AI workloads generate synchronized communication bursts.

Illustrative Leaf Switch Capacity Example

Consider a leaf switch with eight 400 Gb/s server-facing ports and four 400 Gb/s spine-facing uplinks.

3.2 Tb/s Downlink Capacity
1.6 Tb/s Uplink Capacity
2:1 Oversubscription Ratio
3.2 Tb/s ÷ 1.6 Tb/s = 2:1

If all connected servers simultaneously attempt to transmit at their full port rates toward remote leaves, the uplinks cannot carry the entire offered load without congestion, buffering, or traffic regulation.

This ratio describes aggregate port capacity at the leaf boundary. It does not predict actual application throughput without considering traffic patterns and protocol behavior.

Equal-cost multipath routing allows eligible traffic to use multiple forwarding paths. However, conventional flow-based ECMP can produce uneven utilization when a small number of large flows hash onto the same path.

Flowlet-based techniques, adaptive routing, and other load-distribution approaches may improve utilization on supported platforms, but they introduce additional design and operational considerations.

Engineering Insight — Bandwidth Is Not Enough

A network fabric can have substantial aggregate bandwidth and still experience localized congestion. Effective AI networking requires understanding traffic placement, flow distribution, queue behavior, and synchronization patterns across the cluster.

03.6 / Cluster Design

Engineering a Network Fabric for a 32-GPU Cluster

Consider the 32-GPU example introduced in the previous section: eight servers, each containing four accelerators.

Suppose each server has a dedicated 400 Gb/s connection to a back-end network fabric. The aggregate server-facing bandwidth is therefore 3.2 Tb/s, measured as the sum of the eight nominal link rates.

This does not mean that every workload will achieve 3.2 Tb/s of useful application throughput. Actual performance depends on communication patterns, protocol overhead, endpoint capability, network topology, and congestion.

Engineers must decide how to distribute servers across leaf switches, how many uplinks each leaf requires, and whether the fabric should be designed for minimal oversubscription.

They must also consider failure domains, redundant connectivity, network telemetry, and the impact of maintenance or link failures on distributed jobs.

For communication-intensive training, the network may be designed with greater bandwidth headroom and closer attention to accelerator placement and traffic locality.

For workloads with lower communication requirements, a more economical design may be sufficient.

Section 3 — Engineering Takeaways
  • Distributed AI workloads can generate intensive east-west communication between accelerator nodes.
  • Leaf-spine architectures provide scalable connectivity and multiple forwarding paths between compute nodes.
  • Front-end and back-end network functions may be separated to manage different traffic requirements.
  • Ethernet and InfiniBand both support high-performance AI networking, with different architectural and operational characteristics.
  • Oversubscription, ECMP behavior, congestion management, and workload placement influence effective network performance.
  • AI fabric design should be driven by actual workload communication requirements rather than bandwidth specifications alone.
Network Insight / AI Infrastructure Engineering Next: Section 04 — RDMA, RoCEv2 and High-Performance Networking
Network Insight / AI Infrastructure Lab 03

Inside the AI Networking Fabric

Investigate how GPU clusters communicate across a leaf-spine fabric. Simulate distributed training traffic, observe congestion, and examine network resilience.

GPU Cluster / Leaf-Spine Fabric Ready
SPINE LAYER LEAF LAYER ACCELERATOR NODES
Active traffic Congestion Failed link
Select a scenario or click a switch/GPU node to investigate.
Fabric Explorer
AI Network Architecture

The spine layer provides paths between leaf switches. GPU servers connect through leaves, while multiple spine paths support load distribution and resilience.

Scenario / Network State
Healthy Fabric
Illustrative Peak Link Utilization
0%
Engineering Focus

Bandwidth, latency, topology, congestion control and distributed communication.

Engineering Insight
Distributed training performance depends on both accelerator processing and communication efficiency. The slowest communication stage can delay synchronized workers.

Network Investigation Dashboard

Illustrative scenario metrics, not measurements from a physical network.

6GPU Nodes
2/2Spines Available
0%Peak Link Load
NormalCongestion State
Why AI Networks Are Different Distributed training generates high-volume accelerator-to-accelerator communication. Collective operations, synchronized execution and bursty transfers can create pressure on the network fabric.
What Network Engineers Investigate Engineers examine ECMP path distribution, queue occupancy, packet drops, ECN marking, RDMA behavior, bandwidth utilization and the impact of failures on collective communication.

Educational model: six GPU endpoints and a two-spine, three-leaf Clos-style fabric. The animations represent logical communication paths. Utilization and congestion values are illustrative scenario assumptions, not results of a packet-level or RDMA simulation. All-reduce is represented through selected peer exchanges rather than a complete collective algorithm.

04 AI Infrastructure / High-Performance Networking

RDMA, RoCEv2 and High-Performance Networking: Inside the Transport Architecture of AI Clusters

Distributed AI workloads depend on efficient communication between computing nodes. When thousands of accelerators exchange gradients, parameters, and intermediate results, conventional network connectivity alone is not sufficient to guarantee predictable performance.

Remote Direct Memory Access, or RDMA, provides a communication model designed to reduce CPU involvement and enable efficient data transfers between registered memory regions.

RoCEv2 extends RDMA communication into routable Ethernet/IP environments, making it an important technology in modern AI networking architectures.

04.1 / Communication Fundamentals

Why RDMA Matters for Distributed AI

Traditional network applications commonly use socket-based communication over TCP/IP. The operating system networking stack manages transport functions, buffering, protocol processing, and application data delivery.

This architecture provides flexibility, reliability, and broad interoperability. However, conventional socket-based communication can introduce CPU overhead, memory copying, and software processing costs that may become significant in high-throughput computing environments.

RDMA provides a different communication model. Supported network adapters can transfer data directly between registered memory regions with reduced involvement from the remote CPU during the data path.

RDMA does not eliminate all CPU processing, nor does it guarantee zero-copy behavior for every application or system configuration. Applications must still establish resources, register memory, manage permissions, and coordinate communication.

Conventional Socket Communication
Application Buffer
↓
Operating System Network Stack
↓
Network Adapter
↓
Remote Host Network Stack
↓
Receiving Application

Conceptual software path. Modern socket implementations may use hardware offloads and zero-copy optimizations.

RDMA Communication
Application / RDMA Work Request
↓
Registered Memory Region
↓
RDMA-Capable Network Adapter
↓
Remote RDMA Adapter
↓
Authorized Remote Memory

Conceptual one-sided RDMA data path. Setup, authorization, completion handling, and application coordination remain necessary.

RDMA is particularly valuable when applications need to move substantial amounts of data efficiently between computing nodes.

Distributed AI frameworks may use RDMA-capable communication libraries to exchange tensors and coordinate collective operations across multiple servers.

04.2 / RDMA Operations

Queue Pairs, Memory Registration, and RDMA Operations

RDMA communication relies on several important resources, including queue pairs, completion queues, and registered memory regions.

A queue pair typically contains a send queue and a receive queue. Applications post work requests that describe communication operations for the RDMA adapter to execute.

Memory registration allows the adapter to access specific memory regions under defined permissions. Access keys help control local and remote memory operations.

RDMA Write

Allows a requester to write data into an authorized remote memory region. The remote application does not need to process each incoming data transfer directly.

RDMA Read

Allows a requester to retrieve data from an authorized remote memory region, subject to transport capabilities and configured permissions.

Send / Receive

Uses message-oriented communication where receive buffers are posted by the receiving side. This differs from one-sided RDMA Read and Write operations.

Completion Queues

Provide completion information for supported work requests. Applications use completions to track communication progress and identify operation errors.

RDMA transport behavior also depends on the selected queue pair type. Reliable Connected transport, commonly abbreviated RC, provides reliable, ordered communication semantics for supported operations.

Other transport types have different capabilities and reliability properties. Understanding these distinctions is important when troubleshooting communication behavior.

04.3 / Packet Encapsulation

Understanding RoCEv2 Packet Structure

RDMA over Converged Ethernet version 2, or RoCEv2, enables RDMA traffic to traverse routable IP networks.

RoCEv2 encapsulates RDMA transport information inside UDP/IP packets, allowing compatible networking infrastructure to forward traffic across Layer 3 boundaries.

The UDP destination port commonly associated with RoCEv2 is 4791. The IP header also enables mechanisms such as Explicit Congestion Notification, or ECN, to signal network congestion.

Conceptual RoCEv2 Ethernet Frame
Ethernet L2 Header
IP IPv4 / IPv6
UDP Port 4791
BTH Base Transport Header
RDMA Data Operation Payload
Integrity / FCS Checks
Simplified packet representation. Actual RoCEv2 frames can include additional RDMA transport headers, optional fields, padding, invariant CRC, and Ethernet FCS. The exact format depends on the operation and transport configuration.

The Base Transport Header contains information used by the RDMA transport, including operation identification and queue pair-related fields.

Additional transport headers may carry addressing or operation-specific information. For example, certain RDMA operations require remote memory addressing and access keys.

From a network engineering perspective, RoCEv2 introduces the challenge of transporting latency-sensitive, high-throughput RDMA traffic across a packet-switched Ethernet/IP fabric.

04.4 / Congestion Management

ECN, PFC, and DCQCN in AI Network Fabrics

AI workloads can generate bursts of traffic when multiple accelerators communicate during synchronized operations.

If incoming traffic exceeds the forwarding capacity of a switch egress port, packets may accumulate in output queues.

Without effective congestion management, queues can grow, latency can increase, and packets may eventually be dropped.

Ethernet-based RoCE deployments commonly use several complementary mechanisms to manage congestion and reduce disruptive packet loss.

Mechanism Function Engineering Consideration
ECN Marks ECN-capable packets to indicate congestion without necessarily dropping them. Queue thresholds and endpoint response behavior.
PFC Applies link-level pause to selected traffic priorities. Head-of-line blocking, pause propagation, and deadlock risks.
DCQCN Endpoint congestion control that uses congestion feedback to adjust RoCE sending rates. Rate adaptation, stability, and compatibility with network configuration.
ECMP Distributes eligible flows across multiple forwarding paths. Flow collisions, traffic polarization, and uneven utilization.

ECN allows a congested switch to mark packets instead of immediately discarding them, provided the packets are ECN-capable and the network is configured appropriately.

In a common DCQCN feedback sequence, congestion-marked packets reach the receiver, which generates Congestion Notification Packets, or CNPs, toward the sender.

The sender's rate-control mechanism then adjusts transmission behavior in response to congestion feedback.

RoCEv2 Congestion Feedback Sequence
01
Traffic Burst
Multiple senders transmit toward a shared destination.
02
Queue Growth
Switch egress queue occupancy increases.
03
ECN Marking
Congested switch marks eligible packets.
04
CNP Feedback
Receiver signals congestion toward the sender.
05
Rate Adjustment
Sender reduces or adapts its transmission rate.
Simplified DCQCN feedback sequence. Exact rate-control behavior and congestion thresholds depend on endpoint and switch implementation.

Priority Flow Control, or PFC, operates differently. It allows a device to pause transmission for selected Ethernet priorities when configured thresholds are reached.

Although PFC can help prevent packet loss under certain conditions, excessive pause propagation can introduce head-of-line blocking and broader performance problems.

Consequently, PFC should not be treated as a substitute for effective end-to-end congestion control.

Engineering Insight — Lossless Does Not Mean Congestion-Free

A fabric engineered to minimize packet loss can still suffer from congestion, queueing delays, pause storms, and unfair bandwidth allocation. Effective RoCE performance requires coordinated switch configuration, endpoint congestion control, and telemetry.

04.5 / Troubleshooting Scenario

Investigating a RoCEv2 Congestion Incident

Consider a distributed AI training workload operating across multiple GPU servers connected through a leaf-spine Ethernet fabric.

During synchronized communication, several senders transmit toward a shared destination. The resulting traffic burst causes increased queue occupancy on a particular leaf switch egress port.

The cluster begins to experience longer synchronization times, even though the GPUs themselves remain operational.

ENGINEERING INCIDENT / ILLUSTRATIVE
AI Training Job — Network Congestion Investigation
85% Illustrative Queue Occupancy
High ECN Marking Activity
Rising Synchronization Delay

The investigation should examine whether congestion is localized to a particular path, whether traffic is unevenly distributed across ECMP links, and whether endpoint congestion feedback is functioning correctly.

Engineers should also inspect PFC pause counters, queue occupancy, packet drops, ECN marking statistics, CNP activity, and application-level performance.

A high ECN marking rate is not automatically evidence of a configuration failure. ECN may be functioning correctly by signaling congestion before packet loss occurs.

Similarly, PFC activity does not always indicate a fault. The concern arises when pause behavior becomes excessive, persistent, or disruptive to unrelated traffic.

Effective troubleshooting requires correlating network telemetry with workload behavior. Engineers must determine whether the root cause is insufficient capacity, traffic imbalance, congestion-control configuration, or the communication pattern generated by the application.

Section 4 — Engineering Takeaways
  • RDMA enables efficient communication between registered memory regions with reduced CPU involvement in supported data paths.
  • Queue pairs, completion queues, memory registration, and access permissions are fundamental RDMA concepts.
  • RoCEv2 encapsulates RDMA transport information over UDP/IP, enabling routable Ethernet-based deployments.
  • ECN, PFC, and DCQCN perform different but complementary congestion-management functions.
  • PFC can introduce operational risks when pause behavior propagates excessively.
  • RoCE troubleshooting requires correlating switch telemetry, endpoint feedback, and distributed workload performance.
Network Insight / AI Infrastructure Engineering Next: Section 05 — Distributed AI Training
Network Insight · AI Infrastructure Lab 04

RDMA & RoCEv2 Network Engineering Lab

Trace GPU traffic, inspect transport headers, control congestion and troubleshoot an AI training fabric.

GPU-to-GPU RDMA Communication

Follow a conceptual RDMA WRITE operation across two AI compute servers and an Ethernet switching fabric.

GPU ASource HBM
RNIC ARDMA engine
Leaf AEthernet
Source server
Network fabric
Destination server
SpineIP forwarding
Leaf BEthernet
RNIC BRDMA target
GPU BTarget HBM
Destination AI Compute NodeRegistered memory · Queue pair · Completion
Ready · RDMA WRITE

Start the transfer to examine memory registration, work queues, RNIC processing, network forwarding and remote memory placement.

Conceptual operation: assumes a pre-established reliable-connected queue pair and correctly registered, authorized destination memory. GPU-direct paths require supported hardware and software.

Inside a RoCEv2 Packet

Select each header to examine how RDMA transport is carried across a routable IP network.

EthernetLayer 2
IPv4 / IPv6Layer 3
UDPPort 4791
IB BTHRDMA transport
RETHWRITE metadata
PayloadData + integrity
Ethernet Header

The Ethernet header carries source and destination MAC addresses and may contain VLAN tagging. The frame is forwarded to the next hop at Layer 2.

Simplified RDMA WRITE Only/First-style view. Exact headers depend on opcode, IP version, VLAN configuration and segmentation. Additional headers, padding, ICRC and Ethernet FCS are not all drawn separately.

RoCEv2 Congestion Control Simulator

Change offered traffic and experiment with ECN marking, priority flow control and simplified DCQCN-style sender adaptation.

120%
Switch egress queue occupancy
EmptyECN threshold: 40%PFC threshold: 80%Full
Queue occupancy history
0%Queue occupancy
100%Sender rate · link capacity
0Congestion signals / drops
Ready to simulate

The model tracks queue buildup and simplified congestion feedback over discrete time steps.

Educational discrete-time model, not a standards-compliant DCQCN implementation. ECN marks traffic, PFC can pause upstream priority traffic, and DCQCN uses congestion feedback to adjust sender rate. Thresholds and rate changes here are illustrative.

AI Training Fabric · Incident Investigation

A distributed training job experiences unpredictable iteration times during a high-volume gradient exchange.

INCIDENT AI-NET-004 · Training slowdown

Multiple GPU workers converge on one oversubscribed egress port. Queue occupancy increases, ECN marks appear, and the training job experiences communication delays.

4 : 1Illustrative offered-to-egress capacity ratio
92%Observed queue occupancy
HighCollective communication delay
Incident evidence

Switch telemetry: sustained queue growth, ECN marking and occasional drops. Endpoint telemetry: elevated collective operation completion time.

Select engineering responses
Investigation pending

Select the actions you would take to stabilize the training network.

05 AI Infrastructure / Distributed Computing

Distributed AI Training: Parallelism, Collective Communication, and GPU Synchronization

Training large artificial intelligence models frequently requires more compute capacity and memory than a single accelerator can provide. Distributed training addresses this challenge by dividing computation, model state, or training data across multiple GPUs and computing nodes.

However, scaling a workload across additional accelerators introduces communication and synchronization requirements that can significantly influence training efficiency.

Understanding data parallelism, tensor parallelism, pipeline parallelism, and collective communication is essential for designing infrastructure that can support large-scale AI training.

05.1 / Distributed Computing

Why AI Training Must Be Distributed

Modern AI models can contain billions of parameters, requiring substantial computational resources and memory capacity during training.

Training involves repeatedly processing data, calculating predictions, evaluating errors, computing gradients, and updating model parameters.

The memory required for training includes more than model parameters. Activations, gradients, optimizer states, temporary buffers, and communication resources can consume significant accelerator memory.

When a workload exceeds the capacity of a single GPU, distributed training allows multiple accelerators to cooperate on the same computation.

The challenge is deciding how to distribute the workload while minimizing communication overhead and maintaining efficient accelerator utilization.

Engineering Principle

Adding GPUs does not guarantee proportional improvements in training throughput. Communication, synchronization, memory access, workload imbalance, and software overhead can limit scaling efficiency.

05.2 / Parallelism Strategies

Data Parallelism, Tensor Parallelism, and Pipeline Parallelism

Distributed AI frameworks use several parallelization strategies to divide training workloads across accelerators.

These strategies differ in how computation and model state are distributed, and each creates different communication patterns.

Data Parallelism
Same Model / Different Data
GPU 0
GPU 1
GPU 2
↓
Gradient Synchronization

Each worker processes a different portion of training data using a model replica. Gradients are synchronized so participating workers can maintain consistent model updates.

Tensor Parallelism
Model Operations Split Across GPUs
Shard A
Shard B
Shard C
↔
Intermediate Tensor Exchange

Individual tensor operations or model components are divided across multiple accelerators. Participating GPUs exchange intermediate results during model execution.

Pipeline Parallelism
Model Layers Assigned to Stages
Stage 1
Stage 2
Stage 3
→
Activations Between Stages

Different portions of the model execute on separate accelerators. Microbatches can move through pipeline stages to improve utilization and overlap work.

Data parallelism is often effective when model replicas fit within accelerator memory and training can be divided across independent data batches.

Tensor parallelism is useful when individual model operations or layers must be distributed across multiple devices. It can introduce frequent communication between accelerators.

Pipeline parallelism divides model execution into stages. Its efficiency depends on stage balance, microbatch scheduling, and communication between pipeline boundaries.

Large-scale systems frequently combine multiple strategies. For example, tensor parallelism may operate within a server, while data parallelism spans multiple servers across the network fabric.

05.3 / Collective Communication

Understanding AllReduce and GPU Synchronization

Distributed training requires participating workers to exchange information during computation. Collective communication operations coordinate these exchanges across groups of accelerators.

Common collective operations include AllReduce, AllGather, ReduceScatter, Broadcast, and point-to-point communication between workers.

AllReduce is particularly important in synchronous data-parallel training. It combines values from participating workers using a reduction operation and makes the resulting values available to every participant.

For example, workers may calculate gradients independently and then use AllReduce to obtain the combined gradients required for consistent model updates.

Conceptual Ring AllReduce — Four GPUs
GPU 0 Worker A
GPU 1 Worker B
GPU 2 Worker C
GPU 3 Worker D
ReduceScatter
+
AllGather
Conceptual ring communication topology. Ring AllReduce typically combines a ReduceScatter phase with an AllGather phase. The diagram illustrates logical communication relationships, not physical network links or packet timing.

In a ring-based AllReduce algorithm, participating workers exchange chunks of data with neighboring workers through repeated steps.

During ReduceScatter, workers combine contributions so that each participant obtains a reduced portion of the data.

During AllGather, the reduced portions are distributed until every worker possesses the complete reduced result.

Communication libraries such as NVIDIA NCCL can select different collective algorithms and communication paths based on hardware topology, message size, and runtime configuration.

Operation Purpose Typical AI Use
AllReduce Reduce values and distribute the result to all participants. Gradient synchronization in data-parallel training.
AllGather Collect distributed data portions at every participant. Reconstructing sharded tensors or parameters.
ReduceScatter Reduce distributed values and scatter portions of the result. Sharded gradient processing and collective algorithms.
Broadcast Distribute data from one participant to others. Model state distribution and initialization.
Point-to-Point Exchange data between selected workers. Pipeline stage communication and activation transfer.

Collective communication can generate substantial network traffic. The impact depends on tensor sizes, collective algorithms, worker placement, network bandwidth, and accelerator interconnect topology.

05.4 / Training Lifecycle

Following a Distributed Training Step

To understand how distributed training affects infrastructure, consider a synchronous data-parallel training step.

Each worker receives a portion of the training data and performs a forward pass through its local model replica.

The backward pass calculates gradients, which are then synchronized across workers before model parameters are updated consistently.

Simplified Synchronous Training Step
01
Data Batch
Workers receive training samples.
02
Forward Pass
Model generates predictions.
03
Backward Pass
Gradients are calculated.
04
AllReduce
Gradients are synchronized.
05
Optimizer
Model parameters are updated.
Simplified logical sequence. Real implementations may overlap gradient communication with backward computation and use sharded optimizer or parameter management strategies.

The synchronization phase creates an important dependency between computation and network communication.

If one worker experiences slower computation or communication, other workers may be delayed at synchronization points.

Consequently, distributed training performance depends on both accelerator efficiency and communication consistency across the cluster.

05.5 / Communication Performance

Estimating AllReduce Communication Cost

Collective communication introduces data movement that must be considered during network capacity planning.

For a simple ring AllReduce with N participating workers and a message containing S bytes, the approximate data transferred per worker across both phases is:

Illustrative Ring AllReduce Calculation
8 Participating Workers
1 GB Message per Worker
1.75 GB Approximate Bytes Sent per Worker
2 × (N − 1) / N × S
= 2 × 7 / 8 × 1 GB
= 1.75 GB

This simplified estimate assumes an ideal ring AllReduce algorithm with evenly divided data chunks. It represents the approximate total data sent by each worker, not the aggregate bytes across the entire cluster.

Actual execution time depends on bandwidth, communication latency, protocol overhead, topology, contention, and implementation details.

The calculation illustrates why collective communication can place substantial demands on AI network fabrics.

However, communication volume alone does not determine training performance. The ability to overlap communication with computation and distribute traffic efficiently can significantly influence results.

05.6 / Engineering Investigation

Troubleshooting Poor GPU Scaling Efficiency

Consider a distributed training job that performs efficiently on four GPUs but experiences disappointing throughput improvements when expanded to sixteen GPUs.

The GPUs are operational, network connectivity is established, and the training application completes successfully.

Nevertheless, synchronization delays increase as additional workers participate.

ENGINEERING INCIDENT / ILLUSTRATIVE
Distributed Training — Scaling Investigation
4 → 16 GPU Count Increase
Rising Collective Communication Time
Uneven Accelerator Utilization

The investigation should begin by comparing compute time, collective communication time, data loading performance, and synchronization delays across participating workers.

Engineers should examine network link utilization, ECMP distribution, congestion indicators, RDMA performance, GPU placement, and interconnect topology.

It is also important to determine whether one worker consistently operates more slowly than the others, creating a synchronization bottleneck.

Poor scaling does not automatically indicate a network fault. The cause may be insufficient workload parallelism, inefficient collective algorithms, small batch sizes, imbalanced pipeline stages, or storage delays.

A useful investigation correlates GPU profiling data, framework communication traces, network telemetry, and application-level training throughput.

Section 5 — Engineering Takeaways
  • Distributed training divides model computation, data, or model state across multiple accelerators.
  • Data parallelism, tensor parallelism, and pipeline parallelism create different communication patterns.
  • Collective operations such as AllReduce and AllGather coordinate data exchange between distributed workers.
  • Ring AllReduce can be modeled as ReduceScatter followed by AllGather.
  • Synchronization overhead, communication topology, and workload imbalance influence scaling efficiency.
  • Effective troubleshooting requires correlating compute, communication, storage, and application behavior.
Network Insight / AI Infrastructure Engineering Next: Section 06 — AI Storage and Data Pipelines
Network Insight / AI Infrastructure Lab 05

AI Workload Orchestration & GPU Scheduling

Explore how an AI platform allocates accelerators, schedules training and inference workloads, manages contention, and responds to infrastructure failures.

AI Compute Cluster / Scheduler Scheduler Ready
Workload Scheduler / Job Queue 0 Jobs

No workloads submitted.

Cluster ready. Submit a workload to begin scheduling.
Scheduler Explorer
GPU Resource Management

AI platforms coordinate accelerator allocation, workload placement and resource availability. Scheduling policies determine which jobs run and which remain queued.

Cluster State
Healthy / Idle
GPU Allocation
0 / 12 GPUs
Engineering Investigation

Resource requests, GPU availability, scheduling constraints and workload placement.

Engineering Insight
Efficient GPU scheduling improves cluster utilization, but workload performance also depends on topology, memory, storage and networking.

Cluster Operations Dashboard

Observe how submitted jobs affect accelerator allocation and scheduler decisions.

12Available GPUs
0Running Jobs
0Queued Jobs
0%GPU Allocation

Scheduler Event Timeline

[SYSTEM] GPU cluster initialized: 3 nodes / 12 accelerators.

Educational scheduler model. Each training job requests four GPUs on one node; each inference job requests one GPU. Jobs run until reset or node failure. Placement is first-fit with whole-GPU allocation. The simulation does not implement Kubernetes, actual GPU execution, preemption, checkpoint restoration, or real scheduling performance measurements.

06 AI Infrastructure / Storage Architecture

AI Storage and Data Pipelines: Feeding GPUs, Distributed Storage, and Checkpoint Performance

High-performance GPUs and network fabrics are only part of an effective AI computing environment. Training and inference workloads also depend on storage systems capable of delivering data at sufficient throughput, supporting concurrent access, and maintaining reliable model state.

If data cannot be supplied quickly enough, expensive accelerators may spend time waiting for input rather than performing useful computation.

AI infrastructure therefore requires coordinated design across storage, networking, data processing, memory, and accelerator resources.

06.1 / Data Movement

Understanding the AI Data Pipeline

AI training begins with data. Depending on the workload, this may include text, images, video, audio, structured records, or large collections of preprocessed training samples.

Before this information reaches the GPU, it may pass through several infrastructure components, including object storage, distributed file systems, preprocessing services, local caches, and host memory.

Each stage introduces potential throughput, latency, and resource constraints.

Conceptual AI Training Data Pipeline
▤
Data Repository Object storage or distributed datasets
≋
Storage Network Transfers data to compute nodes
⚙
Preprocessing Decode, transform, tokenize, batch
▣
Host Memory Prefetch and staging buffers
◆
GPU Memory Training batches consumed by GPU
Simplified data movement model. Real systems may use local NVMe caches, remote direct storage paths, parallel data loaders, or additional processing stages. Some data transformations occur before datasets are stored.

Efficient pipelines attempt to overlap data loading and preprocessing with GPU execution.

Techniques such as prefetching, parallel workers, caching, batching, and asynchronous transfers can help reduce accelerator idle time.

However, increasing the number of data-loading workers does not automatically improve performance. Excessive concurrency may overload storage systems, consume CPU resources, or create network contention.

06.2 / Storage Architecture

Storage Tiers in an AI Computing Environment

AI platforms frequently use multiple storage tiers because no single technology is ideal for every workload requirement.

Capacity-oriented storage provides a repository for large datasets and model artifacts, while higher-performance storage supports active training and repeated data access.

Tier 01 / Local Performance
Local NVMe Storage

High-performance SSDs attached to compute servers can provide low-latency access to cached datasets, temporary files, and selected workload data.

Local storage can reduce repeated network transfers, but capacity and data placement must be managed across nodes.

Tier 02 / Shared Performance
Distributed File Systems

Parallel or distributed file systems can provide shared access to datasets across multiple compute nodes.

Performance depends on storage architecture, metadata operations, client concurrency, network capacity, and workload access patterns.

Tier 03 / Capacity
Object Storage

Object storage provides scalable repositories for datasets, model artifacts, and checkpoints.

It is well suited to large-scale capacity needs, although access characteristics differ from traditional file-system semantics.

A common architecture stages frequently accessed data from capacity-oriented storage into a higher-performance shared or local tier.

The appropriate design depends on dataset size, access frequency, concurrency, recovery requirements, and the available budget.

06.3 / Distributed Storage

Parallel File Systems and High-Concurrency Data Access

Distributed training may involve hundreds or thousands of workers accessing large datasets. Storage systems must support concurrent requests without introducing excessive delays.

Parallel file systems such as Lustre and IBM Storage Scale are examples of technologies used in high-performance computing environments.

These systems distribute storage responsibilities across multiple components, allowing data access to scale beyond the capabilities of a single storage server.

However, parallelism introduces additional engineering concerns. Small-file workloads, metadata contention, uneven data placement, and insufficient client-side concurrency can limit throughput.

Aggregate Throughput

Storage bandwidth must support the combined demand of participating training workers, not merely the performance of an individual client.

Metadata Performance

Large numbers of file opens, directory lookups, and metadata operations can become bottlenecks, particularly with many small training files.

Data Locality

Caching and staging frequently accessed data closer to compute resources can reduce repeated network transfers and improve predictability.

Network Capacity

Storage performance depends on the network connecting clients to storage services. Congestion and oversubscription can limit effective data delivery.

AI storage performance should therefore be evaluated using representative application access patterns rather than relying exclusively on sequential bandwidth benchmarks.

06.4 / GPU Utilization

GPU Starvation: When Storage Becomes the Bottleneck

GPU starvation occurs when accelerators cannot receive sufficient work or data to remain productively occupied.

Although storage is one possible cause, GPU idle time may also result from CPU preprocessing, synchronization delays, application scheduling, or inefficient workloads.

Consider an AI training environment where storage throughput is insufficient to sustain the required batch delivery rate.

Illustrative GPU Busy-Time Comparison
Healthy Pipeline
92%
Slow Pipeline
38%
Illustrative values only, not benchmark results. The comparison represents GPU busy time rather than a specific hardware utilization counter.

The immediate symptom may appear as low GPU utilization, but the root cause could exist several layers away from the accelerator.

Engineers should compare data-loader wait time, storage latency, storage throughput, CPU utilization, network performance, and GPU execution timelines.

This correlation helps distinguish storage bottlenecks from preprocessing limitations or synchronization delays.

Engineering Insight — Follow the Data

When GPUs are idle, investigate the complete data path rather than immediately increasing accelerator capacity. A faster GPU cannot compensate for a pipeline that consistently fails to supply training data.

06.5 / Checkpointing

Model Checkpointing and Storage Bandwidth

Long-running training jobs must protect progress against hardware failures, software errors, interruptions, and planned maintenance.

Checkpointing periodically saves sufficient model and training state to allow a workload to resume.

Depending on the framework and configuration, checkpoints may contain model parameters, optimizer state, scheduler information, and other training metadata.

Large distributed models can generate substantial checkpoint data, creating short periods of intensive storage and network activity.

Illustrative Checkpoint Bandwidth Calculation

Consider a distributed training job that must save a 2 TB checkpoint within a five-minute window.

2 TB Checkpoint Size
300 s Target Duration
6.67 GB/s Minimum Average Write Rate
2,000 GB ÷ 300 seconds
≈ 6.67 GB/s
≈ 53.3 Gb/s

This calculation uses decimal units and represents the minimum sustained logical data write rate.

Real systems require additional headroom for protocol overhead, metadata operations, storage contention, redundancy, and variations in effective throughput.

Checkpoint design involves tradeoffs between checkpoint frequency, storage consumption, application interruption, and potential work lost after a failure.

Techniques such as asynchronous checkpointing, incremental checkpoints, and sharded state storage may reduce disruption, depending on framework capabilities.

06.6 / Engineering Investigation

Troubleshooting a Storage Bottleneck in an AI Cluster

Consider a distributed training workload operating across several GPU servers.

The network fabric is healthy, GPU temperatures are normal, and the application has sufficient accelerator memory.

Nevertheless, training throughput remains below expectations. GPU activity alternates between computation and prolonged idle periods.

ENGINEERING INCIDENT / ILLUSTRATIVE
AI Training Job — Storage Pipeline Investigation
40% Illustrative GPU Busy Time
High Data Loader Wait Time
Rising Storage Read Latency

The investigation should begin by identifying where training workers spend time waiting. Application profiling may reveal that data-loading operations consume a significant portion of each training step.

Engineers should inspect storage throughput, request latency, metadata activity, cache hit rates, network utilization, and CPU preprocessing performance.

The objective is to determine whether the bottleneck originates in storage, the network path, data transformation, or application-level pipeline configuration.

Potential improvements may include dataset sharding, caching, prefetching, larger sequential reads, additional data-loader parallelism, or changes to storage architecture.

Each change should be validated using measured application performance. Improving a storage benchmark does not necessarily improve end-to-end training throughput.

Observed Symptom Possible Cause Investigation
Low GPU activity Input pipeline cannot deliver batches quickly enough. Compare GPU timelines with data-loader wait time.
High metadata latency Excessive small-file operations or metadata contention. Inspect file access patterns and metadata service metrics.
Uneven storage throughput Data placement imbalance, client contention, or network congestion. Correlate per-client throughput and network telemetry.
Long checkpoint pauses Insufficient write bandwidth or synchronous checkpoint overhead. Measure checkpoint duration, write throughput, and job stalls.
Section 6 — Engineering Takeaways
  • AI training performance depends on efficient movement of data from storage into accelerator memory.
  • Local NVMe, distributed file systems, and object storage serve different performance and capacity requirements.
  • Parallel storage performance depends on concurrency, metadata behavior, network capacity, and application access patterns.
  • GPU starvation can result from storage, preprocessing, synchronization, or scheduling bottlenecks.
  • Checkpointing introduces substantial storage and network bandwidth requirements for large distributed models.
  • Effective troubleshooting requires correlating storage, network, CPU, GPU, and application telemetry.
Network Insight / AI Infrastructure Engineering Next: Section 07 — AI Inference Infrastructure
Network Insight · AI Infrastructure Lab 06

AI Storage & Data Pipeline Investigation Lab

Explore the journey from distributed storage to GPU memory. Investigate starvation, throughput constraints and checkpoint performance.

Inside the AI Training Data Pipeline

Follow training data through a simplified four-stage architecture. Select any component to inspect its engineering responsibilities.

▤
Distributed Storage Parallel FS / Object
⇄
Data Ingestion Readers / Network
⚙
Preprocessing CPU / Memory
▦
GPU Training HBM / Compute
StorageRead throughput
PipelineBatch preparation
GPUTraining demand
Pipeline Ready

Start the data journey or select a component to inspect how training data reaches the GPU.

GPU Starvation & Throughput Simulator

Configure three independent capacities. The slowest stage limits the sustainable delivery of training data.

8 GB/s
20 GB/s
24 GB/s
Estimated GPU data-feed efficiency
Data-starved33%Fully supplied
Storage8 GB/s
Preprocessing20 GB/s
GPU Demand24 GB/s
8 GB/sEffective pipeline throughput
67%Estimated data-wait fraction
StoragePrimary limiting stage
Storage bottleneck detected

The storage system cannot supply training data at the rate demanded by the GPUs.

Illustrative steady-state throughput model. Data-feed efficiency is not measured GPU utilization. Real systems also depend on caching, prefetching, batch size, computation time and I/O overlap.

AI Model Checkpointing Simulator

Explore how checkpoint size and effective write bandwidth influence training interruptions.

400 GB
10 GB/s
30 min
Checkpoint write progress
Ready 0%
40 sIdealized write duration
2.2%Estimated synchronous checkpoint overhead
800 GB/hAverage checkpoint data volume
Checkpoint Architecture

Checkpointing protects training progress, but large synchronous writes can interrupt compute operations and increase storage pressure.

Assumes a blocking checkpoint every configured number of minutes of active training, with no overlapping I/O, compression or additional serialization overhead. Animation time is compressed.

Storage Incident · GPU Training Slowdown

A large AI training job has slowed despite healthy GPU hardware and a functioning compute network.

INCIDENT AI-STORAGE-006 · Training throughput degradation

During peak training hours, multiple jobs read datasets from the same storage tier. GPU workers repeatedly wait for the next training batch.

Observed telemetry
95%Storage service utilization
6 GB/sDelivered aggregate read throughput
24 GB/sRequested aggregate data rate
HighGPU input wait time
Read throughput history
Select your corrective actions
Investigation pending

Review the evidence and choose the actions most likely to address the training slowdown.

07 AI Infrastructure / Production Inference

AI Inference Infrastructure: Model Serving, Request Routing, KV Cache, and GPU Performance

AI training creates the model. Inference infrastructure makes that model available to users, applications, and services. Production inference systems must deliver responses with predictable latency while efficiently sharing expensive accelerator resources across concurrent requests.

Unlike training, which focuses primarily on optimizing model parameters, inference focuses on executing a trained model to generate predictions, classifications, embeddings, or new content.

The infrastructure challenge is balancing response time, throughput, GPU memory, concurrency, availability, and operational cost.

07.1 / Inference Architecture

Following an AI Inference Request

A production inference request typically passes through several infrastructure layers before reaching the accelerator executing the model.

These layers may include API gateways, authentication, traffic routing, request queues, inference schedulers, model-serving processes, and accelerator resources.

The response may then be returned as a complete result or streamed incrementally to the requesting application.

Conceptual AI Inference Request Journey
01
Client / API Application submits inference request
02
Gateway Authentication, admission, routing
03
Scheduler Queueing and batch management
04
GPU Model Server Prefill and token generation
05
Response Tokens or prediction returned to client
Simplified serving architecture. Real deployments may introduce additional caching, model routing, load balancing, safety controls, and distributed inference stages.

The request path introduces multiple potential bottlenecks. Queueing delays may occur before the GPU begins processing, while model execution itself depends on accelerator capacity, memory availability, and scheduling behavior.

Network engineers must also consider the connectivity between gateways, model servers, storage services, and distributed accelerator nodes.

07.2 / Execution Phases

Prefill and Decode in Large Language Model Inference

Autoregressive language-model inference is commonly divided into two major execution phases: prefill and decode.

During prefill, the model processes the input prompt and prepares the attention state required for subsequent token generation.

During decode, the model generates output tokens incrementally, using previously computed attention information.

Phase 01 / Prefill
Processing the Input Prompt
What
is
AI
networking?

The model processes the prompt tokens and creates the attention state used for subsequent generation.

Prefill performance is influenced by prompt length, model architecture, compute throughput, and memory behavior.

Phase 02 / Decode
Generating Output Tokens
AI
networks
connect
GPUs...

The model generates output tokens sequentially, updating the attention state as the sequence grows.

Decode performance can be sensitive to memory bandwidth, KV-cache size, batch composition, and accelerator utilization.

These phases create different performance characteristics. Prefill often benefits from substantial parallel computation, while decode can become constrained by memory movement and per-token execution overhead.

Some advanced serving architectures separate prefill and decode workloads across different accelerator resources to optimize scheduling and capacity.

07.3 / Request Scheduling

Dynamic and Continuous Batching

GPU inference becomes more economical when multiple requests can share accelerator resources efficiently.

Batching combines work from multiple requests so the model server can execute compatible operations together.

Static batching waits for a group of requests to be assembled before processing begins. This can improve throughput but may introduce queueing delays.

Continuous batching allows the serving system to update the active request set between generation iterations, admitting new requests as capacity becomes available.

Conceptual Continuous Batching Timeline
Iteration 1
A
A
A
Iteration 2
A
A
B
Iteration 3
A
B
B
C
Iteration 4
B
C
C
Illustrative scheduling concept, not a literal GPU execution trace. A, B, and C represent requests that enter or leave the active scheduling set over time.

Continuous batching can improve accelerator utilization by reducing idle capacity between request groups.

However, larger active batches increase memory consumption and may affect per-request latency.

Production systems must balance batch size, queueing delay, available KV-cache memory, token throughput, and service-level objectives.

07.4 / Memory Architecture

KV Cache and GPU Memory Management

During transformer-based autoregressive inference, attention mechanisms use key and value tensors associated with previously processed tokens.

The KV cache stores this information so the model does not need to recompute the same attention state from scratch at every generation step.

KV-cache memory usage depends on model architecture, number of layers, key/value heads, head dimensions, data precision, sequence length, and concurrent requests.

Long prompts and many simultaneous requests can significantly increase memory pressure.

Illustrative GPU Memory Pressure
Moderate Load
48%
High Load
89%
Illustrative KV-cache capacity occupancy, not measured GPU memory utilization. Model weights, runtime buffers, and temporary allocations also consume GPU memory.

When memory becomes constrained, the serving system may need to limit concurrent requests, reduce batch sizes, evict cached state, or use supported offloading strategies.

Techniques such as paged KV-cache management can reduce memory fragmentation and improve allocation efficiency in supported inference engines.

Engineering Insight — GPU Memory Is a Scheduling Resource

In production inference, available GPU memory influences how many requests can execute concurrently. Capacity planning must consider model weights, KV-cache growth, temporary buffers, and workload variability.

07.5 / Performance Engineering

Latency, Throughput, and Inference Capacity Planning

Inference systems are commonly evaluated using several performance metrics.

Time to First Token, or TTFT, measures the elapsed time between request initiation and the first generated output token becoming available to the client.

Time per Output Token, often measured as inter-token latency, describes the rate at which additional tokens are generated.

End-to-end latency includes the complete request lifecycle, including routing, queueing, execution, and response delivery.

Metric Meaning Engineering Importance
TTFT Time until the first output token is delivered. Interactive responsiveness and initial queueing delays.
Inter-Token Latency Time between successive output tokens. Streaming response smoothness and decode performance.
Tokens per Second Output token generation rate for a request or the serving system. Throughput and capacity efficiency.
Concurrent Requests Number of requests being served simultaneously. Scheduler behavior and memory requirements.
P95 / P99 Latency Response-time percentiles across requests. Tail performance and service reliability.
Illustrative Inference Response Calculation

Consider a request with a time to first token of 400 milliseconds. The model then generates a total of 100 output tokens with an average interval of 25 milliseconds between successive tokens.

400 ms Time to First Token
25 ms Average Inter-Token Interval
2.875 s Approximate Total Response Time
0.4 s + (100 − 1) × 0.025 s
= 2.875 seconds

This simplified calculation assumes the first token is included in TTFT and the remaining 99 tokens are generated at a constant average interval.

Actual latency varies with queueing, batching, prompt length, output length, network conditions, and server scheduling.

Increasing batch size may improve aggregate throughput while also increasing latency for individual requests.

Production inference requires selecting an operating point that satisfies both performance objectives and infrastructure cost constraints.

07.6 / Reliability and Operations

Scaling and Troubleshooting Production Inference

Production inference platforms must handle changing request rates, variable prompt lengths, different model sizes, and occasional infrastructure failures.

Scaling strategies may include adding model replicas, increasing accelerator capacity, adjusting batching policies, and routing requests across multiple serving nodes.

Autoscaling decisions should consider queue depth, request arrival rate, token throughput, latency objectives, and the time required to initialize new model-serving instances.

Request Routing

Distribute requests across healthy model replicas while accounting for capacity, model availability, and workload characteristics.

Autoscaling

Adjust serving capacity using workload-aware metrics rather than relying exclusively on generic CPU utilization.

Observability

Monitor TTFT, token throughput, queue latency, GPU memory, cache occupancy, and request failures.

Availability

Design for replica failures, model-loading delays, network faults, and capacity loss during maintenance.

Troubleshooting inference requires distinguishing application-level delays from scheduler, accelerator, memory, and network bottlenecks.

ENGINEERING INCIDENT / ILLUSTRATIVE
Production AI Service — Rising Response Latency
Rising Time to First Token
High Request Queue Depth
Near Limit KV-Cache Capacity

During a traffic increase, the inference service begins experiencing longer response times. Requests accumulate in the scheduler queue, while GPU memory approaches its configured capacity.

The investigation should compare request arrival rates, active batch sizes, queueing delays, prefill time, decode throughput, and memory occupancy.

Engineers should also determine whether the slowdown affects every model replica or only a subset of serving nodes.

Potential causes include insufficient serving capacity, excessive request concurrency, long-context workloads, inefficient batching, model-loading delays, or network-related failures.

The correct remediation depends on identifying which stage of the request lifecycle is responsible for the delay.

Section 7 — Engineering Takeaways
  • Inference infrastructure serves trained models to applications and users.
  • Production request paths commonly involve gateways, schedulers, model servers, and accelerator resources.
  • Prefill and decode have different compute and memory characteristics.
  • Continuous batching improves scheduling flexibility but introduces latency and memory tradeoffs.
  • KV-cache capacity is a major constraint on concurrent language-model inference.
  • Effective operations require monitoring TTFT, token throughput, queue depth, memory pressure, and tail latency.
Network Insight / AI Infrastructure Engineering Next: Section 08 — AI Infrastructure Security and Operations
Network Insight / AI Infrastructure Lab 07

AI Infrastructure Incident Investigation

Investigate operational failures across GPU compute, networking, storage and distributed training. Analyze telemetry, identify the root cause and apply the appropriate corrective action.

AI Cluster / Operational Topology Incident Active
Infrastructure Telemetry Incident Metrics
Incident 01 / Compute
GPU Underutilization

Observed Symptom

Investigation Focus

Engineering Guidance
Investigate the telemetry before selecting a root cause.

Root Cause Investigation

Select the most likely cause using the available incident evidence.

01 / Identify the Root Cause
02 / Apply Corrective Action

Identify the correct root cause before applying remediation.

Incident Event Timeline

Educational incident scenarios with illustrative telemetry. Each scenario is constructed around a specific root cause. The widget does not collect live infrastructure metrics or execute changes against a real cluster. Real incident diagnosis requires additional evidence and validation.

08 AI Infrastructure / Security and Operations

AI Infrastructure Security and Operations: Zero Trust, GPU Isolation, Observability, Power, Cooling, and Reliability

AI infrastructure must do more than execute workloads efficiently. Production environments require security controls, operational visibility, reliable resource allocation, and physical infrastructure capable of supporting sustained high-density computing.

Large AI clusters combine valuable training datasets, proprietary models, high-performance accelerators, distributed software, and complex network fabrics.

Protecting and operating these environments requires coordinated controls across identity, networking, compute, storage, orchestration, and physical infrastructure.

08.1 / Security Architecture

Applying Zero Trust Principles to AI Infrastructure

Traditional security models often placed considerable emphasis on protecting the perimeter of a trusted network.

Modern AI infrastructure requires more granular security controls because workloads, users, services, and data interact across multiple administrative and infrastructure boundaries.

Zero Trust principles emphasize explicit verification, least-privilege access, and continuous evaluation of trust rather than assuming that internal network location guarantees security.

Conceptual Secure AI Workload Access Path
01
User / Service Requests access to AI resources
02
Identity Policy Authentication and authorization
03
Workload Policy Admission and resource permissions
04
Network Controls Segmentation and protected traffic
05
AI Resources GPU nodes, models and data
Conceptual policy enforcement sequence. In production, security checks can occur at multiple points and may operate continuously rather than as a single linear authorization process.

For example, a training workload may require permission to access a dataset, allocate GPU resources, communicate with distributed workers, and write checkpoints to shared storage.

Each permission should be scoped to the legitimate requirements of the workload.

Security controls must also account for machine identities, service accounts, API credentials, container images, software dependencies, and secrets management.

Engineering Principle

A secure AI cluster should not treat network connectivity as proof of authorization. Identity, workload permissions, data access, and network policy should reinforce one another.

08.2 / Defense in Depth

Five Security Layers in an AI Cluster

AI infrastructure security extends beyond firewalls and network segmentation.

Effective protection combines controls across the entire technology stack.

Layered AI Infrastructure Security Model
01
Identity and Access Authentication, RBAC, workload identities, service credentials, and least privilege.
02
Workload Security Container isolation, image integrity, runtime controls, and admission policies.
03
Network Security Segmentation, network policy, traffic filtering, encryption, and monitoring.
04
Data and Model Security Dataset authorization, encryption at rest, artifact integrity, and checkpoint protection.
05
Infrastructure Security Firmware updates, secure boot where supported, hardware management, physical access, and supply-chain assurance.

These layers provide complementary protection. A network policy may restrict communication between workloads, while identity controls determine which users or services may access sensitive data.

Likewise, software supply-chain controls reduce the risk of deploying compromised components, while runtime monitoring helps identify unexpected behavior after deployment.

08.3 / Multi-Tenant Computing

GPU Isolation and Multi-Tenant AI Clusters

Shared AI infrastructure may support multiple teams, customers, or applications using the same underlying hardware.

Multi-tenancy improves infrastructure utilization but introduces concerns involving resource isolation, data confidentiality, performance interference, and administrative separation.

GPU resources can be allocated using dedicated devices, hardware-supported partitioning on compatible accelerators, or software-managed sharing.

These approaches provide different isolation characteristics and should not be assumed to offer equivalent security guarantees.

Tenant A — Training Workload
GPU 0
GPU 1
GPU 2
Dedicated Resource Allocation

A training workload receives an assigned set of accelerator resources and authorized access to its datasets and storage locations.

Tenant B — Inference Workload
Slice A
Slice B
Slice C
Hardware Partitioning Where Supported

A compatible accelerator may provide hardware-backed GPU partitions for separate workloads. Actual isolation properties depend on the device and configuration.

Multi-Instance GPU, or MIG, is an example of a hardware partitioning capability available on selected NVIDIA accelerator architectures.

However, GPU partitioning alone does not provide complete tenant isolation. Host operating systems, network interfaces, storage permissions, orchestration controls, and management interfaces must also be secured.

Engineers should consider shared-resource contention, device assignment, driver security, interconnect exposure, and the risk of unintended cross-tenant data access.

08.4 / Network Segmentation

Protecting the AI Cluster Network Fabric

AI clusters often contain several logical network functions, including high-performance GPU communication, storage access, management, orchestration, and application traffic.

These functions may have different performance and security requirements.

For example, the training fabric may prioritize predictable collective communication performance, while management networks require tightly restricted administrative access.

GPU Communication Fabric

Carries distributed training traffic, collective operations, and accelerator-to-accelerator communication across nodes. Access should be restricted to authorized participants.

Storage Network

Connects training and inference systems to datasets, model artifacts, and checkpoint repositories. Storage access requires both network and data-level authorization.

Management Network

Supports infrastructure administration, monitoring, firmware operations, and out-of-band management interfaces. Administrative access should be highly restricted.

Application and API Network

Handles client requests, inference traffic, service communication, and application integration. Gateways and workload policies help control exposure.

Network segmentation can use VLANs, VRFs, routed boundaries, firewall policies, Kubernetes network policies, or other isolation mechanisms depending on the environment.

Where RDMA or RoCEv2 is used, engineers must evaluate the compatibility and performance impact of security controls.

Encryption and traffic inspection should be introduced with an understanding of hardware offload, protocol support, and latency requirements.

08.5 / Observability

Monitoring GPU, Network, Storage, and Application Health

AI infrastructure troubleshooting requires visibility across several interconnected technology layers.

A slowdown in model training may originate in GPU execution, distributed communication, storage performance, application scheduling, or physical infrastructure.

Monitoring each component independently is useful, but effective diagnosis requires correlating metrics across the complete system.

AI Infrastructure Observability Architecture
GPU Utilization, memory, power, temperature
Network Throughput, drops, ECN, congestion
Storage IOPS, latency, bandwidth, checkpoint time
Application Step time, collective duration, queue latency
↓
Correlated Telemetry and Incident Analysis Metrics + logs + traces + events
Cross-layer root-cause investigation
Conceptual monitoring architecture. Accurate correlation depends on timestamps, consistent workload identifiers, and sufficient telemetry resolution.

For GPU monitoring, engineers may examine accelerator utilization, memory consumption, power draw, temperature, and hardware error counters.

Network telemetry may include interface throughput, packet drops, congestion indicators, ECN marking, and RDMA-related counters.

Storage monitoring should include read/write throughput, operation latency, metadata activity, and checkpoint duration.

Application metrics provide essential context by revealing whether infrastructure symptoms actually affect training or inference performance.

Infrastructure Layer Important Metrics Potential Issue
GPU Utilization, memory, temperature, power, hardware errors. Thermal throttling, memory pressure, or accelerator faults.
Network Throughput, drops, ECN, PFC, interface errors. Congestion, packet loss, or fabric imbalance.
Storage Latency, bandwidth, metadata activity, checkpoint duration. Data starvation or checkpoint delays.
Application Training step time, collective duration, TTFT, queue depth. Synchronization delays or inference capacity constraints.
Physical Infrastructure Rack power, cooling capacity, inlet temperature, component alarms. Thermal limitations or insufficient facility capacity.
08.6 / Physical Infrastructure

Power Density, Cooling, and AI Cluster Reliability

AI accelerator servers can consume substantial electrical power, particularly when multiple high-performance GPUs operate under sustained computational load.

As rack power density increases, cooling architecture becomes a critical design consideration.

Traditional air cooling may be suitable for some configurations, while higher-density deployments may require liquid-cooling solutions or hybrid approaches.

Facility design must account for power distribution, cooling capacity, redundancy, maintenance access, and failure recovery.

Illustrative AI Rack Power Calculation

Consider an AI rack containing eight accelerator servers, each drawing an average of 8 kW under the modeled operating condition.

8 Accelerator Servers
8 kW Average Power per Server
64 kW Combined Server Power
8 servers × 8 kW
= 64 kW
≈ 218,400 BTU/h

The calculation represents server electrical power only. Rack switches, supporting equipment, conversion losses, and cooling infrastructure must be considered separately.

Nearly all electrical power consumed by computing equipment ultimately becomes heat that must be removed from the environment.

Thermal problems can reduce performance even when the application and network remain healthy.

Accelerator thermal throttling, insufficient airflow, cooling distribution faults, or inadequate facility capacity may affect sustained compute throughput.

Engineers should correlate temperature, power, clock behavior, and workload performance when investigating unexplained reductions in accelerator speed.

08.7 / Engineering Investigation

Investigating a Production AI Cluster Performance Incident

Consider a distributed training environment where application performance suddenly declines during a long-running training job.

The training framework reports longer step durations, but no complete network or accelerator failure has occurred.

Several GPUs show reduced activity, while network telemetry indicates intermittent congestion.

ENGINEERING INCIDENT / ILLUSTRATIVE
AI Cluster — Cross-Layer Performance Investigation
Rising Training Step Duration
Uneven GPU Activity
Bursty Network Congestion

The first objective is to establish whether the performance decline affects every worker or only a subset of nodes.

Engineers should correlate GPU execution timelines with collective communication duration, network congestion indicators, storage latency, and physical infrastructure metrics.

If collective operations become slower at the same time as network congestion increases, the communication fabric becomes a plausible investigation target.

However, a slow GPU worker, storage bottleneck, or thermal limitation may also delay synchronization and produce similar symptoms.

A structured investigation should distinguish the initiating fault from secondary effects observed elsewhere in the infrastructure.

For example, low GPU utilization may be the consequence of network synchronization delays rather than a GPU hardware problem.

Equally, network traffic may appear bursty because application workers reach collective communication phases at irregular intervals.

Engineering Insight — Correlation Is Not Root Cause

Multiple infrastructure metrics may change during an incident. Engineers should use timelines, controlled comparisons, and targeted validation to identify which event initiated the performance decline.

Section 8 — Engineering Takeaways
  • AI infrastructure security requires coordinated controls across identity, compute, networking, storage, and management.
  • Zero Trust principles help reduce implicit trust and enforce least-privilege access.
  • GPU partitioning and workload isolation must be evaluated alongside host, network, and storage security.
  • AI cluster network segmentation should reflect the different requirements of training, storage, management, and application traffic.
  • Observability requires correlating GPU, network, storage, application, and physical infrastructure telemetry.
  • Power density, cooling capacity, and thermal behavior directly influence sustained accelerator performance.
  • Effective incident response depends on identifying root causes rather than treating isolated symptoms.
Network Insight / AI Infrastructure Engineering Next: Section 09 — Designing and Troubleshooting AI Clusters
Network Insight · AI Infrastructure Lab 08

AI Infrastructure Operations & Failure Investigation

Operate a distributed AI cluster. Inject faults, inspect telemetry, diagnose incidents and evaluate recovery strategies.

AI Cluster Operations Dashboard

Select an infrastructure component to inspect its operational role and health indicators.

▦
GPU Compute32 accelerators
⇄
Network FabricLeaf–Spine
▤
StorageTraining datasets
⚙
OrchestrationJob scheduling
AI Training Cluster · Unified Operational Telemetry
92%Illustrative GPU utilization
HealthyNetwork fabric
18 GB/sStorage throughput
4 / 4Running training jobs
Cluster operating normally

All major infrastructure services are available. Select a component to inspect its role or use the failure injection lab to explore operational dependencies.

Network Insight · Failure Injection Engine

Select an infrastructure fault and inject it into the conceptual cluster. Observe how failures propagate into AI training operations.

▦
GPU ComputeWorkers
⇄
NetworkRoCEv2 Fabric
▤
StorageData Pipeline
⚙
SchedulerJob Control
92%GPU utilization
4 / 4Running jobs
HealthyCluster health
NoneTraining impact
Operational Event Timeline
[00:00] CLUSTER_HEALTHY · All services operational
Ready for failure injection

Choose a fault to explore its operational impact.

AI Training Incident Investigation

Diagnose a distributed training slowdown using evidence from compute, networking, storage and orchestration.

INCIDENT AI-OPS-008 · Training iteration slowdown

A 32-GPU training job shows elevated iteration duration. GPU hardware remains available, but collective communication time has increased sharply.

Operational telemetry
99%Network egress queue occupancy
HighECN / congestion feedback
HealthyStorage read latency
NormalGPU hardware error counters
Select the most appropriate investigation actions
Investigation pending

Review the telemetry and select the actions most likely to identify the root cause.

Resilience & Recovery Simulator

Estimate the impact of checkpoint intervals and restart time on lost training progress after a failure.

30 min
10 min
20 min
Recovery simulation progress
Ready 0%
Without a usable checkpoint
— Training progress potentially lost, assuming the job must restart from the beginning
With a usable checkpoint
20 min Training progress lost since the last successful checkpoint
30 minRestart + recomputation
—Progress saved by checkpoint
ReadyRecovery status
1Simulated failure event
Recovery model ready

Configure checkpointing and restart assumptions, then simulate a training failure.

Simplified deterministic recovery model. Assumes a valid checkpoint, full-job restart and a fixed restart time. Actual recovery depends on checkpoint durability, topology, orchestration, model state and failure type.

09 AI Infrastructure / Engineering Architecture

Designing and Troubleshooting AI Clusters: From Architecture to Production Engineering

Designing an AI cluster requires more than selecting powerful GPUs and connecting them to a high-speed network. The complete infrastructure must operate as a coordinated system in which compute, communication, storage, orchestration, security, and physical resources support the requirements of the AI workload.

A successful architecture balances performance, scalability, reliability, operational complexity, and infrastructure cost.

This final section brings together the engineering concepts explored throughout the AI Infrastructure learning journey.

09.1 / Systems Architecture

Designing the Complete AI Infrastructure Stack

AI infrastructure should be designed from the workload requirements downward, rather than beginning with hardware selection.

Engineers must first understand whether the environment will support distributed training, model fine-tuning, inference serving, or a combination of these workloads.

Each workload introduces different requirements for accelerator memory, interconnect bandwidth, storage performance, latency, and resource scheduling.

Layered AI Cluster Reference Architecture
01
AI Workloads Distributed training, fine-tuning, inference, embeddings, and data processing.
02
Software and Orchestration Frameworks, schedulers, containers, distributed runtimes, and resource allocation.
03
Accelerated Compute GPU servers, accelerator memory, CPU coordination, and local interconnects.
04
Network and Storage Leaf-spine fabrics, RDMA, RoCEv2, distributed storage, and data pipelines.
05
Physical Infrastructure Power distribution, cooling, racks, cabling, hardware management, and facility resilience.
Security, identity, observability, and reliability operate across every layer rather than belonging to a single isolated component.

This layered model illustrates an important architectural principle: performance limitations in one layer can reduce the effectiveness of resources in another.

For example, insufficient storage throughput can leave GPUs idle, while network congestion can delay collective communication during distributed training.

The objective is not to maximize every individual component, but to build a balanced system.

09.2 / Network Reference Design

Building an AI Cluster with a Leaf-Spine Fabric

High-performance AI clusters frequently use Clos or leaf-spine network architectures to provide scalable connectivity between accelerator servers.

In a typical two-tier leaf-spine design, each leaf switch connects to multiple spine switches, providing multiple equal-cost paths through the fabric.

This architecture can support high aggregate bandwidth and predictable path characteristics when properly dimensioned.

Simplified AI Cluster Network Architecture
Spine 1 High-Speed Fabric
Spine 2 High-Speed Fabric
Leaf 1 GPU Rack A
Leaf 2 GPU Rack B
Leaf 3 GPU Rack C
GPU Nodes A Training Workers
GPU Nodes B Training Workers
GPU Nodes C Training Workers
Each leaf is logically connected to both spines. Lines are simplified visual indicators, not a complete physical cabling diagram.
Conceptual two-tier Clos topology. Production designs may use additional fabric tiers, multiple NICs per server, separate storage fabrics, or specialized accelerator communication networks.

Network design must consider more than nominal interface speed.

Engineers should evaluate oversubscription, traffic patterns, congestion behavior, routing convergence, failure domains, and the requirements of RDMA-based communication.

RoCEv2 deployments may require carefully engineered congestion management using ECN, endpoint congestion control, and selective PFC configuration where appropriate.

The goal is to support distributed communication without creating excessive queueing, persistent congestion, or avoidable packet loss.

09.3 / Capacity Engineering

Balancing GPU, Network, and Storage Capacity

AI infrastructure capacity planning should begin with measurable workload requirements.

Important inputs include model size, accelerator memory, training parallelism, collective communication patterns, dataset throughput, checkpoint frequency, and inference latency objectives.

Compute Capacity

Estimate GPU count, accelerator memory, expected utilization, model parallelism, and workload execution time.

Network Capacity

Evaluate aggregate traffic demand, link utilization, oversubscription, collective communication, and congestion headroom.

Storage Capacity

Account for datasets, model artifacts, checkpoints, aggregate throughput, and metadata performance.

Physical Capacity

Include rack density, electrical power, cooling, cabling, redundancy, and maintenance requirements.

Illustrative AI Cluster Compute Capacity

Consider a cluster with 16 accelerator servers, each containing eight GPUs.

16 GPU Servers
8 GPUs per Server
128 Total GPUs
16 servers × 8 GPUs
= 128 GPUs

This calculation determines the accelerator count, not the effective performance of the cluster.

Actual training throughput depends on accelerator capabilities, workload efficiency, communication overhead, data delivery, and synchronization behavior.

Capacity planning should also include failure scenarios. A design that meets performance targets only when every component is operational may provide insufficient resilience.

09.4 / Reliability Engineering

Fault Domains, Resilience, and Failure Recovery

Large AI clusters contain many interconnected components, increasing the number of potential failure points.

Individual failures may involve GPUs, NICs, switches, storage systems, power supplies, cooling components, or software services.

Engineers should identify fault domains and understand how failures propagate through the distributed workload.

Node Failure

A failed GPU server may interrupt distributed training workers and require job restart or recovery from a checkpoint.

Network Failure

Link or switch failures may reduce available bandwidth, trigger routing convergence, or interrupt communication depending on topology.

Storage Failure

Loss of storage availability can interrupt data loading, checkpoint operations, or model retrieval.

Facility Failure

Power or cooling problems may affect multiple racks simultaneously, creating a larger correlated failure domain.

Reliability strategies include redundant network paths, resilient storage, checkpointing, workload restart mechanisms, monitoring, and controlled maintenance procedures.

Redundancy alone does not guarantee application continuity. The distributed software stack must also tolerate or recover from infrastructure failures.

09.5 / Troubleshooting Methodology

A Structured Method for Investigating AI Cluster Problems

Troubleshooting AI infrastructure requires a cross-layer approach.

Symptoms observed at the GPU may originate in networking, storage, orchestration, or application behavior.

A disciplined investigation should move from measurable symptoms toward evidence-based root-cause identification.

AI Infrastructure Investigation Framework
01
Define the Symptom

Identify the affected workload, performance metric, time window, and expected behavior. Determine whether the problem is persistent or intermittent.

02
Establish the Scope

Determine whether the issue affects a single GPU, server, rack, network segment, storage service, or the entire cluster.

03
Correlate Telemetry

Compare application timelines with GPU metrics, network congestion, storage performance, and infrastructure events.

04
Form a Testable Hypothesis

Identify a plausible root cause and define evidence that would confirm or reject it.

05
Validate and Remediate

Perform controlled testing, apply an appropriate correction, and verify that application performance returns to the expected baseline.

The investigation should avoid assuming that the most visible symptom identifies the faulty component.

For example, low GPU utilization may indicate insufficient data delivery, synchronization delays, or application scheduling rather than accelerator failure.

09.6 / Cross-Layer Diagnostics

Mapping AI Infrastructure Symptoms to Potential Causes

A useful engineering technique is to map observed symptoms to candidate infrastructure layers before selecting diagnostic tools.

Observed Symptom Possible Cause Investigation
Low GPU Utilization Storage starvation, CPU preprocessing, synchronization delays, or scheduling. Correlate GPU execution timelines with data-loader and communication metrics.
Slow Collective Operations Network congestion, path imbalance, slow workers, or communication overhead. Compare collective duration, link counters, and worker execution timelines.
Checkpoint Delays Storage write bottlenecks, metadata contention, or network saturation. Inspect checkpoint throughput, storage latency, and application pauses.
Inference Latency Increase Queueing, memory pressure, batching behavior, or insufficient replicas. Examine TTFT, queue depth, KV-cache occupancy, and token throughput.
Uneven GPU Performance Thermal throttling, hardware faults, workload imbalance, or communication delays. Compare per-GPU clocks, temperatures, power, errors, and execution time.

The purpose of this diagnostic framework is to narrow the investigation using evidence rather than repeatedly changing infrastructure configuration.

09.7 / Engineering Incident

Case Study: Distributed AI Training Performance Degradation

Consider a 128-GPU training cluster operating across multiple racks in a leaf-spine network.

The workload previously achieved consistent training step times. Following an infrastructure change, performance begins to degrade.

GPUs remain operational, but application profiling reveals increasing time spent waiting for distributed communication.

ENGINEERING INCIDENT / ILLUSTRATIVE
AI Cluster — Training Throughput Degradation
+45% Training Step Duration
Rising Collective Communication Time
Uneven Fabric Link Utilization

The initial evidence suggests a possible communication bottleneck. However, the investigation must determine whether network congestion is the initiating fault or a secondary effect.

Engineers compare training step timelines, per-link utilization, congestion counters, and worker synchronization behavior.

They discover that a subset of fabric paths carries significantly more traffic than expected.

Further investigation identifies an incorrect routing or load-balancing configuration introduced during the infrastructure change.

The configuration reduces effective path diversity and creates congestion on the remaining heavily utilized links.

The remediation involves restoring the intended fabric configuration, verifying route and forwarding behavior, and measuring performance against the previous baseline.

Successful validation requires confirming that congestion indicators decline and collective communication time returns to expected levels.

Engineering Insight — Infrastructure Is a System

A routing configuration error can manifest as reduced GPU training throughput. This is why AI infrastructure engineers need visibility across networking, compute, storage, and distributed applications.

09.8 / Final Architecture Principles

Principles for Building Reliable AI Infrastructure

The most effective AI infrastructure designs begin with a clear understanding of workload requirements and measurable performance objectives.

Hardware selection, network architecture, storage design, scheduling policies, and operational controls should support those objectives as a coordinated engineering system.

AI Infrastructure — Final Engineering Takeaways
  • Design AI clusters around workload requirements rather than hardware specifications alone.
  • Balance accelerator compute capacity with network, storage, and memory performance.
  • Use scalable network architectures with appropriate bandwidth, congestion management, and failure resilience.
  • Understand the communication requirements of distributed training and model parallelism.
  • Engineer storage pipelines to sustain GPU execution and support reliable checkpoint recovery.
  • Optimize inference infrastructure for latency, throughput, memory efficiency, and availability.
  • Apply security controls across identity, networking, compute, storage, and management.
  • Correlate telemetry across infrastructure layers to identify root causes during incidents.
  • Validate architectural changes using measurable application performance rather than isolated component benchmarks.

AI infrastructure engineering ultimately requires understanding how individual technologies interact under real workload conditions.

GPUs, high-speed networks, distributed storage, orchestration systems, and operational controls deliver the greatest value when designed and managed as a unified architecture.

Network Insight / AI Infrastructure Engineering Editorial Learning Journey Complete
Network Insight · AI Infrastructure Lab 09

AI Infrastructure Architecture Design & Capstone

Design a distributed AI training platform, identify bottlenecks, inject failures and evaluate the engineering quality of your architecture.

Design Your AI Training Cluster

Configure the major infrastructure resources. Your design will be shared across the bottleneck, failure and review modes.

8
4
400 Gb/s
40 GB/s
▦
GPU Compute 32 accelerators
⇄
Network Fabric 400 Gb/s
▤
Storage System 40 GB/s
AI Training Fabric · Distributed GPU Communication & Data Delivery
32Total accelerators
2.56 TBAggregate GPU HBM
16Illustrative NIC count
32 kWIllustrative GPU-only power
Architecture configured

Your design is ready for analysis. Explore the next tabs to identify resource limitations and operational risks.

Infrastructure Bottleneck Analyzer

Compare configured network and storage capacity with an illustrative workload demand that scales with the GPU count.

Compute Scale

32 GPUs

Network Demand

—

Storage Demand

—

—Illustrative network demand
—Illustrative storage demand
—Primary resource constraint
—Lowest capacity headroom
Analysis ready

Change the architecture configuration to observe how workload demand scales.

Educational sizing assumptions: each GPU contributes 20 Gb/s of modeled network demand and 1 GB/s of modeled storage demand. Fabric capacity is treated as an aggregate usable budget. These are not hardware specifications or universal AI workload requirements.

Architecture Failure Simulator

Inject a failure into the configured infrastructure and observe how available resources change.

▦
ComputeGPU servers
⇄
NetworkFabric capacity
▤
StorageData delivery
32Available GPUs
400 Gb/sAvailable fabric capacity
40 GB/sAvailable storage throughput
HealthyArchitecture status
Failure Event Timeline
[00:00] ARCHITECTURE_READY · Baseline resources available
Ready for failure injection

Select a failure to investigate how the architecture responds.

AI Infrastructure Design Review

Evaluate your architecture against a fixed educational workload profile and operational requirements.

— Architecture readiness score · illustrative / 100
Compute Scale—
Network Capacity—
Storage Capacity—
Failure Tolerance—
Design review pending

Run the review to evaluate compute scale, network headroom, storage capacity and basic compute failure tolerance.

The score is a teaching aid, not a production architecture certification. Real reviews must include workload profiling, network topology, redundancy, power, cooling, software compatibility, security, availability objectives and cost.

☕
Support Network Insight
Help support the development of interactive networking labs, BGP simulations, and educational content.
Support the Project
Premium Blog Scenario11.001

BGP Solutions and Insights

Interactive BGP Learning Environment

BGP is often introduced as the protocol used to exchange routing information between Autonomous Systems. While that definition is correct, understanding BGP properly requires looking beyond the protocol itself and understanding the networks, routing domains, policies, and forwarding infrastructure in which it operates.

The Internet is a network of independently operated Autonomous Systems, each with its own infrastructure, addressing, routing policies, and operational requirements. BGP provides the interdomain routing mechanism that allows these networks to exchange reachability information and apply policy when determining which routes to accept, prefer, and advertise.

The interactive components in this section build that understanding progressively.

The Internet: A Network of Networks establishes the foundation by introducing Autonomous Systems, ASNs, interconnection, and the role of BGP in exchanging reachability between independently operated routing domains. The objective is to understand why an interdomain routing protocol is required when no single organisation controls the entire Internet.

Inside an Autonomous System then moves inside an individual routing domain. An Autonomous System can contain many routers, links, and routing functions. The section shows how eBGP connects different Autonomous Systems, how iBGP distributes BGP information within an AS, and how an IGP provides the internal reachability required to reach routers and BGP next hops.

How BGP Routes Move Through the Network follows the routing information itself. A prefix can be originated, advertised in a BGP UPDATE, received by another BGP speaker, and propagated according to BGP rules and local routing policy. As the route crosses AS boundaries, attributes such as AS_PATH provide information about the route’s interdomain propagation, while other attributes influence how the route is evaluated and advertised.

How BGP Selects a Path brings these concepts together. A BGP speaker can learn multiple routes to the same destination and must evaluate those candidates using its configured decision process. Attributes such as LOCAL_PREF, AS_PATH, ORIGIN, MED, and platform-specific attributes such as Cisco Weight can influence the selection.NEXT_HOP and other attributes also contribute to route resolution and forwarding, while communities are commonly used to carry policy information between BGP speakers.

Together, these interactive components establish a visual foundation for understanding BGP:

The network → The Autonomous System → Route movement → Path selection

The goal is not to reproduce every detail of a production BGP implementation. Instead, the visualisations make the relationships between networks, BGP speakers, routing information, policy, path attributes, and forwarding easier to understand. This provides the foundation for the more detailed protocol concepts, configuration examples, and hands-on BGP labs that follow.

ENGINEERING GUIDE · BGP

Interactive BGP Learning Environment

Understanding BGP requires more than knowing its commands or memorising the best-path sequence. BGP operates across interconnected Autonomous Systems, exchanges reachability information, applies routing policy and ultimately influences how traffic is forwarded through the network.

!
Engineering Observation The most useful way to understand BGP is to follow the relationship between the network, the route, the policy and the forwarding decision — and then use the simulator to investigate what actually happens.
01 · NETWORK

The Internet

Understand why the Internet is a collection of independently operated Autonomous Systems and why BGP is required between them.

02 · ARCHITECTURE

Inside the AS

See how IGP, iBGP and eBGP divide the work of internal reachability, route distribution and interdomain connectivity.

03 · PROPAGATION

Route Movement

Follow a prefix through BGP UPDATEs, route reception, policy processing, propagation and route installation.

04 · DECISION

Best Path

Examine how multiple valid candidates are compared using policy and BGP path attributes to determine the preferred route.

BGP Learning Model
AUTONOMOUS SYSTEMS
→
BGP UPDATE
→
ROUTE PROPAGATION
→
PATH SELECTION
→
FORWARDING
Engineering View

BGP is a control-plane decision system that determines how reachability information is learned, evaluated and propagated.

Prefixes UPDATEs Policy Attributes RIB FIB
BGP PREMIUM GUIDE

BGP Learning Path

Start with the structure of the Internet, move inside an Autonomous System, follow how BGP routes propagate, and finish with the logic behind best-path selection.

FOUNDATION ARCHITECTURE PROPAGATION DECISION
☕
Support Network Insight
Help support the development of interactive networking labs, BGP simulations, and educational content.
Support the Project
Interactive BGP Lab

Take the BGP Concepts Into the Lab

Reading explains how BGP works. The simulator lets you observe the routing system as it operates. Explore BGP sessions, route propagation, attributes, best-path decisions and network behaviour through an interactive engineering environment.

01 Understand Build the conceptual model from the BGP architecture and routing principles explained in this article.
02 Investigate Open the simulator and inspect routers, BGP sessions, routes, attributes and protocol state.
03 Experiment Change the network conditions and observe how BGP propagation and path selection respond.
BGP Core Simulator

Move from theory to hands-on BGP engineering. Explore the control plane, routing decisions and protocol behaviour in an interactive environment.

🚀 LAUNCH BGP SIMULATOR
Opens the BGP Core Simulator in a new browser tab.
BGP CONTROL PLANE REFERENCE

How the BGP Control Plane Fits Together

Explore the major components involved when BGP receives routing information, evaluates candidate paths, selects a best route, and programs forwarding.
Interactive Reference
P
BGP Peers
Neighbors establish sessions and exchange routing information.
BGP
BGP Control Plane
Receives routing information, applies policy, maintains candidate paths and selects routes.
U
BGP UPDATE
Carries NLRI, path attributes and withdrawals.
A
Path Attributes
Weight, Local Preference, AS Path, MED, Communities and more.
✓
Best Path
Candidate routes are compared using the BGP decision process.
R
RIB / FIB
The selected route is installed for forwarding.
Selected Component
BGP Control Plane
The BGP control plane receives routing information, applies routing policy, maintains candidate paths and runs the best-path decision process.
Interactive component
Control-plane relationship
Click any component to explore

The Internet: A Network of Networks

FOUNDATION · THE INTERNET
The Internet Is a Network of Networks
BGP exists because the Internet is made up of many independently operated networks. These networks must exchange reachability information without giving up control of their own infrastructure or routing policy.
BGP
FOUNDATION
AS
01 · NETWORKS
Autonomous Systems
Independent routing domains operate their own infrastructure, addressing and routing policies.
→
BGP
02 · CONTROL PLANE
Reachability
BGP exchanges IP prefix information between BGP speakers and applies policy to the routes being learned and advertised.
→
RIB
03 · ROUTING
Route Selection
Each BGP speaker evaluates the routes it knows and selects a preferred path according to its policy and decision process.
→
FIB
04 · DATA PLANE
Traffic Forwarding
The selected route can be installed for forwarding so packets can reach their destination through the network.
KEY IDEA
BGP does not create the Internet. It provides the interdomain routing mechanism that allows independently operated networks to exchange reachability, apply routing policy, and make their own path-selection decisions.
IN THIS SECTION
AS Autonomous Systems BGP Interdomain Routing ROUTES Reachability TRAFFIC Forwarding
Network Insight · BGP Engineering Use Case

Investigating Internet Reachability

Start from the enterprise router and investigate how BGP provides reachability to networks located in other Autonomous Systems. Use the simulated CLI to inspect neighbours, routes and routing state.

Internet Connectivity
AS Relationships
ISP-A AS 65001 Established
ISP-B AS 65002 Established
ISP-C AS 65003 Established
Enterprise R1 AS 65010 3 BGP Neighbours
Remote Network AS 65020 10.10.10.0/24
BGP Relationship
Established
Enterprise Router CLI
Simulated
R1#
show ip bgp summary
BGP router identifier 10.255.255.1 Local AS number 65010 Neighbor AS State/PfxRcd 192.0.2.1 65001 Established 192.0.2.2 65002 Established 192.0.2.3 65003 Established

What You See

R1 has three established external BGP sessions, each connecting the enterprise to a different Autonomous System.

What It Means

BGP allows independently operated networks to exchange reachability information across AS boundaries.

Engineering Principle

The Internet is a network of independently operated Autonomous Systems connected through routing relationships.

FOUNDATION · THE INTERNET

The Internet Is a Network of Networks

BGP exists because the Internet is not one centrally operated network. It is a collection of independently managed Autonomous Systems that connect to one another and exchange reachability information.

Internet Architecture · Independent Routing Domains
AS 65001 Provider Internet connectivity and external reachability
AS 65002 Transit Provides connectivity between other networks
AS 65010 Enterprise Owns internal infrastructure and routing policy
AS 65020 Cloud Hosts services and advertises reachable prefixes
BGP
Interdomain REACHABILITY
01 · Independence Each AS operates its own network

Infrastructure, addressing, routing policy and operational decisions remain under the control of the organisation operating the AS.

02 · Interconnection Networks establish routing relationships

BGP speakers exchange reachability information across AS boundaries so destinations can become reachable through neighbouring networks.

03 · Reachability Prefixes describe destinations

BGP advertises IP prefixes and associated path information rather than carrying the user packets themselves.

04 · Policy Each AS makes its own decisions

Networks can decide which routes to accept, prefer and advertise according to their own routing policies.

B
BGP · Control Plane

BGP exchanges reachability information between BGP speakers and provides the information used to evaluate and select routes.

→
Forwarding · Data Plane

Once routing information has been selected and resolved, the forwarding plane uses the resulting information to move packets toward their destinations.

!
Engineering Principle BGP does not create a single global routing authority. It allows independently operated Autonomous Systems to exchange reachability information while retaining control over their own routing policy.

The Internet is a vast “network of networks” — a global system of independently operated networks, including Internet service providers, enterprises, cloud providers, universities, and government organisations. These networks interconnect using shared protocols and standards, with BGP providing the primary mechanism for exchanging reachability information between Autonomous Systems. Each network manages its own infrastructure, routing policies, and operational requirements while participating in a larger, interconnected system.

Each Autonomous System contributes to the global routing system by originating or advertising IP prefixes that it is authorised to announce, while learning reachability to prefixes available through other networks. BGP allows these independently administered networks to exchange this information without requiring a central routing authority. As routes are learned and withdrawn, each network applies its own policies to determine which paths it will accept, prefer, and advertise to its neighbours.

This distributed model is fundamental to the resilience of the Internet. A network can have multiple connections to different providers or neighbouring Autonomous Systems, allowing alternative routes to exist when a link or routing path becomes unavailable. When a route is withdrawn or a topology changes, BGP can propagate the new reachability information so that affected networks can recalculate their available paths. The result is not a single global routing table controlled by one organisation, but a collection of interconnected routing domains making independent decisions based on shared protocols and local policy.

Because the Internet is composed of many independently operated networks, its topology and routing behaviour are constantly evolving. Links are added and removed, policies change, prefixes are originated or withdrawn, and business relationships influence how routes are exchanged. BGP provides the interdomain framework that allows these changes to propagate across the network while preserving the autonomy of each participating organisation.

Understanding this structure is essential to understanding BGP. Before examining how BGP selects between competing routes, it is important to understand what exists inside the Autonomous Systems that originate, receive, and propagate those routes.

NETWORK INSIGHT · BGP SERIES

How the Internet Connects

Before understanding BGP, understand the network it was designed for: an Internet made from thousands of independently operated Autonomous Systems that exchange reachability and carry traffic between one another.

Internet Topology
CONTROL + DATA PLANE
Data traffic
BGP control plane
Active scenario
Internet Traffic Journey
Step 0 / 7
READY

Follow traffic across the Internet

Run the scenario to see how traffic moves between independently operated networks and where BGP fits into the process.

Selected Object

The Internet

The Internet is not one network. It is a collection of independently operated networks interconnected using common protocols.

Key Concepts

Inside an Autonomous System

ARCHITECTURE · INSIDE THE AS
What Exists Inside an Autonomous System?
An Autonomous System is not a single router. It is a collection of routers, links and routing functions operating under a common administrative and routing-policy framework.
AS
ARCHITECTURE
IGP
01 · INTERNAL REACHABILITY
IGP
OSPF, IS-IS and other IGPs provide internal reachability between routers and help resolve BGP next hops.
iBGP
02 · BGP INFORMATION
iBGP
iBGP distributes BGP reachability information between BGP speakers inside the same Autonomous System.
eBGP
03 · AS BOUNDARY
eBGP
eBGP exchanges reachability information between neighbouring Autonomous Systems.
FIB
04 · DATA PLANE
Forwarding
Once a route is selected and resolved, the forwarding plane uses the resulting information to move packets.
IMPORTANT DISTINCTION
BGP and the IGP perform different jobs. BGP determines which routes are preferred and distributes BGP reachability information. The IGP provides the internal IP reachability required to reach BGP next hops. The forwarding plane then moves the actual packet.
INSIDE AN AS
IGP Internal Reachability iBGP BGP Information eBGP AS Connectivity FIB Packet Forwarding
Network Insight · BGP Engineering Use Case

Inside an Autonomous System

BGP does not operate alone inside an enterprise network. Use this interactive view to see how eBGP, iBGP and the IGP work together to move routing information from an external network toward the routers that ultimately forward traffic.

Inside AS 65010
Control Plane
Autonomous System 65010
R1 AS 65010 Internal
R2 AS 65010 Core Router
R3 AS 65010 BGP Edge
ISP AS 65001 eBGP
Remote Prefix 10.10.10.0/24 External
eBGP
iBGP
IGP
Router Investigation
Simulated
R3#
show ip bgp summary
BGP router identifier 10.255.255.3 Local AS number 65010 Neighbor AS Relationship 10.255.255.1 65010 iBGP 10.255.255.2 65010 iBGP 192.0.2.1 65001 eBGP BGP state: Established

What You See

R3 has both an external eBGP relationship and internal routing relationships within AS 65010.

What It Means

BGP exchanges external reachability while the IGP provides the internal reachability required to reach BGP next hops.

Engineering Principle

eBGP connects Autonomous Systems, iBGP distributes BGP information within an AS, and the IGP provides internal IP reachability.

ARCHITECTURE · AUTONOMOUS SYSTEM

Inside an Autonomous System

An Autonomous System does not use BGP for every routing function. Internal reachability, external route exchange, path selection and packet forwarding are separate engineering functions that work together.

Inside the AS
IGP Provides internal reachability between routers and establishes the paths used to reach next-hop addresses.
Internal Routers Maintain routing information and provide connectivity across the Autonomous System.
CONTROL PLANE
BGP

BGP carries interdomain reachability information and applies routing policy to determine which available path should be used.

eBGP → RIB → Best Path → FIB
AS Boundary
eBGP Exchanges reachability information with routers belonging to another Autonomous System.
External Prefixes Routes learned from other ASs become candidates for local policy and best-path selection.
01
IGP

Answers the internal reachability question: How do I reach the next hop?

02
iBGP

Distributes BGP reachability information between routers inside the same Autonomous System.

03
eBGP

Exchanges routing information across an Autonomous System boundary.

04
FIB

Converts the selected routing decision into forwarding information used by the data plane.

Engineering Principle

BGP is the control-plane decision system, not the forwarding mechanism. The routing process selects a path; the FIB is then programmed so packets can actually follow that decision.

Inside an Autonomous System (AS), routers operate within a common administrative and routing-policy domain. The AS controls its internal topology, addressing, and routing decisions, allowing operators to engineer traffic, provide redundancy, and manage connectivity according to their own operational requirements. An AS may contain anything from a small collection of routers to thousands of devices spanning multiple regions, data centres, and network segments.

Internal routing is typically provided by an Interior Gateway Protocol (IGP) such as OSPF or IS-IS in service-provider environments, with protocols such as EIGRP also used in some enterprise networks. The IGP is responsible for providing reachability within the AS, while BGP handles the exchange of interdomain and, where required, internal BGP routing information. This distinction is important: BGP determines which route is preferred, while the IGP can provide the underlying reachability needed to reach the BGP next hop.

Because the routers within an AS are operated under a common administrative framework, the network can be engineered around its own requirements. Operators can use IGP metrics, areas or levels, summarisation, routing policy, redundancy mechanisms, and traffic-engineering techniques to influence how traffic moves through the network. The objective may be rapid convergence, efficient use of links, predictable forwarding, geographic resilience, or isolation of particular services and workloads.

The internal architecture of an AS varies considerably depending on its purpose and scale. Some networks use traditional core, distribution, and access layers, while others use provider backbones, regional architectures, data-centre fabrics, MPLS-based networks, or overlay technologies. These different designs can coexist within the same Autonomous System, with different routing protocols and mechanisms serving different roles.

From outside the AS, however, the internal topology is generally abstracted. External BGP peers do not normally need visibility into the AS’s complete internal IGP structure. Instead, the AS presents its external neighbours with BGP reachability information and applies its own policies to determine which routes are accepted, preferred, and advertised.

This separation between internal reachability and external routing policy is fundamental to understanding BGP. eBGP connects an AS to neighbouring Autonomous Systems, iBGP distributes BGP information within the AS, and the IGP provides the internal reachability required to support the resulting forwarding decisions.

BGP ARCHITECTURE

Inside an Autonomous System

An autonomous system is not a single router. It is a collection of routers and links working together. IGP provides internal reachability, iBGP distributes BGP information, and eBGP connects the AS to other networks.

Inside AS 65001
Click a router or link to inspect it
AS
AS64500
External AS
R1
R1
Edge
R2
R2
Core
R3
R3
Core
R4
R4
Edge
AS
AS64510
External AS
ARCHITECTURE VIEW

One AS, multiple routing roles

An autonomous system contains multiple routers. Different routing functions operate across those routers: IGP maintains internal reachability, iBGP distributes BGP information, and eBGP connects the AS to neighbouring autonomous systems.

What to notice
The purple links represent the internal routing domain. The cyan dashed links represent iBGP sessions. Orange links mark the boundaries where this AS communicates with another AS.
IGP
Internal reachability
iBGP
BGP information
eBGP
AS boundary

How BGP Routes Move Through the Network

ROUTING · BGP PROPAGATION
How Does a BGP Route Move Through the Network?
A BGP route does not simply appear everywhere at once. It is originated by a router, carried inside BGP UPDATE messages, propagated according to policy, evaluated by receiving routers, and eventually installed into the forwarding plane.
ROUTE
LIFECYCLE
NLRI
01 · ROUTE ORIGINATION
A Prefix Is Introduced
A router originates or learns a prefix and creates BGP reachability information for that destination.
UPDATE
02 · BGP UPDATE
Reachability Is Advertised
The router sends a BGP UPDATE containing the prefix and its associated path attributes to a neighbour.
PATH
03 · PROPAGATION
The Route Travels
Other BGP speakers receive the route and may advertise it onward, subject to BGP rules and routing policy.
RIB
04 · ROUTE EVALUATION
Paths Are Compared
A router evaluates available paths using BGP attributes such as Local Preference, AS_PATH, MED and other criteria.
FIB
05 · FORWARDING
The Selected Route Is Used
Once the best path is selected and the next hop is resolved, the resulting route can be installed for forwarding.
IMPORTANT DISTINCTION
BGP carries reachability information — not the user packet. BGP UPDATE messages distribute routing information through the control plane. The forwarding plane uses the resulting routing information to determine where actual packets should go.
ROUTE LIFECYCLE
NLRI Prefix UPDATE Advertisement PATH Propagation RIB Selection FIB Forwarding
Network Insight · BGP Engineering Use Case

Tracing a BGP Route Through the Network

Follow a BGP route from the moment an UPDATE is received through NLRI processing, RIB-IN, policy and routing state. The objective is to understand how BGP processes reachability information before the forwarding plane can use it.

BGP Route Lifecycle
Control Plane
Route Destination
10.10.10.0/24
Follow the route as routing information moves through the BGP control plane.
01
UPDATE
BGP message received
02
NLRI
Prefix identified
03
RIB-IN
Candidate route stored
04
POLICY
Import policy evaluated
05
RIB / FIB
Routing state installed
BGP Route Processing
NLRI 10.10.10.0/24
NEXT HOP 192.0.2.1
AS PATH 65001 65020
Route Investigation CLI
Simulated
R1#
show bgp update received
BGP UPDATE received NLRI 10.10.10.0/24 NEXT_HOP 192.0.2.1 AS_PATH 65001 65020 ORIGIN IGP Status: UPDATE RECEIVED

What You See

The router has received a BGP UPDATE containing reachability information for 10.10.10.0/24.

What It Means

The UPDATE is control-plane information. It describes how the router can reach a destination prefix.

Engineering Principle

A BGP route is processed by the control plane before the resulting routing information can be used for forwarding.

PROPAGATION · BGP ROUTE LIFECYCLE

How a BGP Route Moves Through the Network

A BGP route is not simply “sent” from one router to another. Reachability information is advertised, received, evaluated, stored and ultimately converted into a forwarding decision.

01
NLRI

A network prefix represents a reachable destination.

02
UPDATE

BGP advertises the prefix together with path attributes.

03
RIB-IN

The receiving router stores routes learned from its BGP peers.

04
BEST PATH

Policy and BGP attributes determine which candidate wins.

05
FIB

The selected route becomes forwarding information for packets.

Example NLRI
10.10.10.0/24 Reachable destination prefix
BGP UPDATE · Path Information
AS_PATH Path through autonomous systems
NEXT_HOP Next-hop information
LOCAL_PREF Local routing preference
MED Multi-exit discriminator
Engineering Principle

BGP carries reachability information, not user traffic. The UPDATE changes the control-plane view of the network. The resulting routing decision is then reflected in the forwarding plane through the FIB.

BGP routes are exchanged between BGP speakers and propagated according to the relationships between those speakers, their routing policies, and the rules of BGP. A route may enter an Autonomous System through an eBGP session, where the receiving router evaluates the advertisement and applies local policy before making the route available to its BGP process. The route may then be advertised to other BGP speakers within the AS using iBGP.

When a route is learned from an eBGP neighbour, its BGP attributes describe characteristics of the route and its path. Some attributes are received from the neighbour, while others may be modified or assigned through local policy before the route is advertised onward. For example, LOCAL_PREF can be set to influence the preferred exit point from the AS, while AS_PATH is modified when a route is advertised across an AS boundary. NEXT_HOP identifies the address that must be resolved to reach the destination, while MED can provide a neighbouring AS with information about a preferred entry point where the comparison is applicable.

Within an AS, iBGP can distribute BGP routes between internal speakers without adding the local AS to the AS_PATH. In common eBGP-to-iBGP propagation, the NEXT_HOP is preserved, meaning that internal routers may need the IGP to provide reachability to the BGP next hop. The IGP therefore plays a supporting role: it does not select the BGP route, but it provides the underlying IP reachability required to resolve the next hop and ultimately forward traffic.

The way routes propagate through an AS is also influenced by BGP policy and topology. Filtering can determine which routes are accepted or advertised, routing policy can modify attributes, and mechanisms such as route reflection can control how routes are distributed between iBGP speakers. As a result, not every BGP speaker necessarily receives every route, and different routers can have different sets of candidate paths from which to make their own best-path decisions.

Route reflectors are commonly used to scale iBGP deployments by reducing the number of individual peering relationships required. Rather than requiring every iBGP router to form a session with every other iBGP router, route reflectors can advertise routes between clients and other BGP speakers according to the route-reflection rules. Large networks may deploy multiple route reflectors for redundancy and operational resilience, with the design taking into account path visibility, loop prevention, policy, and convergence behaviour.

Once BGP selects a best path, that path becomes a candidate for installation into the router’s main routing table, subject to factors such as next-hop reachability, administrative preference, platform behaviour, and policy. If the route is installed, the forwarding plane can then use the resulting forwarding information to send packets toward the destination.

The key distinction is simple:

BGP determines which route is preferred. The IGP provides internal reachability to the required next hop. The forwarding plane moves the actual packet.

Understanding this separation is essential when following a BGP route from the moment it is advertised to the moment traffic is forwarded.

BGP ROUTE PROPAGATION

How BGP Routes Move Through the Network

A route begins as reachability information in one network. BGP carries that information between autonomous systems, adding context such as AS_PATH and other attributes as the advertisement moves through the Internet.

ROUTE ORIGINATION
BGP CONTROL PLANE
ORIGIN AS
BGP PROPAGATION
REMOTE AS
AS64500
ORIGIN
PREFIX
AS65001
TRANSIT
BGP SPEAKER
AS65002
TRANSIT
BGP SPEAKER
AS64510
REMOTE
LEARNED
AS_PATH
ROUTE PROPAGATION
REACHABILITY
PREFIX
10.10.0.0/16
ORIGINATED HERE
BGP UPDATE
FOLLOW THE ROUTE
STEP 1 / 4
A network originates a prefix and makes that destination available to BGP.

How BGP Selects a Path

DECISION PROCESS · BGP BEST PATH
How Does BGP Select a Path?
A BGP router can receive multiple routes to the same destination. Instead of forwarding traffic randomly, BGP evaluates the available paths through a defined decision process and selects the best path for installation and use.
BEST
PATH
RIB-IN
01 · CANDIDATE ROUTES
Multiple Paths Arrive
A router may receive several valid paths to the same prefix from different BGP neighbours.
POLICY
02 · ROUTING POLICY
Attributes Matter
Attributes such as Weight, Local Preference, AS_PATH, Origin and MED influence how available paths are evaluated.
COMPARE
03 · DECISION PROCESS
Paths Are Compared
BGP works through its decision criteria, eliminating less preferred candidates as the comparison progresses.
BEST
04 · BEST PATH
One Path Wins
The surviving candidate becomes the selected BGP best path for that destination on the router.
FIB
05 · ROUTING TABLE
Forwarding Uses It
After the route is selected and the next hop is resolved, the resulting information can be installed for forwarding.
IMPORTANT IDEA
BGP does not simply choose the shortest network path. It compares routes using BGP attributes and its decision process. A path with a longer AS_PATH, for example, can still be preferred if an earlier decision criterion gives it an advantage.
BEST-PATH MODEL
RIB-IN Candidates POLICY Attributes COMPARE Decision BEST Selected Path FIB Forwarding
Network Insight · BGP Engineering Use Case

How BGP Selects a Path

Multiple BGP routes can reach the same destination. BGP compares route attributes and applies its best-path process to determine which candidate becomes the preferred route for the destination.
BGP Best-Path Decision
Control Plane
DESTINATION  10.10.10.0/24
Path A
Candidate
LOCAL_PREF100 AS_PATH65020 65030 ORIGINIGP MED20 NEXT_HOP192.0.2.1
Path B
Candidate
LOCAL_PREF200 AS_PATH65040 65050 ORIGINIGP MED80 NEXT_HOP192.0.2.5
Path C
Candidate
LOCAL_PREF150 AS_PATH65060 ORIGINIGP MED10 NEXT_HOP192.0.2.9
Compare Attributes
SELECTED PATH: —
Best-Path Investigation CLI
Simulated
What You See
Three routes advertise reachability to the same destination. Each route carries a different set of BGP attributes.
What It Means
BGP does not simply choose the route with the shortest AS path. Earlier attributes in the decision process can eliminate a candidate before later attributes are considered.
Engineering Principle
Best-path selection is policy-driven. Local Preference can influence which exit an AS prefers before attributes such as AS Path and MED become relevant.
DECISION · BGP BEST PATH

How BGP Selects a Path

A BGP router can learn multiple paths to the same destination. The router does not simply choose the shortest physical path. It evaluates policy and path attributes in a defined decision process.

Path A
Selected
10.10.10.0/24
LOCAL_PREF 200
AS_PATH 65001 65020
MED 50
ORIGIN IGP
Path B
Candidate
10.10.10.0/24
LOCAL_PREF 150
AS_PATH 65002 65020
MED 20
ORIGIN IGP
Path C
Candidate
10.10.10.0/24
LOCAL_PREF 100
AS_PATH 65003 65020
MED 10
ORIGIN IGP
01
Policy Apply local routing policy
02
Weight Prefer higher local weight
03
Local Preference Prefer higher local preference
04
AS Path Compare path length
05
MED / Tie-breakers Continue until one path wins
WEIGHT Local router preference where supported.
LOCAL_PREF Controls preferred exit from the AS.
AS_PATH Provides path information and loop prevention.
ORIGIN Ranks how the route was originated.
MED Can influence which external entry point is preferred.
Engineering Principle

BGP chooses a path according to routing policy and attributes, not simply according to distance. This is why two routers can see the same destination and legitimately select different paths.

BGP can learn multiple routes to the same destination and must evaluate those candidate paths to determine which route it prefers. The exact decision process varies by implementation and configuration, but common BGP implementations evaluate a sequence of attributes and tie-breakers. On platforms such as Cisco IOS, for example, Weight is considered first, followed by LOCAL_PREF and other criteria in the configured best-path process.

LOCAL_PREF is commonly used to express the preferred exit point from an Autonomous System, with higher values preferred. Other attributes can then influence the decision, including locally originated routes, AS_PATH length, the BGP ORIGIN attribute, and MED where the comparison is applicable. Additional criteria can include whether the route was learned through eBGP or iBGP and the IGP cost to reach the BGP NEXT_HOP. If multiple paths remain equivalent, implementation-specific tie-breakers such as router ID may be used. Some platforms also consider factors such as route age or neighbour address during the final stages of selection.

The important point is that BGP does not simply choose the route with the shortest AS_PATH. The decision process is policy-driven, and an earlier attribute can determine the preferred route before later attributes are ever considered. A route with a longer AS_PATH can therefore be preferred over a shorter path because of LOCAL_PREF, Weight, local origination, or another earlier decision criterion.

These attributes provide operators with mechanisms for influencing routing behaviour. LOCAL_PREF can be used to select preferred exits from an AS, AS_PATH manipulation can influence how routes are perceived by neighbouring networks, and MED can provide a neighbouring AS with information about a preferred entry point when the comparison applies. Communities can also be used to communicate policy information, allowing routers to apply consistent actions to groups of routes.

The result is a distributed routing system in which each BGP speaker makes its own decisions based on the routes it has learned, the policies applied to those routes, and the capabilities and configuration of the implementation. Different routers do not necessarily select the same path because they may have different candidate routes, policies, next-hop reachability, or points of attachment to the network.

When a route changes or becomes unavailable, BGP exchanges UPDATE messages to communicate new reachability information or withdrawals. Other BGP speakers then reevaluate their available paths and policies. This process allows routing decisions to adapt to topology changes while preserving the independent policy control of each Autonomous System.

The result is a routing system designed for policy, scale, and interdomain control rather than simply selecting the shortest physical or AS-level path. That distinction is central to understanding why BGP is used to connect independently operated networks across the Internet.

NETWORK INSIGHT · BGP SERIES

How BGP Chooses a Path

A BGP router can learn more than one route to the same destination. The best-path process compares route attributes in sequence until a preferred path is selected.

Destination Prefix
10.10.10.0/24
PATH A
CANDIDATE
Next Hop 192.0.2.1
Weight 0
Local Preference 100
AS Path 65002 65010
MED 50
Learned via eBGP
PATH B
CANDIDATE
Next Hop 192.0.2.5
Weight 0
Local Preference 200
AS Path 65003 65010
MED 100
Learned via eBGP
PATH C
CANDIDATE
Next Hop 192.0.2.9
Weight 0
Local Preference 150
AS Path 65004 65010
MED 20
Learned via eBGP
BGP Decision Process
INTERACTIVE
1
Weight
Higher Weight is preferred when the platform supports this attribute.
2
Local Preference
Higher Local Preference is preferred within the AS.
3
Local Origin
Locally originated routes are preferred over routes learned from elsewhere.
4
AS Path
A shorter AS Path is preferred when earlier attributes tie.
5
MED
Lower MED is preferred when the comparison applies.
6
eBGP / iBGP
If routes remain tied, additional BGP decision criteria are considered.
7
Final Tie-Breakers
Router ID and other final criteria can resolve a remaining tie.
READY

Compare the candidate routes

BGP does not simply choose the route with the shortest AS Path. It evaluates attributes in sequence.

Current Result
No route selected

Bringing the BGP Picture Together

BGP becomes much easier to understand when the individual pieces are viewed as parts of one complete routing system.

The Internet is a network of independently operated Autonomous Systems, and BGP provides the interdomain routing mechanism that allows those networks to exchange reachability information. Inside an Autonomous System, different routing functions work together: the IGP provides internal reachability, iBGP distributes BGP information between internal BGP speakers, eBGP exchanges routes between Autonomous Systems, and the forwarding plane ultimately moves the packets.

From there, a BGP route follows a lifecycle. A prefix is originated or learned, advertised through BGP UPDATE messages, propagated according to routing rules and policy, and stored as routing information on receiving routers. When multiple paths are available, BGP evaluates their attributes and applies its decision process to determine which path becomes the best path.

That distinction between route information and actual traffic is fundamental. BGP operates primarily in the control plane. It determines which reachability information should be preferred; the resulting routing information is then used by the forwarding plane to determine where packets should go.

The most important lesson is therefore not to think of BGP as simply finding the shortest path. BGP is a policy-driven path-selection system. Attributes such as Weight, Local Preference, AS_PATH, Origin and MED can influence the decision, while the surrounding topology, routing policy and internal reachability determine how those routes can actually be used.

Once these relationships are understood, BGP stops looking like a collection of individual commands and starts to become a coherent system:

Autonomous Systems → BGP Updates → Route Propagation → Path Selection → Forwarding

The interactive environments throughout this article are designed to make those relationships visible. Rather than only reading about BGP, you can observe the routing process, follow routes through the network, inspect path attributes and see how changing a routing decision affects the resulting path.

BGP QUICK REFERENCE

BGP Best-Path Cheat Sheet

The key BGP attributes to remember when comparing multiple routes to the same destination.

CONTROL PLANE REFERENCE
Simplified decision flow
Weight → Local Preference → Local Origin → AS Path → Origin → MED → eBGP / iBGP → Tie-breakers
Attribute What it controls Rule Remember
1 Weight Preference on the local router Higher wins Cisco-specific
2 Local Preference Preferred exit point from the AS Higher wins Shared inside the AS
3 Local Origin Whether the route was originated locally Preferred Local route generation
4 AS Path Number of AS hops in the path Shorter wins Inter-AS path length
5 Origin How the route entered BGP IGP preferred IGP < EGP < Incomplete
6 MED Suggested entry point into an AS Lower wins Usually compared within the same neighboring AS
7 eBGP vs iBGP External versus internal path eBGP preferred Platform-dependent sequence
8 Tie-breakers Resolve routes still tied Platform-specific Router ID and other criteria
The important idea

BGP does not simply choose the shortest network path. It evaluates route attributes in sequence. Once an earlier attribute produces a clear winner, later attributes may never be considered.

For the labs

The interactive labs below let you change these attributes and observe how the selected BGP route changes in the control plane.

PUT BGP INTO PRACTICE

You've Seen How BGP Works.
Now Explore It Yourself.

You have followed the journey from Autonomous Systems and BGP route propagation through to the best-path decision process. Now take those concepts into an interactive environment and see what happens when the routing conditions change.

01 · EXPLORE Follow the routing process Explore BGP sessions, routes, attributes and topology inside the interactive environment.
02 · EXPERIMENT Change the conditions Alter routing attributes and observe how the BGP decision process responds.
03 · UNDERSTAND See the result Connect the theory from this article with the actual routing information produced by the simulator.
BGP Core Simulator

Build, inspect and experiment with BGP routing behaviour in the interactive simulator.

🚀 LAUNCH BGP CORE SIMULATOR
CONTINUE LEARNING
01 Follow the route 02 Inspect the attributes 03 Change the decision 04 Observe the result
Opens the interactive BGP Core Simulator in a new browser tab.
☕
Enjoyed the BGP learning environment?
Your support helps Network Insight continue developing interactive networking labs, simulators and technical learning content.
Support Network Insight
Computer Networks

Computer Networking: Building a Strong Foundation for Success

Computer Networking

Computer networking has revolutionized how we communicate and share information in today's digital age. Computer networking offers many possibilities and opportunities, from the Internet to local area networks. This blog post will delve into the fascinating world of computer networking and discover its key components, benefits, and prospects.

Computer networking is essentially the practice of connecting multiple devices to share resources and information. It involves using protocols, hardware, and software to establish and maintain these connections. Understanding networking fundamentals, such as IP addresses, routers, and switches, is crucial for anyone venturing into this field.

The Birth of Networking: In the early days of computer networking, it was primarily used for military and scientific purposes. The advent of ARPANET in the late 1960s laid the foundation for what would eventually become the internet. This pioneering effort allowed multiple computers to communicate with each other, setting the stage for the interconnected world we know today.

The Internet Era Begins: The 1990s marked a significant turning point in computer networking with the emergence of the World Wide Web. Tim Berners-Lee's creation of the HTTP protocol and the first web browser fueled the rapid growth and accessibility of the internet. Suddenly, information could be shared and accessed with just a few clicks, transforming the way we gather knowledge, conduct business, and connect with others.

From Dial-Up to Broadband: Remember the days of screeching dial-up modems? As technology progressed, so did our means of connecting to the internet. The widespread adoption of broadband internet brought about faster speeds and more reliable connections. With the introduction of DSL, cable, and fiber-optic networks, users could enjoy seamless online experiences, paving the way for streaming media, online gaming, and the rise of cloud computing.

Wireless Networking and Mobility: Gone are the days of being tethered to a desktop computer. The advent of wireless networking technologies such as Wi-Fi and Bluetooth opened up a world of mobility and convenience. Whether it's connecting to the internet on our smartphones, laptops, or IoT devices, wireless networks have become an indispensable part of our daily lives, enabling us to stay connected wherever we go.

Highlights: Computer Networking

Network Components

Creating a computer network requires a lot of preparation and knowledge of the right components used. One of the first steps in computer networking is identifying what features to use and where to place them. This includes selecting the proper hardware, such as the Layer 3 routers, Layer 2 switches, and Layer 1 hubs if you are on an older network. Along with the right software, such as operating systems, applications, and network services. Or if any advanced computer networking techniques, such as virtualization and firewalling, are required.

Diagram: Cloud Application Firewall.

Network Structure

Once the network components are identified, it’s time to plan the network’s structure. This involves deciding where each piece will be placed and how they will be connected. The majority of networks you will see today will be Ethernet-based. You will need a design process for more extensive networks. Still, for smaller networks, such as your home network, once physically connected, you are ready as all the network services are set up for you on the WAN router by the local service provider.

Network Design

To embark on our journey into network design, it’s crucial to grasp the fundamental concepts. This section will cover topics such as network topologies, protocols, and the different layers of the OSI model. By establishing a solid foundation, you’ll be better equipped to make informed decisions in your network design endeavors.

Assessing Requirements and Goals

Before exploring the technical aspects of network design, it’s essential to identify your specific requirements and goals. This section will explore the importance of conducting a thorough needs analysis, considering factors such as scalability, security, and bandwidth. By aligning your network design with your objectives, you can build a robust and future-proof infrastructure.

Choosing the Right Equipment and Technologies

With a clear understanding of your requirements, it’s time to select the appropriate equipment and technologies for your network. We’ll delve into the world of routers, switches, firewalls, and wireless access points, discussing the criteria for evaluating different options. Additionally, we’ll explore emerging technologies like Software-Defined Networking (SDN) and Network Function Virtualization (NFV) that can revolutionize network design.

Designing for Efficiency and Redundancy

Efficiency and redundancy are vital aspects of network design that ensure reliable and optimized performance. This section will cover load balancing, fault tolerance, and network segmentation strategies. We’ll explore techniques like VLANs (Virtual Local Area Networks), link aggregation, and the implementation of redundant paths to minimize downtime and enhance network resilience.

Securing Your Network

Network security is paramount in an era of increasing cyber threats. This section will address best practices for securing your network, including firewalls, intrusion detection systems, and encryption protocols. We’ll also touch upon network access control mechanisms and the importance of regular updates and patches to safeguard against vulnerabilities.

Firewall types
Diagram: Displaying the different firewall types.

 

 

Related: Additional links to internal content for pre-information:

  1. Data Center Topologies
  2. Distributed Firewalls
  3. Internet of Things Access Technologies
  4. LISP Protocol and VM Mobility.
  5. Port 179
  6. IP Forwarding
  7. Forwarding Routing Protocols
  8. Technology Insight for Microsegmentation
  9. Network Security Components
  10. Network Connectivity

Computer Networks

Key Computer Networking Discussion Points:


  • Introduction to computer networks and what is involved.

  • Highlighting the details of how you connect up networks.

  • Technical details on approaching computer networking and the importance of security.

  • Scenario: The main network devices: Are Layer 2 switches and Layer 3 routers.

  • The different types of protocols sued in computer networks.

Back to Basics: Computer Networks

A network is a collection of interconnected systems that share resources. Networks connect IoT (Internet of Things) devices, desktop computers, laptops, and mobile phones. A computer network will consist of standard devices such as APs, switches, and routers, the essential network components.

Network services

You can connect your network’s devices to other computer networks and the Internet, a global system of interconnected networks. So when we connect to the Internet, we secure the Local Area Network (LAN) to the Wide Area Network (WAN). As we move between computer networks, we must consider security.

You will need a security device between these segments for a stateful inspection firewall. You are probably running IPv4, so you will need a network service called Network Address Translation (NAT). IPv6, the latest version of the IP protocol, does not need NAT but may need a translation service to communicate with IPv4-only networks.

Network Address Translation

♦Types of Networks

There are various types of computer networks, each serving different purposes. Local Area Networks (LANs) connect devices within a limited geographical area, such as homes or offices. Wide Area Networks (WANs) span larger areas, connecting multiple LANs. The internet itself can be considered the most extensive WAN, connecting countless networks across the globe.

Computer networking brings numerous benefits to individuals and businesses. It enables seamless communication, file sharing, and resource access among connected devices. In industry, networking enhances productivity and collaboration, allowing employees to work together efficiently regardless of physical location. Moreover, networking facilitates company growth and expansion by providing access to global markets.

Computer Networking

Computer Networking Main Components


  •  A network is a collection of interconnected systems that share resources. The primary use case of a network was to share printers.

  • A network must offer a range of network services such as NAT.

  • Various types of computer networks, each serving different purposes. LAN vs WAN.

  • Protecting sensitive data, preventing unauthorized access, and mitigating potential threats are constant challenges.

Security and Challenges

With the ever-increasing reliance on computer networks, security becomes a critical concern. Protecting sensitive data, preventing unauthorized access, and mitigating potential threats are constant challenges. Network administrators employ various security measures such as firewalls, encryption, and intrusion detection systems to safeguard networks from malicious activities.

As technology continues to evolve, so does computer networking. Emerging trends such as cloud computing, the Internet of Things (IoT), and software-defined networking (SDN) are shaping the future of networking. The ability to connect more devices, handle massive amounts of data, and provide faster and more reliable connections opens up new possibilities for innovation and advancement.

Local Area Network

A Local Area Network (LAN) is a computer network that connects computers and other devices in a limited geographical area such as a home, school, office building, or closely positioned group of buildings. Ethernet cables typically connect LANs but may also be connected through wireless connections. LANs are usually used within a single organization or business but may connect multiple locations. The equipment in your LAN is in your control.

computer networking

Wide Area Network

Then, we have the Wide Area Network (WAN). In contrast to the LAN, a WAN is a computer network covering a wide geographical area, typically connecting multiple locations. Your LAN may only consist of Ethernet and a few network services.

However, a WAN may consist of various communications equipment, protocols, and media that provide access to multiple sites and users. WANs usually use private leased lines, such as T-carrier lines, to connect geographically dispersed locations. The equipment in the WAN is out of your control.

Computer Networks
Diagram: Computer Networks with LAN and WAN.

LAN

WAN

  • LAN means local area network.

  •   Itconnect users and applications in close geographical proximity (same building).

  •  LANs use OSI Layer 1 and Layer 2 data connection equipment for transmission.

  •   LANs use local connections like Ethernet cables and wireless access points.

  • LANs are faster, because they span less distance and have less congestion.

  • LANs are good for private IoT networks, bot networks, and small business networks. LANs use OSI Layer 1 and Layer 2 data connection equipment for transmission.

  • WAN means wide area network.

  • Itconnect users and applications in geographically dispersed locations (across the globe).

  • WANs use Layer 1, 2, and 3 network devices for data transmission.

  • WANs use wide area connections like MPLS, VPNs, leased lines, and the cloud.

  • WANs are slightly slower, but that may not be perceived by your users.

  • WANs use Layer 1, 2, and 3 network deviceWANs are good for disaster recovery, applications with global users, and large corporate networks.s for data transmission.

Virtual Private Network ( VPN )

We use a VPN to connect LAN networks over a WAN. A virtual private network (VPN) is a secure and private connection between two or more devices over a public network such as the Internet. Its purpose is to provide fast, encrypted communication over an untrusted network.

VPNs are commonly used by businesses and individuals to protect sensitive data from prying eyes. One of the primary benefits of using a VPN is that it can protect your online privacy by masking your IP address and encrypting your internet traffic. This means that your online activities are hidden from your internet service provider (ISP), hackers, and other third parties who may be trying to eavesdrop on your internet connection.

Example: VPN Technology

An example of a VPN technology is Cisco DMVPN. DMVPN operates in phases; there is DMVPN Pashe 1 to 3. For true hub and spoke, you would implement Phase 1; however, today, Phase 3 is the most popular, offering spoke-to-spoke tunnels. The screenshot below is an example of DMVPN Phase 1 running an OSPF network type of broadcast.

DMVPN

Computer Networking

Once the network’s components and structure have been determined, the next step is configuring computer networking. This involves setting up network parameters, such as IP addresses and subnets, and configuring routing tables.

Remember that security is paramount, especially when connecting to the Internet, an untrusted network with a lot of malicious activity. Firewalls help you create boundaries and secure zones for your networks. Different firewall types exist for the other network parts, making a layered approach to security.

Once the computer networking is completed, the next step is to test the network. This can be done using tools such as network analyzers, which can detect any errors or issues present. You can conduct manual tests using Internet Control Message Protocol (ICMP) protocols, such as ping and traceroute. Testing for performance is only half of the pictures. It’s also imperative to regularly monitor the network for potential security vulnerabilities. So, you must have antivirus software, a computer firewall, and other endpoint security controls.

Finally, it’s critical to keep the network updated. This includes updating the operating system and applications and patching any security vulnerabilities as soon as possible. It’s also crucial to watch for upcoming or emerging technologies that may benefit the network.

packet loss testing
Diagram: Packet loss testing.

Lab Guide: Endpoint Networking and Security

Address Resolution Protocol (ARP)

The first command you will want to become familiar with is arp. 

At its core, ARP is a protocol that maps an IP address to a corresponding MAC address. It enables devices within a local network to communicate with each other by resolving the destination MAC address for a given IP address. Devices store these mappings in an ARP table for efficient and quick communication.

Analysis: What you see are 5 column headers explained as follows:

  • Address: The IP address of a device on the network identified through the ARP protocol is resolved to the hostname.

  • HWtype: This describes the type of hardware facilitating the network connection. In this case, it is an ethernet rather than a Wi-Fi interface.

  • HW address: The MAC address assigned to the hardware interface responding to ARP requests.

  • Flags Mask: A hex value translated into ASCII defines how the interface was set.

  • Iface: Lists the interface’s name associated with the hardware and IP address.


Analysis: The output contains the same columns and information, with additional information about the contents of the cache. The -v flag is for verbose mode and provides additional information about the entries in the cache. Focus on the Address. The -n flag tells the command not to resolve the address to a hostname; the result is seeing the Address as an IP.

Note: The IP and Mac address returned is an additional VM running Linux in this network. This is significant because if a device is within the same subnet or layer two broadcast domain as a device identified by its local ARP cache, it will simply address traffic to the designated MAC address. In this way, if you can change the ARP cache, you can change where the device sends traffic within its subnet.

Locally, you can change the ARP cache directly by adding entries yourself.  See the screenshot above:

Analysis: Now you see the original entry and the entry you just set within the local ARP cache. When your device attempts to send traffic to the address 192.168.18.135, the packets will be addressed at layer 2 to the corresponding MAC address from this table. Generally, MAC address to IP address mappings are learned dynamically through the ARP network protocol activity, indicated by the “C” under the Flags Mask column. The CM reflects that the entry was manually added.

Note: Additional Information on ARP

  • ARP Request and Response

When a device needs to communicate with another device on the same network, it initiates an ARP request. The requesting device broadcasts an ARP request packet containing the target IP address for which it seeks the MAC address. The device with the matching IP address responds with an ARP reply packet, providing its MAC address. This exchange allows the requesting device to update its ARP table and establish a direct communication path.

  • ARP Cache Poisoning

While ARP serves a critical purpose in networking, it is vulnerable to attacks like ARP cache poisoning. In this type of attack, a malicious entity spoofs its MAC address, tricking devices on the network into associating an incorrect MAC address with an IP address. This can lead to various security issues, including interception of network traffic, data manipulation, and unauthorized access.

  • Address Resolution Protocol in IPv6

While ARP is predominantly used in IPv4 networks, IPv6 networks utilize a similar protocol called Neighbor Discovery Protocol (NDP). NDP performs functions identical to ARP but with additional features such as stateless address autoconfiguration and duplicate address detection. Although NDP differs from ARP in several ways, its purpose of mapping IP addresses to link-layer addresses remains the same.

Computer Networking & Data Traffic

Computer networking aims to carry data traffic so we can share resources. The first use case of computer networks was to share printers; now, we have a variety of use cases that evolve around data traffic. Data traffic can be generated from online activities such as streaming videos, downloading files, surfing the web, and playing online games. It is also generated from behind-the-scenes activities such as system updates and background and software downloads.

The Importance of Data Traffic

Data traffic is the amount transmitted over a network or the Internet. It is typically measured in bits, bytes, and packets per second. Data traffic can be both inbound and outbound. Inbound traffic is data coming into a network or computer, and outbound traffic is data leaving a network or computer. Inbound data traffic should be inspected by a security device, such as a firewall, which can either be at the network’s perimeter or on your computing device. At the same time, outbound traffic is generally unfiltered.

To keep up with the increasing demand, companies must monitor data traffic to ensure the highest quality of service and prevent network congestion. With the right data traffic monitoring tools and strategies, organizations can improve network performance and ensure their data is secure.

 

The Issues of Best Efforts or FIFO

Network devices don’t care what kind of traffic they have to forward. Ethernet frames are received by your switch, which looks for the destination MAC address before forwarding them. Your router does the same thing: it gets an IP packet, checks the routing table for the destination, and forwards the packet.

Would the frame or packet contain data from a user downloading the latest songs from Spotify or significant speech traffic from a VoIP phone? It doesn’t matter to the switch or router. This forwarding logic is called best effort or FIFO (First In, First Out). Sometimes, this can be an issue when applications are hungry for bandwidth. 

Example: Congestion

The serial link is likely congested when the host and IP phone transmit data and voice packets to the host and IP phone on the other side. Packets queued for transmission will not be indefinitely held by the router.

When the queue is full, how should the router proceed? Are data packets being dropped? Voice packets? If voice packets are dropped, there will be complaints about poor voice quality on the other end. If data packets are dropped, users may complain about slow transfer speeds.

You can change how the router or switch handles packets using QoS tools. For example, the router can prioritize voice traffic over data traffic.

The Role of QoS

Quality of Service (QoS) is a popular technique used in computer networking. QoS can segment applications so that different types will have different priority levels. For example, Voice traffic is often considered more critical than web surfing traffic. Especially as it is sensitive to packet loss. So, when there is congestion on the network, QoS allows administrators to prioritize network traffic so users have the best experience.

Quality of Service (QoS) refers to techniques and protocols prioritizing and managing network traffic. By allocating resources effectively, QoS ensures that critical applications and services receive the necessary bandwidth, low latency, and minimal packet loss while maintaining a stable network connection. This optimization process considers factors such as data type, network congestion, and the specific requirements of different applications.

Expedited Forwarding (EF)

Expedited Forwarding (EF) is a network traffic management model that provides preferential treatment to certain types of traffic. The EF model prioritizes traffic, specifically real-time traffic such as voice, video, and streaming media, over other types of traffic, such as email and web browsing. This allows these real-time applications to function more reliably and efficiently by reducing latency and jitter.

The EF model works by assigning a traffic class to each data packet based on the type of data it contains. The assigned class dictates how the network treats the packet. The EF model has two categories: EF for real-time traffic and Best Effort (BE) for other traffic. EF traffic is given preferential treatment, meaning it is prioritized over BE traffic, resulting in a higher quality of service for the EF traffic.

The EF model is an effective and efficient way to manage computer network traffic. By prioritizing real-time traffic, the EF model allows these applications to function more reliably, with fewer delays and a higher quality of service. Additionally, the EF model is more efficient, reducing the amount of traffic that needs to be managed by the network.

Lab Guide: QoS and Marking Traffic

TOS ( Type of Service )

In this Lab, we’ll take a look at marking packets. Marking means we set the TOS (Type of Service) byte with an IP Precedence or DSCP value.

Marking and Classifcaiton take place on R2. R1 is the source of the ICMP and HTTP Traffic. R3 has an HTTP server installed. As traffic, both telnet and HTTP packets get sent from R1 and traverse R2, classification takes place.

Note:

To ensure each application gets the treatment it requires, we must implement QoS (Quality of Service). The first step when implementing QoS is classification,

QoS classification

We will mark the traffic and apply a QoS policy once it has been classified. Marking and configuring QoS policies are a whole different story, so we’ll stick to classification in this lesson.

On IOS routers, there are a couple of methods we can use for classification:

  • Header inspection
  • Payload inspection

We can use some fields in our headers to classify applications. For example, telnet uses TCP port 23, and HTTP uses TCP port 80. Using header inspection, you can look for:

  • Layer 2: MAC addresses
  • Layer 3: source and destination IP addresses
  • Layer 4: source and destination port numbers and protocol

QoS

♦Benefits of Quality of Service

A) Bandwidth Optimization:

One of the primary advantages of implementing QoS is the optimized utilization of available bandwidth. By classifying and prioritizing traffic, QoS ensures that bandwidth is allocated efficiently, preventing congestion and bottlenecks. This translates into smoother and uninterrupted network experiences, especially when multiple users or devices access the network simultaneously.

B) Enhanced User Experience:

With QoS, users can enjoy a seamless experience across various applications and services. Whether streaming high-quality video content, engaging in real-time online gaming, or participating in video conferences, QoS helps maintain low latency and minimal jitter, resulting in a smooth and immersive user experience.

♦Implementing Quality of Service

To implement QoS effectively, network administrators need to understand the specific requirements of their network and its users. This involves:

A) Traffic Classification:

Different types of network traffic require different levels of priority. Administrators can allocate resources by classifying traffic based on its nature and importance.

B) Traffic Shaping and Prioritization:

Once traffic is classified, administrators can prioritize it using various QoS mechanisms such as traffic shaping, packet queuing, and traffic policing. These techniques ensure critical applications receive the necessary resources while preventing high-bandwidth applications from monopolizing the network.

C) Monitoring and Fine-Tuning:

Regular monitoring and fine-tuning of QoS parameters are essential to maintain optimal network performance. By analyzing network traffic patterns and adjusting QoS settings accordingly, administrators can adapt to changing demands and ensure a consistently high level of service.

Computer Networking Components – Devices:

First, the devices. Media interconnect devices provide the channel over which the data travels from source to destination. Many devices are virtualized today, meaning they no longer exist as separate hardware units.

One physical device can emulate multiple end devices. In addition to having its operating system and required software, an emulated computer system operates as a separate physical unit. Devices can be further divided into endpoints and intermediary devices.

Endpoint: 

Endpoint is a device part of a computer network, including PCs, laptops, tablets, smartphones, video game consoles, and televisions. Endpoints can be physical hardware units, such as file servers, printers, sensors, cameras, manufacturing robots, and smart home components. Nowadays, we have virtualized endpoints.

Computer Networking Components – Intermediate Devices

Layer 2 Switches:

These devices enable multiple endpoints, such as PCs, file servers, printers, sensors, cameras, and manufacturing robots, to connect to the network. Switches allow devices to communicate on the same network. Switches attempt to forward messages from the sender so the destination can only receive them, unlike a hub that floods traffic out of all ports. The switch operates with MAC addresses and works at Layer 2 of the OSI model.

Usually, all the devices that connect to a single switch or a group of interconnected switches belong to a standard network. They can, therefore, exchange information directly with each other. If an end device wants to communicate with a device on a different network, it requires the “services” of a device known as a router. Routers connect other networks and work higher up in the OSI model at Layer 3. They use the IP protocol.

Routers: 

Routers’ primary function is to route traffic between computer networks. For example, you need a router to connect your office network to the Internet. Routers connect computer networks and intelligently select the best paths between them, and they hold destinations in what is known as a routing table. There are different routing protocols for different-sized networks, and each will have other routing convergence times.

routing convergence
The well-known steps in routing convergence.

We recently combined Layer 2 and Layer 3 functionality. So we have a Layer 3 router with a Layer 2 switch module inserted, or we can have a multilayer switch that combines the functions of Layer 3 routing and Layer 2 switch functionality on a single device.

Computer Networks
Diagram: Computer Networks with Switch and Routers.

Wi-Fi access points: 

These devices allow wireless devices to connect. They usually connect to switches but can also be integrated into routers. My WAN router has everything in one box: Wi-Fi, Ethernet LAN, and network services such as NAT and WAN. Wi-Fi access points provide wireless internet access within a specified area.

Wi-Fi access points are typically found in coffee shops, restaurants, libraries, and airports in public settings. These access points allow anyone with a Wi-Fi-enabled device to access the Internet without needing additional hardware. 

WLAN controllers: 

WLAN controllers are devices used to automate the configuration of wireless access points. They provide centralized management of wireless networks and act as a gateway between wireless and wired networks. Administrators can monitor and manage the entire WLAN, set up security policies, and configure access points through the controller. WLAN controllers also authenticate users, allowing them to access the wireless network.

In addition, the WLAN controller can also detect and protect against malicious activities such as unauthorized access, denial-of-service attacks, and interference from other wireless networks. By using the controller, administrators can also monitor the usage of the wireless network and make sure that the network is secure.

Network firewalls:

Then, we have firewalls, which are the cornerstone of security. Depending on your requirements, there will be different firewall types. Firewalls range from basic packet filtering to advanced next-generation firewalls and come in virtual and physical forms.

Generally, a firewall monitors and controls incoming and outgoing traffic according to predefined security rules. The firewall will have a default rule set so that some firewall interfaces are more trusted than others, blankly restricting traffic from outside to inside, but you need to set up a policy for firewalls to work.

A firewall typically establishes a barrier between a trusted, secure internal network and another outside network, such as the Internet, which is assumed not to be secure or trusted. Firewalls are typically deployed in a layered approach, meaning multiple security measures are used to protect the network. Firewalls provide application, protocol, and network layer protection.

data center firewall
Diagram: The data center firewall.
  • Application layer protection:

The next layer is the application layer, designed to protect the network from malicious applications, such as viruses and malware. The application layer also includes software like firewalls to detect and block malicious traffic.

  • Protocol layer protection: 

The third layer is the protocol layer. This layer focuses on ensuring that the data traveling over a network is encrypted and that it is not allowed to be modified or corrupted in any way. This layer also includes authentication protocols that prevent unauthorized users from accessing the network.

  • Network Layer protection

Finally, the fourth layer is network layer protection. This layer focuses on controlling access to the network and ensuring that users cannot access resources or applications they are not authorized to use.

A network intrusion protection system (IPS): 

An IPS or IDS analyzes network traffic to search for signs that a particular behavior is suspicious or malicious. If the IPS detects such behavior, it can take protective action immediately. In addition, the IPS and firewall can work together to protect a network. So, if an IPS detects suspicious behavior, it can trigger a policy or rule for the firewall to implement.

An intrusion protection system can alert administrators of suspicious activity, such as attempts to gain unauthorized access to confidential files or data. Additionally, it can block malicious activity if necessary; it provides a layer of defense against malicious actors and cyber attacks. Intrusion protection systems are essential to any organization’s security plan.

Cisco IPS
Diagram: Traditional Intrusion Detection. With Cisco IPS.

Computer Networking Components – Media

Next, we have the media. The media connects network devices. Different media have different characteristics, and selecting the most appropriate medium depends on the circumstances, including the environment in which the media is used and the distances that need to be covered.

The media will need some connectors. A connector makes it much easier to connect wired media to network devices. A connector is a plug attached to each end of the cable. RJ-45 connector is the most common type of connector on an Ethernet LAN.

Ethernet: Wired LAN technology.

The term Ethernet refers to an entire family of standards. Some standards define how to send data over a particular type of cabling and at a specific speed. Other standards define protocols or rules that the Ethernet nodes must follow to be a part of an Ethernet LAN. All these Ethernet standards come from the IEEE and include 802.3 as the beginning of the standard name.

Introducing Copper and Fiber

Ethernet LANs use cables for the links between nodes on a computer network. Because many types of cables use copper wires, Ethernet LANs are often called wired LANs. Ethernet LANs also use fiber-optic cabling, which includes a fiberglass core that devices use to send data using light. 

Materials inside the cable: UTP and Fiber

The most fundamental cabling choice concerns the materials used inside the cable to transmit bits physically: either copper wires or glass fibers. 

  • Unshielded twisted pair (UTP) cabling devices transmit data over electrical circuits via the copper wires inside the cable.
  • Fiber-optic cabling, the more expensive alternative, allows Ethernet nodes to send light over glass fibers in the cable’s center. 

Although more expensive, optical cables typically allow longer cabling distances between nodes. So you have UTP cabling in your LAN and Fiber-optic cabling over the WAN.

UTP and Fiber

The most common copper cabling for Ethernet is UTP. An unshielded twisted pair (UTP) is cheaper than the other two and is easier to install and troubleshoot. Many UTP-based Ethernet standards can use a cable length of up to 100 meters, which means that most Ethernet cabling in an enterprise uses UTP cables.

The distance from an Ethernet switch to every endpoint on a building’s floor will likely be less than 100m. In some cases, however, an engineer might prefer to use fiber cabling first for some links in an Ethernet LAN to reach greater distances.

Fiber Cabling

Then we have fiber-optic cabling, a glass core that carries light pulses and is immune to electrical interference. Fiber-optic cabling is typically used as a backbone between buildings. So fiber cables are high-speed transmission mediums. It contains tiny glass or plastic filaments as the medium to which light passes.

Cabling types: Multimode and Single Mode

There are two main types of fiber optic cables. We have single-mode fiber ( SMF) and multimode fiber ( MMF). Two implementations of fiber-optic include MMF for shorter distances and SMF for longer distances. Multimode improves the maximum distances over UTP and uses less expensive transmitters than single-mode. Standards vary; for instance, the criteria for 10 Gigabit Ethernet over Fiber allow for distances up to 400m, often allowing for connecting devices in different buildings in the same office park.

Network Services and Protocols

We need to follow these standards and the rules of the game. We also need protocols so we have the means to communicate. If you use your web browser, you use the HTTP protocol. If you send an email, you use other protocols, such as IMAP and SMTP.

A protocol establishes a set of rules that determine how data is transmitted between different devices in the network. The two protocols must talk to each other, such as HTTP at one end and HTTP at the other.

Consider protocol the same way you would speak the same language. We need to communicate in the same language. Then, we have standards that we need to follow for computer networking, such as the TCP/IP suite.

Types of protocols

We have different types of protocols. The following are the main types of protocols used in computer networking.

  • Communication Protocols

For example, we have routing protocols on our routers that help you forward traffic. This would be an example of a communication protocol that allows different devices to communicate with each other. Another example of a communication protocol would be instant messaging.

Instant messaging is instantaneous, text-based communication you probably have used on your smartphone. So here we have several instant messaging network protocols. Short Message Service (SMS): This communications protocol was created to send and receive text messages over cellular networks.  

  • Network Management

Network management protocols define and describe the various operating procedures of a computer network. These protocols affect multiple devices on a single network—including computers, routers, and servers—to ensure that each one and the network as a whole perform optimally.

  • Security Protocols

Security protocols, also called cryptographic protocols, ensure that the network and the data sent over it are protected from unauthorized users. Security protocols are implemented on more than just your network security devices. They are implemented everywhere. The standard functions of security network protocols include encryption: Encryption protocols protect data and secure areas by requiring users to input a secret key or password to access that information.

The following screenshot is an example of an IPsec tunnel offering end-to-end encryption. Notice that the first packet in the ping ( ICMP request ) was lost due to ARP working in the background. Five pings are sent, but only four are encapsulated/decapsulated.

Site to Site VPN

Characteristics of a network

Network Topology:

In a carefully designed network, data flows are optimized, and the network performs as intended based on the network topology. Network topology is the arrangement of a computer network’s elements (links, nodes, etc.). It can be used to illustrate a network’s physical and logical layout and how it functions. 

what is spine and leaf architecture

Bitrate or Bandwidth:

It is often referred to as bandwidth or speed in device configurations, sometimes considered speed. Bitrate measures the data rate in bits per second (bps) of a given link in the network. The number of bits transmitted in a second is more important than the speed at which one bit is transmitted over the link – which is determined by the physical properties of the medium that propagates the signal. Many link bit rates are commonly encountered today, including 1 and 10 gigabits per second (1 and 10 billion bits per second). Some links can reach 100 and even 400 gigabits per second.

Network Availability: 

Network availability is determined by several factors, including the type of network being used, the number of users, the complexity of the network, the physical environment, and the availability of network resources. Network availability should also be addressed in terms of redundancy and backup plans. Redundancy helps to ensure that the system is still operational even if one or more system components fail. Backup plans should also be in place in the event of a system failure.

A network’s availability is calculated based on the percentage of time it is accessible and operational. To calculate this percentage, divide the number of minutes the network is available by the total number of minutes it is available for over an agreed period and divide it by 100. In other words, availability is the ratio of uptime and full-time, expressed in percentage. 

Gateway Load Balancer Protocol

Network High Availability: 

High availability is a critical component of a successful IT infrastructure. It ensures that systems and services remain available and accessible to users and customers. High availability is achieved by using redundancies, such as multiple servers, systems, and networks, to ensure that if one component fails, a backup component is available.

High availability is also achieved through fault tolerance, which involves designing systems that respond to failures without losing data or becoming unavailable. Various strategies, such as clustering, virtualization, and replication, can achieve high availability.

Network Reliability:

Network reliability can be achieved by implementing a variety of measures, often through redundancy. Redundancy is a crucial factor in ensuring a reliable network. Redundancy has multiple components to provide a backup in case of failure. Redundancy can include having multiple servers, routers, switches, and other hardware devices. Redundancy can also involve having numerous sources of power, such as various power supplies or batteries, and multiple paths for data to travel through the network.

For adequate network reliability, you also need to consider network monitoring. Network monitoring involves using software and hardware tools to monitor the network’s performance continuously. Monitoring can detect and alert administrators of potential performance issues or failures. We have a new term called Observability, which accurately reflects tracking in today’s environment.

Network Characteristics
Diagram: Network Characteristics

Network Scalability:

A network’s scalability indicates how easily it can accommodate more users and data transmission requirements without affecting performance. Designing and optimizing a network only for the current conditions can make it costly and challenging to meet new needs when the network grows.

Several factors must be taken into account in terms of network scalability. First and foremost, the network must be designed with the expectation that the number of devices or users will increase over time. This includes hardware and software components, as the network must support the increased traffic. Additionally, the network must be designed to be flexible so that it can easily accommodate changes in traffic or user count. 

Network Security: 

Network security is protecting the integrity and accessibility of networks and data. It involves a range of protective measures designed to prevent unauthorized access, misuse, modification, or denial of a computer network and its processing data. These measures include physical security, technical security, and administrative security. A network’s security tells you how well it protects itself against potential threats.

The subject of security is essential, and defense techniques and practices are constantly evolving. The network infrastructure and the information transmitted over it should also be protected. Whenever you take actions to affect the network, you should consider security. An excellent way to view network security is to take a zero-trust approach.

Software Defined Perimeter and Zero Trust
Software Defined Perimeter and Zero Trust

Virtualization: 

Virtualization can be done at the hardware, operating system, and application level. At the hardware level, physical hardware can be divided into multiple virtual machines, each running its operating system and applications.

At the operating system level, virtualization can run multiple operating systems on the same physical server, allowing for more efficient resource use. At the application level, multiple applications can run on the same operating system, allowing for better resource utilization and scalability. 

container based virtualization

Overall, virtualization can provide several benefits, including improved efficiency, utilization, flexibility, security, and scalability. It can consolidate and manage hardware or simplify application movement between different environments. Virtualization can also make it easier to manage other settings and provide better security by isolating various applications.

Computer Networking

Characteristics of a Network



  • Network Topology– It is the arrangement of a computer network’s elements (links, nodes, etc.)

  • Bitrate or Bandwidth– Bitrate measures the data rate in bits per second (bps) of a given link in the network.

  • Network Availability– It calculate based on the percentage of time it is accessible and operational..

  •  High Availability– It ensures that systems and services remain available and accessible to users and customers.

  • Reliability– It can be achieved by implementing a variety of measures, often through redundancy.

  • Scalability– Indicates how easily it can accommodate more users and data transmission needs without affecting performance.

  • Security– It protect the integrity, accessibility of networks & data, tells you how well it protects itself against potential threats..

  • Virtualization– It helps to improved efficiency, utilization & flexibility, as well as improved security and scalability.

Computer Networking and Network Topologies

Physical and logical topologies exist in networks. The physical topology describes the physical layout of the devices and cables. A physical topology may be the same in two networks but may differ in distances between nodes, physical connections, transmission rates, or signal types.

There are various types of physical topologies you may encounter in wired networks. Identifying the kind of cabling used is essential when describing the physical topology. Physical topology can be categorized into the following categories:

Bus Topology:

In a bus topology, every workstation is connected to a common transmission medium, a single cable called a backbone or bus. In a previous bus topology, computers and other network devices were connected to a central coaxial cable via connectors, resulting in direct connectivity.

Ring Topology:

In a ring topology, computers and other network devices are cabled in succession, with the last device connected to the first to form a circle or ring. There are two neighbors for every device in the network, and there are no direct connections between them. When one node sends data to another, it passes through each node between them until it reaches its destination.

  • Star Topology: 

A star topology is the most common physical topology, where network devices are connected to a central device through point-to-point connections. It is also known as the hub and spoke topology. A spoke device does not have a direct physical connection to another. This topology can also be called the extended star topology. A device with its spokes replaces one or more spoke devices in an extended star topology.

Mesh Topology: 

One device can be connected to more than one other in a mesh topology. Multiple paths are available for one node to reach another. Redundant links enhance reliability and self-healing. In a full mesh topology, all nodes are connected. In partial mesh, some nodes do not connect to all other nodes.

Introducing Switching Technologies

All Layer 2 devices connect to switches to communicate with one another. Switches work at layer two of the Open Systems Interconnection (OSI) model, the data link layer. Switches are ready to use right out of the box. In contrast to a router, a switch doesn’t require configuration settings by default. When you unbox the switch, it does not need to be configured to perform its role, which is to provide connectivity for all devices on your network. After putting power on the switch and connecting the systems, the switch will forward traffic to each connected device as needed.

Switch vs. Hubs

Moreover, you learned that switches had replaced hubs since they provide more advanced capabilities and are better suited to today’s computer networks. Advanced functionality includes filtering traffic by sending data only to the destination port (while a hub always sends data to all ports).

Full Duplex vs. Half Duplex

With a full duplex, both parties can talk and listen simultaneously, making it more efficient than half-duplex communication, where only one can speak simultaneously. Full duplex transmission is also more reliable since it is less likely to experience interference or distortion. Until switches became available, communication devices were only half-duplexed with hubs. A half-duplex device can send and receive simultaneously, but not simultaneously send and receive.

VLAN: Logical LANs

Virtual Local Area Networks (VLANs) are computer networks that divide a single physical local area network (LAN) into multiple logical networks. This partitioning allows for the segmentation of broadcast traffic, which helps to improve network performance and security.

VLANs enable administrators to set up multiple networks within a single physical LAN without needing separate cables or ports. These benefits businesses need to separate data and applications between various teams, departments, or customers.

In a VLAN, each segment is identified by a unique identifier or VLAN ID. The VLAN ID is used to associate traffic with a particular VLAN segment. For example, if a user needs to access an application on a different VLAN, the packet must be tagged with the VLAN ID of the destination segment to be routed correctly.

In the screenshot below, we have an overlay with VXLAN. VXLAN, short for Virtual Extensible LAN, is an overlay network technology that enables the creation of virtual Layer 2 networks over an existing Layer 3 infrastructure. It addresses traditional VLANs’ limitations by extending network virtualization’s scalability and flexibility. By encapsulating Layer 2 frames within UDP packets, VXLAN allows for creating up to 16 million logical networks, overcoming the limitations imposed by the 12-bit VLAN identifier field.

VXLAN
Diagram: Changing the VNI

VLANs also provide security benefits. A VLAN can help prevent malicious traffic from entering a segment by segmenting traffic into logical networks. This helps prevent attackers from gaining access to the entire network. Additionally, VLANs can isolate critical or confidential data from other users on the same network. VLANs can be implemented on almost any network, including wired and wireless networks. They can also be combined with other network technologies, such as routing and firewalls, to improve security further.

Overall, VLANs are powerful tools for improving performance and security in a local area network. With the right implementation and configuration, businesses can enjoy improved performance and better protection.

Switching Technologies

Switching Technologies


  •  Switch vs. Hubs- Switches replaced hubs since they provide more advanced capabilities and are better suited to today’s computer networks.

  • Full Duplex vs. Half Duplex- In Half Duplex mode, Sender can send the data and also can receive the data but one at a time. In Full Duplex mode, Sender can send the data and also can receive the data simultaneously.

  •  VLAN: Logical LANs- VLANs are a powerful tool to help improve performance and security in a local area network.

IP Routing Process

IP routing works by examining the IP address of each packet and determining where it should be sent. Routers are responsible for this task and use routing protocols such as RIP, OSPF, EIGRP, and BGP to decide the best route for each packet. In addition, each router contains a routing table, which includes information on the best path to a given destination.

When a router receives a packet, it looks up the destination in its routing table. If the destination is known, the router will make a forwarding decision based on the routing protocol. The router will use a default gateway to forward the packet if the destination is unknown.

Routing Protocol
Diagram: Routing Protocol. ISIS.

To route packets successfully, routers must be configured appropriately and able to communicate with one another. They must also be able to detect any changes to the network, such as link failures or changes in network topology.

IP routing is essential to any network, ensuring packets are routed as efficiently as possible. Therefore, it is crucial to ensure that routers are correctly configured and maintained.

IP Forwarding Example
Diagram: IP Forwarding Example.

Routing Table

A routing table is a data table stored in a router or a networked computer that lists the possible routes a packet of data can take when traversing a network. The routing table contains information about the network’s topology and decides which route a packet should take when leaving the router or computer. Therefore, the routing table must be updated to ensure data packets are routed correctly.

The routing table usually contains entries that specify which interface to use when forwarding a packet. Each entry may have network destination addresses and associated metrics, such as the route’s cost or hop count. In addition to the destination address, each entry can include a subnet mask, a gateway address, and a list of interface addresses.

Routers use the routing table to determine which interface to use when forwarding packets. When a router receives a packet, it looks at the packet’s destination address and compares it to the entries in the routing table. Once it finds a match, it forwards the packet to the corresponding interface.

Lab Guide: Networking and Security

Routing Tables and Netstat

Routing tables are essentially databases stored within networking devices, such as routers. These tables contain valuable information about the available paths and destinations within a network. Each entry in a routing table consists of various fields, including the destination network address, next-hop address, and interface through which the data packet should be forwarded.

One of the fundamental features of Netstat is its ability to display active connections. Using the appropriate flags, you can view the list of established connections, their local and remote IP addresses, ports, and the protocol being used. This information is invaluable for identifying suspicious or unauthorized connections.

Get started by running the route command.

Analysis: Seem familiar? Yet another table with the following column headers:

    • Destination: This refers to the destination of traffic from this device. The default refers to anything not explicitly set.

    • Gateway: The next hop for traffic headed to the specific destination.

    • Genmask: The netmask of the destination.

      Note: For more detailed explanations of all the columns and results, run man route.

Run netstat to get a stream of information relating to network socket connections and UNIX domain sockets.

Note: UNIX domain sockets are a mechanism that allows processes local to the devices to exchange data.

  1. To clean this up, you can view just the network traffic using. netstat -at.

    • -a displays all ports, including IPV4 & IPV6

    • -t displays only TCP sockets

Analysis: When routes are created in different ways, they display differently. In the most recent rule, you can see that no metric is listed, and the scope is different from the other automatic routes. That is the kind of information we can use for detection.

The route table will send traffic to the designated gateway regardless of the route’s validity. Threat actors can use this to intercept traffic destined for another location, making it a crucial place to look for indicators of compromise.

How Routing Tables Work:

Routing tables utilize various routing protocols, such as OSPF (Open Shortest Path First) or BGP (Border Gateway Protocol), to gather information about network topology and make informed decisions about the best paths for data packets. These protocols exchange routing information between routers, ensuring that each device has an up-to-date understanding of the network’s structure.

Routing Table Entries and Metrics:

Each entry in a routing table contains specific metrics that determine the best path for forwarding packets. Metrics can include hop count, bandwidth, delay, or reliability. By evaluating these metrics, routers can select the most optimal route based on network conditions and requirements.

Summary: Computer Networking

It’s the backbone of modern communication, from browsing the internet to sharing files across devices. In this blog post, we delved into the fascinating world of computer networking, exploring its key concepts, benefits, and future prospects.

Section 1: What is Computer Networking?

Computer networking refers to connecting multiple computers and devices to facilitate data sharing and communication. It involves hardware components such as routers, switches, cables, and software protocols that enable seamless data transmission.

Section 2: The Importance of Computer Networking

Computer networking has revolutionized how we work, communicate, and access information. It enables efficient collaboration, allowing individuals and organizations to share resources, communicate in real-time, and access data from anywhere in the world. Whether a small local network or a global internet connection, networking plays a pivotal role in our digital lives.

Section 3: Types of Computer Networks

There are various types of computer networks, each serving different purposes. Local Area Networks (LANs) connect devices such as homes, offices, or schools within a limited area. Wide Area Networks (WANs) span larger geographical areas, connecting multiple LANs together. Additionally, there are Metropolitan Area Networks (MANs), Wireless Networks, and the vast Internet itself.

Section 4: Key Concepts in Computer Networking

To understand computer networking, you must familiarize yourself with key concepts like IP addresses, protocols (such as TCP/IP), routing, and network security. These concepts form the foundation of how data is transmitted, received, and protected within a network.

Section 5: The Future of Computer Networking

As technology advances, so does the world of computer networking. Emerging trends such as the Internet of Things (IoT), 5G networks, and cloud computing are reshaping the networking landscape. These developments promise faster speeds, increased connectivity, and enhanced security, paving the way for a more interconnected future.

Conclusion:

In conclusion, computer networking is a fascinating field that underpins our digital world. Its importance cannot be overstated, as it enables seamless communication, resource sharing, and global connectivity. Understanding the key concepts and staying updated with the latest trends in computer networking will empower individuals and organizations to make the most of this ever-evolving technology.

Diagram: Cloud Application Firewall.

Cisco CloudLock

Cisco CloudLock

Cloud applications have changed the way organizations store, access, and share information. Users can work with SaaS applications from corporate offices, branch locations, home networks, and mobile devices, while sensitive data can move between multiple cloud services without passing through the traditional corporate security perimeter.

This creates a different security challenge.

The question is no longer simply whether a user is connected to the network or whether a connection should be allowed. Security teams increasingly need to understand who is accessing the application, what they are doing, what data is involved, and whether that activity complies with security policy.

This is the security problem that Cisco CloudLock was designed to address.

Cisco CloudLock is a cloud-native Cloud Access Security Broker (CASB) that provides visibility and security controls around cloud applications, users, and data. Rather than attempting to recreate the traditional network perimeter around every SaaS application, CloudLock works with cloud services to provide a security and governance layer around activity taking place within them.

This becomes particularly important as organizations adopt multiple cloud applications. Security teams need to understand not only which applications are being used, but also how those applications are being used, what information is being shared, and where potential security risks exist.

CloudLock therefore brings together several important areas of cloud security, including data security, application security, user security, threat detection, and policy enforcement.

The broader objective is not simply to block cloud activity. It is to provide enough visibility and context for security teams to distinguish legitimate business activity from behaviour that may introduce risk.

Throughout this article, we will examine the architecture behind CloudLock, the security challenges created by direct-to-cloud access, the role of DLP and application-aware controls, and how the CASB model provides a different approach to protecting cloud applications and data.

Learning Objective
Understand how a cloud-native CASB connects user activity, cloud applications, data and security policy without relying exclusively on the traditional network perimeter.
Cloud Security Workflow
01 Visibility
02 Analysis
03 Policy
04 Response
Architecture Explorer
Cisco CloudLock
CloudLock operates as a cloud-native Cloud Access Security Broker. Select an architecture component or security domain to explore how it contributes to the overall cloud-security model.
Security Signals
Cloud Visibility API Integration Data Application Activity
Cloud Security Event Console
[READY] CloudLock architecture model initialised. [MODEL] Users → CloudLock → Security Policy [STATUS] Cloud visibility control available. [WAIT] Select a component or security domain.
Engineering takeaway: Cloud security is not simply about controlling connectivity. The important architectural shift is gaining visibility into the relationship between identity, applications, data, behaviour and policy beyond the traditional network perimeter.

Microservices Security

“The Road To Cisco Cloudlock Or Multiple Point Products”

Protecting a modern SaaS environment can require multiple security capabilities, including UEBA, DLP, application security, threat detection, identity controls, and compliance monitoring. Historically, organizations often addressed these requirements by deploying separate products for each capability and then integrating those products with individual cloud applications.

This approach can provide strong functionality, but it also introduces operational complexity. Security teams may need to manage multiple products, policies, integrations, dashboards, and data sources across an increasingly distributed environment.

As the number of cloud applications increases, maintaining consistent security policies across these individual control points becomes increasingly difficult.

The challenge is therefore not simply adding more security products. It is creating a security architecture that provides visibility across users, applications and data while allowing security policies to be applied consistently.

Cisco CloudLock provides an example of this approach through its cloud-native Cloud Access Security Broker (CASB)architecture, bringing cloud application visibility, user activity analysis, data protection, and policy enforcement into a cloud-focused security model.

The broader Cisco security architecture can then provide additional controls for secure access, identity, threat protection, and network security.

Challenge: Lack of Visibility

Cloud adoption changes the traditional security model. Applications and data are no longer necessarily hosted inside an organization’s data centre, and users may access SaaS applications directly from offices, branch locations, home networks, or mobile devices.

This creates a fundamental visibility challenge.

Security teams need to understand what is happening in the cloud, who is performing the activity, which application is involved, what data is being accessed, and whether that activity complies with security policy.

Traditional network controls can provide important visibility into network traffic, but they do not necessarily provide the application-level or data-level context required to understand activity occurring inside SaaS platforms.

The cloud therefore introduces a different security question.

Instead of asking only where a connection originated, security teams increasingly need to understand the relationship between identity, application, data, behaviour and policy.

Examples: Cloud Security Solutions.

Cisco CloudLock

Cisco Umbrella

Cisco Secure Cloud Analytics

Cisco Duo Security

These technologies address different parts of the wider cloud-security problem. The important architectural principle is that cloud security should not depend on a single control point. Identity, application, data, network, and threat controls may all contribute to the overall security model.

Challenge: Direct to the Cloud

Cloud computing provides users with direct access to applications, data, and services from almost anywhere. SaaS applications have accelerated this model because employees can work directly with cloud services without requiring applications to be hosted inside the corporate network.

As organizations adopt direct internet access, branch offices and remote users increasingly connect to cloud services instead of backhauling traffic through a central corporate security stack.

This changes the role of traditional security controls.

The traditional security stack was designed around a model where users, applications, and data were largely located behind a corporate perimeter. Cloud services challenge that assumption because the application may be external, the user may be remote, and the data may exist entirely within a SaaS platform.

This does not make traditional network security obsolete. Instead, it means network security must be complemented by controls that understand cloud applications, identities, user activity, and data.

The result is a shift from a purely network-centric security model towards a broader model based on identity, application, data, behaviour and policy.

Cisco Umbrella and Cisco Cloudlock

Cisco Umbrella and Cisco CloudLock address different parts of the cloud-security problem.

Umbrella provides cloud-delivered security capabilities for users connecting to the Internet and can provide visibility across network devices, office locations, and roaming users. This makes it particularly relevant to secure internet access and identifying or preventing malicious activity before it reaches users and devices.

CloudLock takes a different approach. It uses a 100 percent cloud-native, API-based approach. Rather than relying solely on visibility of network traffic, the CASB model focuses on activity occurring within cloud applications, including users, applications, data, and cloud-to-cloud interactions.

This distinction is important.

A user may access a SaaS application successfully over an encrypted internet connection while performing an action that violates organizational policy. Network-level controls may know that the user connected to the application, but a cloud security control needs to understand what the user did inside the application and what happened to the data.

Together, these approaches demonstrate an important principle of modern cloud security: protecting cloud environments requires visibility both around the connection and inside the cloud application.

Highlighting Cisco Cloudlock

Cisco CloudLock is a Cloud Access Security Broker (CASB) that helps organizations understand and protect cloud-based identities, applications, and data.

The value of the CASB model is not simply that it adds another security product. It provides a security control point for understanding activity that can otherwise be difficult to observe when applications and data are hosted outside the traditional corporate network.

CloudLock can therefore be viewed through three primary security domains: data security, application security, and user security.

Data Loss Prevention:

A Cisco Cloudlock Data Loss Prevention (DLP) capability can identify sensitive information within cloud environments and apply policies designed to reduce unauthorized sharing or exposure.

At this stage, the important architectural point is simply that cloud DLP provides visibility into the data being used within cloud applications and allows security policy to be applied to that activity.

The detailed DLP use cases and data-protection mechanisms are examined later in this article.

Automated Responses:

Cloud security becomes more effective when visibility can be connected to an appropriate response.

Through Cisco Cloudlock’s API-driven Cloud Access Security Broker (CASB) architecture, security events can be associated with actions within the monitored cloud application. Depending on the application and policy, responses can include generating alerts, restricting activity, protecting information, or taking action against cloud resources.

This creates a security workflow that moves beyond simple discovery:

Visibility → Analysis → Policy → Security Response

The objective is to identify risky activity and provide security teams with enough context to make an appropriate response without relying entirely on manual investigation.

Understanding CASBs – Security Control Point

CASB, the acronym for Cloud Access Security Broker, describes a security control point positioned around cloud services and applications. It is a security control point, providing visibility, policy enforcement, data protection, and security monitoring for cloud environments.

The importance of CASB becomes clearer when considering how cloud applications are used today. Users may connect from different locations and devices, applications may be delivered entirely through SaaS platforms, and sensitive information may move between multiple cloud services.

A CASB therefore helps security teams establish a consistent security view across these activities.

The principal CASB capabilities include:

  • cloud application visibility

  • data protection and DLP

  • policy enforcement

  • threat and behavioural analysis

  • access and identity controls

  • compliance monitoring

  • security response

Importantly, CASB solutions go beyond simply “permitting” or “denying” access. They can provide visibility into what users are doing inside cloud applications and apply policy to activities involving data and applications.

The cloud application itself does not necessarily need to change. Users continue accessing the SaaS service, while the CASB provides an additional security and governance layer around that activity.

CASB Categories:

CASB architectures can be implemented in different ways. Two important approaches are API-based CASB and log-based CASB.

A log-based approach typically consumes activity information from cloud applications or other monitoring systems. This provides valuable visibility, but the CASB is dependent on logs being generated, collected, and processed before meaningful analysis can occur.

An API-based approach communicates directly with supported cloud applications through their APIs. This allows the CASB to inspect cloud data and activity without requiring all user traffic to pass through a traditional proxy.

API-based CASB protection is particularly useful for cloud-to-cloud activity. For example, a user may move information between SaaS applications without that traffic ever travelling through the corporate network.

Cloudlock is an API-based CASB. Therefore, unlike a traditional proxy-based security architecture, it does not need to sit directly in the user traffic path to provide cloud security controls.

This has important architectural advantages. The security model does not require all cloud traffic to be forced through a central proxy infrastructure simply to gain visibility into cloud applications.

The result is a different approach: rather than attempting to recreate the traditional corporate perimeter around every cloud application, the security control works directly with the cloud application’s data, users, and APIs.

That distinction is central to understanding why CloudLock is fundamentally a cloud-native security control rather than simply another network firewall.

Learning Objective
Select a security domain, examine the signals available to the security team, and understand how those signals contribute to a contextual cloud-security decision.
Cloud Security Policy
Visibility → Analysis → Policy → Security Response
Investigation
Select a security domain
Select Data Security, Application Security or User Security to begin the investigation.
Identity
Application
Data
Behaviour
Investigation Context
What should the engineer examine?
Security Context
0 / 6 signals
Choose a domain and then select the security signals you would use to investigate that activity.
Security Investigation Console
READY
Cloud security investigation ready.
DATA → What needs protection?
APPLICATION → Where is it being used?
USER → Who is using it?
Engineer’s takeaway: Cloud security decisions become stronger when the security team combines multiple signals rather than evaluating data, applications or users in isolation. The goal is to build enough context to determine whether activity is consistent with policy and acceptable risk.

Cloud Security Concepts

A. Data Loss Prevention (DLP)

Let us start with DLP. Data Loss Prevention (DLP) is designed to prevent sensitive or regulated information from leaving an organization without authorization. This becomes particularly challenging in cloud environments, where users can access, copy, share, and distribute information across multiple SaaS platforms and external services.

Traditional security controls such as firewalls, email security, and endpoint protection are primarily concerned with protecting users, systems, and network traffic. DLP addresses a different problem: preventing authorized users from performing unauthorized data-handling actions.

This is an important distinction. An employee may legitimately have access to customer records, financial information, or intellectual property. The security problem begins when that legitimate access is used to move sensitive information somewhere it should not go.

Intentional and accidental data breaches are not uncommon.

Example: Google Cloud Sensitive Data Protection

Sensitive data protection

DLP in Action – Example of Threat:

  • Consider a financial services organization where an employee has legitimate access to large quantities of credit card numbers and personally identifiable information (PII). The employee may also have legitimate access to corporate email.

  • An attacker does not necessarily need to compromise the employee’s account. A malicious insider, or an employee acting accidentally, could simply attach sensitive information to an email and send it to a personal account.

  • Firewalls and email security solutions can’t necessarily prevent this type of activity because the user may be legitimately authenticated and the email service itself may be authorized.

  • They are not looking for that type of metadata. DLP, however, is specifically designed to identify sensitive information and apply policy when that information is being shared, copied, downloaded, or transferred.

With appropriately configured DLP policies, organizations can identify sensitive information, generate alerts, block unacceptable transfers, and create an audit trail for investigation.

“Generally speaking, it boils down to a lack of visibility”

This is particularly important in cloud environments. Traditional on-premises security controls have historically provided strong visibility into network traffic, but SaaS applications introduce a different model. Users can share files directly from cloud applications with external parties without that activity necessarily passing through the organization’s traditional network security stack.

The collaborative nature of cloud applications makes this both powerful and risky. A user can share a document with an external address, create a public link, or move information between cloud services without the data ever traversing the corporate network.

DLP and CASB technologies extend visibility into these environments. A security team can determine whether sensitive files are being shared externally, whether sharing violates organizational policy, and whether an action should be allowed, blocked, or reported.

The important point is that DLP is not simply about identifying sensitive information. Effective cloud DLP combines data classification, user identity, application context, activity, and policy to determine whether an action should be permitted.

 


 

B. Application Firewalls

Next, we have application firewalls. How does an application firewall differ from a “traditional firewall”? The fundamental difference is what the security policy is protecting.

A traditional network firewall primarily evaluates network traffic using attributes such as source and destination addresses, ports, protocols, and connection state. An application firewall moves the security decision closer to the application itself.

Application Firewall vs. Traditional Firewall.

Cloud applications introduce an important challenge for traditional network-based controls. A SaaS application may need to be accessible from many different networks and devices. Consequently, building security policy primarily around “Source IP” becomes increasingly restrictive and less useful.

A user could connect from a corporate office, a home network, a mobile connection, or another country. The application still needs to determine whether the user, request, session, or transaction should be trusted.

Your toolkit just became ineffective when it came to Layer 3 and Layer 4 security controls.

This does not mean that network firewalls have become irrelevant. Layer 3 and Layer 4 controls remain important for network segmentation, traffic filtering, and infrastructure protection. The issue is that they cannot, by themselves, provide all of the context required to make decisions inside modern cloud applications.

Application-aware security can consider factors such as:

  • the application being accessed

  • the identity of the user

  • the type of device

  • the requested action

  • the sensitivity of the data

  • the location or risk context

  • the behaviour associated with the session

The security model therefore moves beyond simply asking “Where did this traffic come from?” and begins asking “What is the user attempting to do, and should that action be permitted?”

Example: Distributed Firewalling

Distributed security controls illustrate how policy can be enforced closer to workloads, applications, and users rather than relying exclusively on a centralized perimeter.

The important architectural point is that cloud security is not achieved by simply extending the traditional perimeter into the cloud. Security controls need to operate at the appropriate layer and understand the application, identity, data, and context involved.

For CloudLock, this distinction is important because CloudLock is not primarily a replacement for a traditional network firewall. Its value comes from providing visibility and policy enforcement around cloud applications and the data contained within them.

 


 

C. Cloud Access Security Broker (CASB)

Users interact with cloud services such as SaaS applications, IaaS platforms, and PaaS environments from many different locations and devices. A Cloud Access Security Broker (CASB) provides a security control point around the organization’s use of those cloud services.

The key benefit is visibility and policy enforcement in environments that the organization does not directly own or operate.

CASB solutions can help protect cloud data, applications, and user activity regardless of where the user is or how they access the cloud application.

Where traditional security mechanisms often focus on the endpoint or network, a CASB focuses specifically on the organization’s use of cloud services.

CASBs can provide capabilities including:

  • visibility into cloud application usage

  • data loss prevention

  • policy enforcement

  • detection of risky behaviour

  • access control

  • compliance monitoring

  • protection of sensitive information

Importantly, CASB solutions go beyond simply “permitting” or “denying” access. They can provide visibility into what users are doing inside cloud applications and apply policy to activities involving data and applications.

The cloud application itself does not necessarily need to change. Users continue accessing the SaaS service, while the CASB provides an additional security and governance layer around that activity.

CASB Categories:

CASB architectures can be implemented in different ways. Two important approaches are API-based CASB and log-based CASB.

A log-based approach typically consumes activity information from cloud applications or other monitoring systems. This provides valuable visibility, but the CASB is dependent on logs being generated, collected, and processed before meaningful analysis can occur.

An API-based approach communicates directly with supported cloud applications through their APIs. This allows the CASB to inspect cloud data and activity without requiring all user traffic to pass through a traditional proxy.

API-based CASB protection is particularly useful for cloud-to-cloud activity. For example, a user may move information between SaaS applications without that traffic ever travelling through the corporate network.

Cloudlock is an API-based CASB. Therefore, unlike a traditional proxy-based security architecture, it does not need to sit directly in the user traffic path to provide cloud security controls.

This has several architectural advantages. The security model does not require all cloud traffic to be forced through a central proxy infrastructure simply to gain visibility into cloud applications.

Instead, the CASB can work with the cloud application’s own interfaces to understand data, users, application activity, and policy-relevant events.

This becomes particularly valuable when data moves between cloud services. A user might download information from one SaaS platform and upload it into another without that activity traversing the corporate network.

A traditional network-centric security model may have limited visibility into that cloud-to-cloud transaction. An API-based CASB can provide a different point of visibility by interacting directly with the supported cloud services.

The result is a different security model: rather than attempting to recreate the traditional corporate perimeter around every cloud application, the security control works directly with the cloud application’s data, users, and APIs.

That distinction is central to understanding why CloudLock is fundamentally a cloud-native security control rather than simply another network firewall.

ENGINEER'S MENTAL MODEL

How to Think About CloudLock

Cloud security is easier to reason about when visibility, analysis, policy and response are treated as a continuous engineering process rather than isolated security features.

Learning Objective
Use the five-stage model to move from cloud visibility to security response, then build a contextual decision using identity, application, data and behaviour signals.
Current Engineering Stage
1. Discover

Start with visibility. Identify cloud applications, users, data, access patterns and cloud activity. The objective is to understand what exists before attempting to control it.

The Four Questions an Engineer Should Ask
WHO?
Which user or identity is performing the activity?
WHAT?
What application and data are involved?
HOW?
What behaviour or context makes the activity normal or risky?
Build the Security Decision
0 / 4 selected
0 Context Score
A strong cloud-security decision requires context. Select Identity, Application, Data and Behaviour to build the decision model.
Cloud Security Decision Console
READY
Decision model ready. Select contextual signals.

Cloud Visibility

Cloud Security Visibility and Context

The three security capabilities described above address different parts of the cloud-security problem, but they share a common requirement: visibility with context.

Knowing that a user connected to a cloud application is useful, but it is not enough to determine whether the activity represents a security risk.

A modern cloud-security control needs to understand several pieces of information at the same time:

Identity: Who is performing the activity?

Application: Which cloud service or SaaS application is involved?

Data: What information is being accessed, uploaded, downloaded, or shared?

Behaviour: Is the activity consistent with the user’s normal behaviour?

Context: Where is the user connecting from, what device are they using, and does the activity present additional risk?

Policy: Is the requested action permitted by the organization?

Together, these elements create a more useful security model than simply allowing or denying a network connection.

For example, consider a user who normally accesses a small number of documents from a corporate laptop during working hours. The same user account suddenly downloads thousands of sensitive files from a new location and attempts to share them with an external account.

The network connection itself may be legitimate.

The identity may also be legitimate.

The application may be authorized.

But when identity, application, data, behaviour, and context are considered together, the activity becomes significantly more suspicious.

This is where cloud security moves beyond traditional perimeter thinking.

The security question is no longer simply:

“Can this user connect to the application?”

It becomes:

“Is this user performing an action that is consistent with policy and acceptable risk?”

This distinction is important because cloud security is increasingly concerned with what happens after access has been granted. A user can be authenticated, the application can be approved, and the network connection can be legitimate while the activity itself still violates organizational policy.

A CASB such as CloudLock helps provide the visibility required to evaluate this activity within the cloud environment. By combining information about users, applications, data, and activity, security teams can apply policy based on more than network location alone.

The resulting security workflow can be represented as:

Visibility → Analysis → Policy → Security Response

This provides the foundation for a more contextual approach to cloud security.

The traditional network perimeter still has an important role, but it cannot provide all of the context required to understand modern SaaS activity. Security controls must increasingly understand what is happening inside the cloud service, not simply whether traffic is travelling towards it.

That is the fundamental shift from network-centric security to cloud-aware security: the security decision is increasingly based on the relationship between identity, application, data, behaviour, context, and policy.

Cloud Security Decision Builder

Connect the Context. Make the Security Decision.

Cloud security decisions become stronger when identity, application, data and behaviour are considered together. Select the context an engineer would investigate before applying policy.

Learning Objective Build a contextual security decision by connecting identity, application, data, behaviour and risk context before determining the appropriate policy response.

1. Select Investigation Context

Choose the information available to the security team during a cloud-security investigation.

Select multiple context elements to construct the cloud-security decision chain.

Security Assessment

More relevant context produces a stronger basis for policy decisions.

Decision Confidence
0%
Awaiting investigation
Select the context available to the security team, then evaluate the decision.
Cloud Security Console
[READY] Cloud security decision workspace initialised. [WAIT] Select investigation context.
Engineer’s Takeaway A strong cloud-security decision is rarely based on one signal. Identity, application, data, behaviour and context provide the evidence required to determine whether activity is consistent with policy and acceptable risk.
rsz_1moving_thrugh_thr_layer

Network Connectivity

Network Connectivity

Modern applications depend on connectivity.

Whether a user is opening a web application, a Kubernetes workload is communicating with another service, a database is replicating across a data centre, or a cloud platform is reaching an on-premises system, the underlying requirement is the same: data must move reliably from one endpoint to another.

That sounds simple. In modern infrastructure, it rarely is.

A packet may pass through switches, routers, routing domains, security boundaries, load balancers, tunnels, overlays and cloud networks before reaching its destination. Along the way, the network must resolve neighbours, select routes, apply policy, enforce security controls, handle MTU constraints and establish the appropriate transport or application session.

Connectivity is therefore much more than having an IP address and a reachable interface.

A useful way to understand modern networking is as a chain of dependent decisions:

CONNECT → RESOLVE → ROUTE → SECURE → TRANSPORT → DELIVER → OBSERVE

Each stage depends on the others. An interface must be operational before traffic can leave a host. Neighbour discovery must succeed before the next hop can be reached. Routing must select a valid path. Security policy must permit the traffic. NAT, tunnelling or segmentation may alter how the packet travels. Transport protocols must establish communication where required, and the application must ultimately be available and responding.

A failure at any one of these stages can produce the same familiar symptom:

“The application is unreachable.”

The challenge for a network engineer is determining where the failure actually occurred.

Traditional networking is often taught as a collection of individual technologies: Ethernet, VLANs, IPv4, IPv6, ARP, TCP, UDP, OSPF, BGP, firewalls and NAT. These technologies remain fundamental, but production connectivity is created by their interaction.

A packet can move from a container through a virtual interface, across an Open vSwitch datapath, through a Kubernetes service, across a VXLAN overlay, through an EVPN-controlled fabric, into a WAN, across a cloud routing domain and eventually toward an application endpoint.

The individual protocols have not disappeared. They have become layers within a much larger connectivity system.

Modern networks also require an understanding of the relationship between the control plane and the data plane. The control plane determines what should happen. Routing protocols exchange information, calculate paths, apply policy and build routing state. The data plane executes those decisions using forwarding tables, neighbour information, ACLs, firewall rules, NAT state and switching or routing pipelines.

This distinction becomes particularly important when troubleshooting.

A routing protocol can be healthy while forwarding is incorrect. A route can exist while an ACL blocks the packet. A TCP session can fail even though IP connectivity works. A service can be unreachable even though every network hop appears healthy.

Control-plane correctness does not automatically guarantee application connectivity.

Modern connectivity failures are rarely caused by one technology in isolation. Incorrect addressing, VLAN configuration, missing ARP or IPv6 neighbour discovery, routing decisions, asymmetric paths, VRF segmentation, BGP or IGP policy, ACLs, firewalls, NAT, MTU problems, DNS, Kubernetes networking, cloud route tables, overlay tunnels and application health can all influence the final result.

This creates an important engineering principle:

Troubleshoot connectivity as a chain of dependencies, not as a collection of isolated devices.

Instead of asking only, “Is the router working?”, the better questions are:

Where is the packet now?

What is the next hop?

Which control plane made the decision?

What does the data plane actually do?

Which policy could stop the packet?

Where does the packet disappear?

What evidence proves the failure?

That mindset scales from a small LAN to a data-centre fabric, a WAN, a cloud environment or a Kubernetes platform.

This article takes a practical approach to understanding that connectivity chain. Rather than treating networking as a collection of static diagrams, the interactive sections allow you to follow what happens to traffic as it moves through a modern network.

You will examine how packets are encapsulated and forwarded, how routing and neighbour resolution influence the next hop, how security and transport affect connectivity, how routing control planes build forwarding state, and how cloud-native platforms introduce additional networking layers.

The later investigations deliberately introduce failures so that connectivity can be analysed from the perspective of an engineer troubleshooting a real system.

The objective is not simply to memorise protocols.

It is to develop a repeatable way of thinking:

What is the source? What is the destination? What is the next hop? Which decision was made? Where did the packet stop? Why did it stop? What evidence proves it?

Modern infrastructure is no longer a collection of isolated networks. It is a distributed connectivity fabric spanning hosts, switches, routers, security systems, WANs, data centres, cloud platforms, containers and applications.

Understanding how those layers interact is one of the most important foundations for modern network engineering.

The goal is simple:

Follow the packet. Understand the decision. Find the failure. Prove the result.

Highlights: Network Connectivity

Network Connectivity · Technical Learning Path

Connectivity Engineering Journey

Move from packet fundamentals through routing, cloud-native networking and finally into structured connectivity investigation.

01
Connectivity Foundations
→

Understand how a packet is created, encapsulated, switched, routed and delivered across a network.

Ethernet ARP / NDP Switching Routing
Interactive Lab Packet & Protocol Explorer
02
Addressing, Transport & Security
→

Follow the dependencies between addressing, neighbour discovery, ACLs, firewalls, NAT, MTU and transport.

IPv4 / IPv6 TCP / UDP ACL NAT
Interactive Lab Connectivity Decision Engine
03
Routing & Network Fabric
→

See how routing protocols become forwarding state and how VRFs, overlays and fabrics extend connectivity.

OSPF IS-IS BGP VXLAN / EVPN
Interactive Lab Routing & Fabric Explorer
04
Cloud-Native Networking
→

Trace traffic through namespaces, veth pairs, CNI networking, datapaths, services and policy.

Kubernetes CNI OVS NetworkPolicy
Interactive Lab Cloud-Native Network Explorer
05
Connectivity Investigation
→

Investigate an unreachable application by proving where the connectivity chain breaks and why.

Evidence Failure Domain Packet Path Root Cause
Capstone Investigation Network Failure Investigator
Live Connectivity Flow
Packet Moving Through the Network
Network Activity
ENDPOINT
ROUTER
CORE
SERVICE
APPLICATION
BACKUP
CLOUD
Network Connectivity · Foundation Map

How Connectivity Is Built

Before following an individual packet, understand the chain of decisions that allows an application to communicate. Select a layer to see what it contributes to the end-to-end connectivity path.

End-to-End Connectivity Stack
Select a layer
Application
Transport
IP
Resolve
Link
Switch
Route
Current Layer
07 / 07
SERVICE LAYER

Application

The application is the reason connectivity exists. A successful network path ultimately has to deliver traffic to a usable service such as HTTP, DNS, an API endpoint or a database.
Question
Is the service actually available?
Evidence
Response / timeout / application error
Decision
Deliver to the correct service
Next Dependency
Transport session
Engineering Clue
An application timeout does not automatically mean the network is broken. The failure may exist anywhere lower in the dependency chain.
Network Connectivity · Interactive Lab 01

Packet & Protocol Explorer

Follow one packet from application data through Ethernet, switching, routing and final delivery.

Ready
0 / 12
LIVE PACKET PATH
IPv4 · TCP · Ethernet
HOST
Client
10.10.10.10
SW
SW1
L2 Forwarding
R1
Router
L3 Routing
APP
Server
10.20.20.20
Packet waiting at source
Current Decision READY
00
Ready to send
Step through the packet path to see each connectivity decision.
Start by identifying the source, destination and required next hop.
Live Telemetry PACKET STATE
10.10.10.10
10.20.20.20
—
—
—
Application
Packet Lifecycle WAITING
01 Application
02 TCP
03 IPv4
04 ARP
05 Ethernet
06 Switch
07 Router
08 Route
09 New L2
10 Server
11 TCP
12 Application
Engineering principle: Layer 2 delivers across the local link; Layer 3 determines the routed path.

Network Connectivity

Modern network connectivity is not simply the ability to reach an IP address.

A successful network flow depends on a chain of decisions and transformations that begin at the endpoint and continue through switching, routing, security, transport and application services.

A useful engineering model is:

CONNECT → RESOLVE → ROUTE → SECURE → TRANSPORT → DELIVER → OBSERVE

Each stage can fail independently.

A host can have a valid IP address but no Layer 2 connectivity. A gateway can be reachable while the destination route is missing. A route can exist while a firewall blocks the flow. TCP can establish successfully while the application itself fails.

Understanding connectivity therefore requires understanding the complete forwarding path rather than testing a single protocol in isolation.

The Modern Connectivity Fabric

A modern enterprise flow may cross several network domains before an application response reaches the user:

Endpoint → Access Network → Switching → Routing → Security → WAN/Cloud → Platform → Application

The physical path may involve Ethernet or Wi-Fi at the edge, VLANs and trunks inside the local network, routed interfaces and VRFs through the infrastructure, firewalls and security policies at trust boundaries, and overlays such as VXLAN across a data-centre fabric.

The destination may then reside inside a cloud VPC, a Kubernetes cluster, a virtual machine, a container or a distributed application.

Connectivity is therefore better understood as a fabric of forwarding domains and control planes than as a single network.

End-to-End Connectivity Model
Layer / DomainPrimary FunctionTypical Technologies
EndpointGenerates and receives trafficOS networking, sockets, NIC
AccessProvides local attachmentEthernet, Wi-Fi, VLAN
SwitchingMoves frames within Layer 2MAC tables, 802.1Q, STP
RoutingSelects Layer 3 pathsOSPF, IS-IS, BGP, static routes
SegmentationSeparates routing domainsVRF, VLAN, tenant networks
SecurityApplies traffic policyACL, firewall, security groups
TransportEstablishes communicationTCP, UDP, QUIC
WAN / CloudExtends connectivity domainsVPN, SD-WAN, VPC, transit
PlatformConnects workloadsKubernetes, CNI, service networking
ApplicationProvides the actual serviceHTTP, TLS, DNS, APIs

The important point is that these layers are related but not interchangeable.

Routing does not replace firewall policy. A successful ping does not prove that an HTTPS application works. DNS resolution does not prove that the destination port is reachable.

Each layer provides evidence about a different part of the connectivity chain.

What Actually Happens to a Packet

When an application sends data, the application does not normally construct an Ethernet frame itself.

Instead, data is progressively encapsulated as it moves down the networking stack.

Application data

↓

TCP segment / UDP datagram

↓

IP packet

↓

Ethernet frame

↓

Physical or virtual transmission

At the destination, the process is reversed through decapsulation.

Frame → IP packet → Transport data → Application data

This distinction is important when troubleshooting because each layer exposes different failure conditions.

For example:

  • An Ethernet problem may prevent the frame from reaching the next hop.

  • An IP routing problem may send the packet toward the wrong destination.

  • A firewall may intentionally discard the packet.

  • TCP may fail even though IP connectivity exists.

  • TLS may fail after TCP succeeds.

  • The application may return an error even though every lower layer is functioning correctly.

Packet Anatomy

An IPv4 packet carried inside an Ethernet frame can contain information such as:

Ethernet

  • Source MAC address

  • Destination MAC address

  • 802.1Q VLAN tag, when present

  • EtherType

IPv4

  • Source IP address

  • Destination IP address

  • TTL

  • Protocol

  • Fragmentation fields

  • Header checksum

TCP

  • Source port

  • Destination port

  • Sequence number

  • Acknowledgement number

  • Window

  • TCP flags

  • MSS and other negotiated options

The fields are used for different decisions.

The destination MAC address is relevant to the local Layer 2 hop.

The destination IP address identifies the Layer 3 destination.

The TCP destination port identifies the transport service.

This is why a routed packet can change its Ethernet header at every Layer 3 hop while its destination IP normally remains unchanged from end to end.

Encapsulation and Decapsulation

Consider a client accessing:

10.20.30.40:443

The application generates data for an HTTPS session.

The host creates a TCP segment with:

Source Port → Ephemeral client port

Destination Port → 443

The TCP segment is placed inside an IP packet:

Source IP → Client address

Destination IP → 10.20.30.40

The IP packet is then placed inside an Ethernet frame.

If the destination is on another subnet, the Ethernet destination is normally the MAC address of the local next-hop gateway, not the MAC address of 10.20.30.40.

The router receives the frame, removes the Layer 2 header, examines the destination IP address, performs a forwarding lookup and constructs a new Layer 2 frame for the next link.

This process repeats at each routed hop.

The key engineering principle is:

Layer 2 delivers the frame to the next local hop. Layer 3 determines where the packet needs to go.

Switching and Layer 2 Connectivity

Before routing can occur, many network flows must first cross a Layer 2 segment.

Ethernet switches build forwarding decisions using learned MAC addresses.

When a frame arrives, a switch can conceptually perform this sequence:

Receive frame

→ Learn source MAC

→ Identify VLAN

→ Search destination MAC

→ Apply forwarding policy

→ Select egress interface

→ Transmit frame

The switch therefore maintains a forwarding database containing relationships such as:

MAC address → VLAN → switch port

This table is learned dynamically from observed traffic.

MAC Learning

Suppose a frame arrives from host A:

AA:AA:AA:AA:AA:01

on switch port 10.

The switch can learn:

AA:AA:AA:AA:AA:01 → Port 10

If host B is already known on port 20, traffic destined for B can be forwarded directly to port 20.

If the destination MAC is unknown, the switch may flood the frame within the relevant Layer 2 broadcast domain, subject to the VLAN and forwarding rules.

This is one reason large Layer 2 domains can become operationally complex.

Unknown unicast traffic, broadcast traffic and multicast traffic can all consume resources across the same domain.

VLANs and Trunks

VLANs provide logical Layer 2 segmentation.

An access interface normally associates an endpoint with a particular VLAN.

A trunk can carry multiple VLANs between network devices using IEEE 802.1Q tagging.

Conceptually:

Access Port

Endpoint → VLAN 20

Trunk

VLAN 10
VLAN 20
VLAN 30
VLAN 40

The VLAN identifier allows switches to keep otherwise shared physical infrastructure logically separated.

However, a VLAN is not a complete security boundary by itself.

When traffic must move between VLANs, a Layer 3 gateway or routing function is required.

Layer 2 Failure Domains

Layer 2 connectivity introduces its own failure modes.

Examples include:

  • Incorrect VLAN assignment

  • Trunk allowed-VLAN mismatch

  • Native VLAN mismatch

  • MAC learning problems

  • Layer 2 loops

  • STP convergence

  • Broadcast storms

  • Unknown-unicast flooding

  • Port security violations

  • Physical interface errors

A host can therefore have a perfectly configured IP address while remaining unreachable because its Ethernet frame never reaches the correct Layer 3 gateway.

Routing and Forwarding

Routing answers a fundamental question:

Where should this IP packet go next?

The answer is not normally determined by the application.

It is determined by the network’s routing and forwarding mechanisms.

A router can maintain many routes to different destinations. These routes may originate from:

  • Connected interfaces

  • Static configuration

  • OSPF

  • IS-IS

  • EIGRP

  • BGP

  • Policy-based mechanisms

  • Other routing sources

The routing system must determine which route should become the active path.

The forwarding system then uses that decision for individual packets.

Control Plane and Data Plane

The distinction between control plane and data plane is fundamental.

Control Plane

The control plane learns and calculates reachability.

Examples:

  • OSPF neighbour relationships

  • IS-IS adjacencies

  • BGP sessions

  • Static routes

  • Route policies

  • BGP path selection

The result contributes to the device’s routing information.

Data Plane

The data plane forwards individual packets.

It uses the resulting forwarding information to determine:

Destination → Prefix match → Next hop → Egress interface

The control plane can therefore be thought of as determining what should be reachable, while the data plane determines how each packet is actually forwarded.

RIB → Best Route → FIB

A simplified routing process looks like this:

Routing Information Sources

↓

RIB

↓

Best Route Selection

↓

FIB

↓

Longest Prefix Match

↓

Next Hop

↓

Adjacency

↓

Forwarding

The RIB represents the routing information used by the control plane.

The best-path process determines which route should be installed as the preferred route.

The resulting forwarding information is then programmed into the FIB or equivalent forwarding structure used by the data plane.

The exact implementation differs between operating systems and hardware platforms, but the conceptual separation is extremely useful when troubleshooting.

Longest Prefix Match

When a packet arrives, the router does not simply choose the route with the numerically smallest network address.

It performs a Longest Prefix Match against the destination IP address.

For example, imagine a routing table contains:

10.0.0.0/8

10.20.0.0/16

10.20.30.0/24

A packet destined for:

10.20.30.50

matches all three prefixes.

The most specific route is:

10.20.30.0/24

Therefore the /24 wins the forwarding lookup.

This mechanism allows broad summary routes to coexist with more specific paths.

Recursive Next-Hop Resolution

A routing entry may not always point directly to an outgoing interface.

A route can instead identify a next-hop IP address that must itself be resolved through another route.

For example:

10.50.0.0/16

→ Next hop 192.0.2.10

The router must determine how to reach 192.0.2.10 before it can forward traffic toward 10.50.0.0/16.

This is known as recursive next-hop resolution.

The final forwarding decision may therefore involve several pieces of information:

Destination prefix

→ Best route

→ Resolved next hop

→ Outgoing interface

→ Layer 2 adjacency

→ Frame transmission

ECMP

Modern networks frequently use Equal-Cost Multi-Path, or ECMP.

Instead of maintaining one usable path, a router may have multiple paths with equivalent forwarding cost.

Conceptually:

Destination

→ Path A

→ Path B

→ Path C

Traffic can then be distributed across those paths according to the platform’s hashing and load-balancing behaviour.

ECMP is widely used in data-centre, service-provider and cloud architectures because it provides both scalability and path redundancy.

It also introduces an important troubleshooting consideration:

Different flows may take different paths.

A problem affecting only one ECMP path can therefore produce intermittent or flow-specific connectivity failures.

Engineering Insight

Connectivity is a chain of independent decisions.

A useful troubleshooting mindset is to avoid asking only:

“Can I ping it?”

Instead ask:

Can I reach the local network?

Can I resolve the neighbour?

Does a route exist?

Which next hop was selected?

Is the packet permitted by policy?

Can the transport session establish?

Can the application complete its transaction?

Each answer narrows the failure domain.

A successful ping proves that a particular ICMP exchange succeeded.

It does not automatically prove that TCP/443, DNS, an API endpoint, authentication or the application itself will work.

The First Connectivity Decision

For every network flow, the infrastructure is ultimately trying to answer a sequence of questions:

Who is sending?

→ Source addressing

Where is the destination?

→ Destination addressing

Is the destination local?

→ Subnet decision

If not, where is the next hop?

→ Routing

Can the next hop be reached locally?

→ ARP / NDP / adjacency

Is the traffic allowed?

→ ACL / firewall / security policy

Can the transport session establish?

→ TCP / UDP / QUIC

Can the application communicate?

→ DNS / TLS / HTTP / application protocol

This layered decision process is the foundation for everything that follows in modern network connectivity.

The next stage is to examine what happens when the flow leaves basic Layer 2 and Layer 3 forwarding and encounters IPv4/IPv6 behaviour, transport protocols, MTU constraints, security policy and asymmetric paths.

Connectivity Decision Engine

Network Connectivity · Dependency Map

What Must Work Before the Application Can Connect?

Connectivity is a chain of dependencies. Select a component to see what it provides, what evidence proves it is working, and what kind of failure it can create.

Connectivity Dependency Chain
Click any dependency
Address → Resolve → Route → Permit → Translate → Fit → Connect → Serve
Dependency Detail
01 / 08
FOUNDATION

Addressing

The endpoint needs a valid IPv4 or IPv6 address and an appropriate network configuration before meaningful communication can begin.
Engineer asks
Does the endpoint have the expected address?
Evidence
Interface and address configuration
Depends on
Interface state
Next
ARP / NDP
Failure signature
Incorrect addressing can prevent local communication, create incorrect routing assumptions or send traffic toward the wrong network.
Network Connectivity · Interactive Lab 02

Connectivity Decision Engine

Follow an application connection through every dependency and deliberately introduce failures.

Healthy
1 / 10
End-to-End Connectivity Path
READY
01
NIC
Interface
Ready
→
02
ARP
ARP / NDP
Waiting
→
03
RIB
Route
Waiting
→
04
ACL
ACL Policy
Waiting
→
05
FW
Firewall
Waiting
06
NAT
NAT
Waiting
→
07
MTU
MTU / PMTUD
Waiting
→
08
TCP
TCP Session
Waiting
→
09
DNS
Name / Service
Waiting
→
10
APP
Application
Waiting
Current Investigation
01
Interface state
Confirm the source interface is operational before testing higher layers.
Evidence: interface is UP and has a valid address.
Inject Failure
Source
10.10.10.10
Destination
app.network.local
Connectivity Result
Awaiting test

Transport, Addressing and Security

The forwarding model explains how a packet moves through the network, but successful connectivity requires more than a valid route.

Once a packet has left the local switching domain, it can encounter addressing decisions, neighbour discovery, transport protocols, security controls, translation devices and path characteristics such as MTU.

This is where many real-world connectivity problems become more subtle.

IPv4 Connectivity

IPv4 provides the Layer 3 addressing model used by a large proportion of enterprise and internet-connected systems.

An IPv4 address consists of a 32-bit value represented in dotted-decimal notation, for example:

192.0.2.25

The address is interpreted together with a prefix length.

For example:

192.0.2.25/24

The /24 identifies the network prefix while the remaining bits identify the host within that prefix.

The host uses its local prefix to determine whether a destination is directly connected.

If the destination is local, the host attempts to resolve the destination’s Layer 2 address.

If the destination is remote, the host normally sends the packet toward its configured default gateway.

This creates the first major endpoint routing decision:

Destination in local subnet → resolve destination neighbour

Destination outside local subnet → resolve default gateway

ARP and IPv4 Neighbour Resolution

IPv4 hosts use Address Resolution Protocol (ARP) to map an IPv4 address to a local Layer 2 address.

A simplified process is:

Who has 192.0.2.1?

↓

192.0.2.1 is at AA:BB:CC:DD:EE:FF

The result is normally stored in an ARP cache for a period of time.

ARP operates only within the local Layer 2 domain.

A router does not normally forward an ARP request across routed interfaces.

This distinction is important when troubleshooting.

A host may successfully resolve its default gateway while still being unable to reach the remote destination because the actual problem exists farther along the routed path.

ARP also introduces its own failure modes:

  • Incorrect or stale neighbour information

  • Duplicate IP addresses

  • VLAN mismatch

  • Layer 2 isolation

  • ARP filtering

  • Proxy ARP behaviour

  • ARP inspection or security controls

An ARP problem therefore belongs to the local connectivity domain, not automatically to the remote destination.

IPv6 Connectivity

IPv6 expands the address space to 128 bits and changes several aspects of neighbour discovery and address configuration.

An IPv6 address might appear as:

2001:db8:100:20::25/64

IPv6 replaces ARP with Neighbor Discovery Protocol (NDP), which operates using ICMPv6.

NDP provides several functions, including:

  • Neighbor discovery

  • Router discovery

  • Address resolution

  • Duplicate Address Detection

  • Router Advertisement processing

  • Prefix discovery

Unlike IPv4 ARP, IPv6 neighbour discovery uses multicast rather than broadcast.

Solicited-Node Multicast

When an IPv6 interface needs to discover a neighbour, it can use a solicited-node multicast address derived from the target address.

The multicast group uses the low-order 24 bits of the IPv6 address.

Conceptually:

Target IPv6 address

↓

Low 24 bits

↓

FF02::1:FFxx:xxxx

This allows neighbour discovery to be more targeted than a general Layer 2 broadcast.

Stateless Address Autoconfiguration

IPv6 hosts can automatically configure addresses using Stateless Address Autoconfiguration (SLAAC).

Router Advertisements provide information such as:

  • IPv6 prefixes

  • Default router information

  • Address configuration behaviour

  • Other network parameters

DHCPv6 can also be used where additional configuration or managed address assignment is required.

A useful troubleshooting distinction is therefore:

Address exists

does not necessarily mean:

Default router exists

and neither necessarily means:

Remote IPv6 connectivity works

IPv6 introduces an additional operational requirement: security and monitoring systems must explicitly support IPv6.

A network that is carefully secured for IPv4 but poorly controlled for IPv6 can create an unintended parallel connectivity path.

Transport Connectivity

IP forwarding provides reachability between addresses.

Transport protocols provide communication between applications.

This distinction is critical.

A successful ICMP test does not prove that an application service is available.

For example:

Ping succeeds

but:

TCP/443 fails

The network may therefore be capable of forwarding packets while the specific service remains inaccessible.

TCP

TCP provides connection-oriented transport.

A typical connection begins with the three-way handshake:

Client → SYN

↓

Server → SYN/ACK

↓

Client → ACK

Only after the handshake has completed can the application exchange normal TCP payload.

This creates useful troubleshooting evidence.

If a SYN leaves the client but no response returns, possible causes include:

  • Routing failure

  • Packet filtering

  • Firewall policy

  • Destination host unavailable

  • Service not listening

  • Return-path failure

  • Asymmetric routing

  • Security device behaviour

If a SYN/ACK returns but the final ACK does not arrive at the server, the problem may exist in the reverse direction.

TCP therefore provides more detailed evidence than a simple ping test.

TCP Failure Signals

Several TCP behaviours can help identify the failure domain.

SYN timeout

Often indicates filtering, routing failure, host unavailability or a missing return path.

TCP RST

Usually indicates that the connection was actively rejected or reset by a host or intermediary.

Successful handshake followed by application failure

Suggests that Layer 3, Layer 4 and basic session establishment are working, moving the investigation toward TLS, authentication or the application itself.

Retransmissions

Can indicate packet loss, congestion, MTU problems, asymmetric paths or a poorly performing link.

High RTT

Can indicate physical distance, congestion, suboptimal routing or overloaded infrastructure.

The important point is that TCP provides another diagnostic layer between IP reachability and application functionality.

UDP and QUIC

UDP is connectionless and does not provide TCP-style delivery guarantees.

Applications can therefore implement their own reliability, ordering or session mechanisms.

Modern protocols such as QUIC use UDP as their transport substrate while implementing encrypted, reliable transport behaviour above it.

QUIC is particularly important because modern web traffic can use:

HTTP/3 → QUIC → UDP → IP

This means a network engineer troubleshooting application connectivity cannot assume that modern HTTPS traffic always uses TCP/443.

Protocol awareness matters.

MTU, MSS and PMTUD

Packet size is another major source of connectivity problems.

Every network path has a Maximum Transmission Unit (MTU).

For standard Ethernet, the commonly encountered IP MTU is:

1500 bytes

However, tunnels and overlays can reduce the effective payload capacity because additional headers are introduced.

For example:

Original packet

↓

GRE / VXLAN / IPsec encapsulation

↓

Additional headers

↓

Larger transmitted frame

If the underlying path cannot carry the resulting packet, fragmentation or packet loss can occur depending on the protocol and configuration.

TCP also negotiates a Maximum Segment Size (MSS), which helps control the amount of TCP payload placed into each segment.

Path MTU Discovery attempts to determine the largest packet that can traverse the path without fragmentation.

The Classic MTU Failure

One particularly useful diagnostic pattern is:

Small packets work

Large packets fail

This should immediately raise suspicion around:

  • MTU mismatch

  • MSS configuration

  • PMTUD

  • Fragmentation

  • ICMP filtering

  • Tunnel overhead

  • Overlay encapsulation

This is why a basic ping can be misleading.

A small ICMP packet succeeding does not prove that a large application transaction can traverse the same path.

Security and Connectivity

Security controls are part of the connectivity path.

A packet can have:

  • A valid source address

  • A valid destination address

  • A valid route

  • A functioning next hop

and still be intentionally dropped by policy.

This means routing and security must be investigated separately.

ACLs

An Access Control List evaluates traffic against defined criteria.

Typical matching fields can include:

  • Source address

  • Destination address

  • Protocol

  • Source port

  • Destination port

  • Direction

  • Interface or security context

A simplified policy might represent:

Source: 10.10.10.0/24

Destination: 10.20.20.0/24

Protocol: TCP

Destination Port: 443

Action: Permit

ACLs are generally stateless unless additional platform mechanisms provide state tracking.

That distinction matters.

An ACL can permit or deny packets based on their characteristics, while a stateful firewall can maintain connection state and make decisions based on whether traffic belongs to an established session.

Stateful Firewalls

A stateful firewall maintains information about active flows.

Conceptually:

Client → SYN → Firewall → Server

The firewall records the session.

When the return traffic arrives:

Server → SYN/ACK → Firewall → Client

the firewall can associate it with the existing connection state.

This is fundamentally different from evaluating every packet as an isolated event.

Stateful inspection introduces additional failure conditions:

  • Session state mismatch

  • NAT state mismatch

  • Return traffic using a different firewall

  • Expired session

  • Policy mismatch

  • Asymmetric routing

This is why a routing change can unexpectedly break an otherwise valid TCP session.

Asymmetric Routing

Consider a flow where the outbound path is:

Client → Firewall A → Server

but the return path is:

Server → Firewall B → Client

The routing may technically be valid in both directions.

However, if Firewall B does not have the corresponding session state, it may reject the return traffic.

The result can look like:

Forward path works

Return path fails

TCP never completes

This is an important distinction between routing reachability and stateful connectivity.

Asymmetric routing can occur because of:

  • ECMP

  • BGP path selection

  • Multiple WAN links

  • Multiple firewalls

  • Load balancers

  • Cloud routing

  • Policy-based routing

  • Data-centre fabric design

A connectivity investigation should therefore examine both directions of the path.

NAT and Address Translation

Network Address Translation changes addressing information as traffic crosses a translation boundary.

Common examples include:

Private IPv4 → Public IPv4

and:

Public IPv4 → Internal service

NAT can conserve IPv4 address space and provide publishing mechanisms, but it should not automatically be treated as a security control.

Security comes from explicit policy enforcement.

NAT also introduces state.

A translation device may maintain mappings such as:

Inside address:port

↓

Translated address:port

This state must remain valid for the duration of the flow.

NAT problems can therefore appear as:

  • Connection establishment failure

  • Return traffic dropped

  • Incorrect destination translation

  • Port exhaustion

  • Stale translation state

  • Protocol incompatibility

Identity and Application-Level Connectivity

Not every connectivity decision belongs in the network layer.

Modern applications increasingly make decisions using identity, application metadata and service-level information.

For example:

Client

↓

TLS

↓

Reverse Proxy / API Gateway

↓

Application

The gateway may inspect:

  • Hostname

  • URL

  • HTTP method

  • Authentication token

  • Application headers

  • Client identity

  • Service identity

This is different from IP routing.

An API gateway can decide:

Request for api.example.com

→ Service A

while the underlying network still performs ordinary Layer 3 forwarding between the client, gateway and service.

Trust Boundaries

Private addressing does not automatically mean trusted traffic.

An RFC1918 address such as:

10.10.20.50

may represent an employee workstation, a server, a container, a cloud workload or an untrusted system.

Security decisions should therefore be based on explicit policy and identity rather than simply assuming:

Private IP = Trusted

Similarly, application headers such as X-Forwarded-For should only be trusted when they originate from a known and controlled proxy chain.

IPv4 and IPv6 Transition

Modern networks often operate IPv4 and IPv6 simultaneously.

The simplest model is dual stack.

A host can have:

IPv4 address

and:

IPv6 address

and select an appropriate protocol based on application and operating-system behaviour.

Other technologies provide interoperability between IPv6-only and IPv4-only environments.

NAT64 and DNS64

NAT64 can allow an IPv6-only client to communicate with an IPv4-only destination.

DNS64 can synthesize an IPv6 representation of an IPv4 destination so that the client can initiate an IPv6 connection.

Conceptually:

IPv6-only client

↓

DNS64

↓

IPv6 representation

↓

NAT64

↓

IPv4 server

This is fundamentally different from ordinary IPv4 NAT because the mechanism provides protocol-family translation.

NPTv6

NPTv6 provides IPv6-to-IPv6 prefix translation.

It can be used where an organisation needs to translate one IPv6 prefix into another without performing IPv4/IPv6 protocol conversion.

This makes NPTv6 a very different technology from NAT64.

GRE and IPsec

GRE provides encapsulation.

It can carry one packet inside another packet and is commonly used to create logical tunnels across routed infrastructure.

GRE itself does not provide encryption.

IPsec provides security mechanisms such as authentication and encryption.

They can therefore be combined:

Original traffic

↓

GRE encapsulation

↓

IPsec protection

↓

Transport network

The exact design depends on the platform and deployment requirements.

Legacy Transition Technologies

Technologies such as 6to4 are historically important but should not normally be treated as modern default deployment mechanisms.

Understanding legacy technologies remains useful when troubleshooting older infrastructure or interpreting historical designs.

The Connectivity Failure Chain

At this point, the complete dependency chain becomes visible:

Layer 2

Can the host reach its local next hop?

↓

Layer 3

Does a route exist?

↓

Neighbour Resolution

Can the next-hop address be resolved?

↓

Security

Is the flow permitted?

↓

Transport

Can TCP, UDP or QUIC communicate?

↓

Application

Can the service actually complete the request?

↓

Performance

Are latency, loss, MTU or congestion affecting the transaction?

A failure at any earlier stage can prevent every stage above it from succeeding.

This is why troubleshooting from the application downward without understanding the underlying forwarding path can produce misleading conclusions.

Failure Clue

A particularly useful engineering technique is to classify the symptom before changing configuration.

Ping fails

Investigate addressing, Layer 2, routing, ICMP policy and return path.

Ping works but TCP/443 fails

Investigate service availability, ACLs, firewall policy, NAT and TCP state.

TCP connects but the application fails

Investigate TLS, DNS, authentication, application policy and backend dependencies.

Small packets work but large packets fail

Investigate MTU, MSS, PMTUD and tunnel overhead.

Outbound works but return traffic fails

Investigate asymmetric routing, stateful inspection and return-path routing.

IPv4 works but IPv6 fails

Investigate NDP, Router Advertisements, IPv6 routing and IPv6 security policy.

The symptom itself becomes evidence.

Engineering Perspective

Modern connectivity is therefore a layered decision system rather than a single routing problem.

The network must determine:

Who is communicating?

Where is the destination?

Which path should be used?

Can the next hop be reached?

Is the flow permitted?

Can the transport session establish?

Can the application complete the transaction?

Can the entire path sustain the required traffic?

Once these questions are separated, complex failures become much easier to isolate.

The next layer of the architecture is the control plane that builds those paths at scale — including OSPF, IS-IS, BGP, VRFs, data-centre fabrics, VXLAN/EVPN, WAN architectures and cloud routing.

Routing and Fabric Explorer

Network Connectivity · Routing Architecture

From Routing Protocols to the Modern Network Fabric

Modern networks combine routing protocols, forwarding tables, segmentation, overlays and external connectivity. Select a stage to see how the control plane becomes an actual forwarding path.

Modern Routing Architecture
Select a stage
→
→
→
→
Architecture Detail
01 / 06
CONTROL PLANE

OSPF · IS-IS · BGP

Routing protocols build the control-plane knowledge used to determine how destinations should be reached. Different protocols operate at different scopes and apply different path-selection and policy models.
Question
What paths are available?
Evidence
Neighbours, routes and policy
Produces
Routing information
Next
RIB best-path selection
Engineering Perspective
A routing protocol being established does not prove that application traffic will successfully reach its destination. Control-plane state must become usable forwarding state.
Network Connectivity · Interactive Lab 03

Routing & Fabric Explorer

Follow a destination prefix from routing protocols through the RIB and FIB into an underlay, overlay and tenant forwarding path.

Stable
Decision 1 / 6
HOST
Source
10.10.10.20
→
Destination Prefix
10.40.40.0/24
APP
01 · Control Plane Which routing information is available?
OSPF Evaluating
Interior Path
Provides an internal route toward the destination network.
BGP Waiting
Policy Path
Candidate path carries policy attributes and an AS path.
IS-IS Waiting
Fabric Path
Underlay reachability provides transport between fabric nodes.
02 · Routing State Control-plane information becomes forwarding state.
RIB
Routing Information Base
Best route selected
Competing routes are evaluated before the preferred route enters the local routing table.
FIB
Forwarding Information Base
10.40.40.0/24 → VTEP
The data plane uses the installed forwarding entry to determine where packets go.
VRF
Tenant Routing Context
VRF-CORP
The lookup occurs inside the appropriate routing domain rather than the global table.
03 · Fabric Forwarding Underlay transport + overlay tenant reachability.
LEAF-01 Ingress
Host Attachment
VLAN 120 · VNI 10120
SPINE-01 Underlay
IP Transport
ECMP next hop
LEAF-02 Egress
VTEP Decapsulation
VNI 10120 → VLAN
SERVER Endpoint
Application Network
10.40.40.20/24
Current Routing Decision
01
Compare available control-plane paths
The router begins by determining which routing sources know about 10.40.40.0/24.
Evidence: OSPF, BGP and fabric reachability are available.
Candidate Routes
Source Path Preference
OSPF 10.40.40.0/24 Best
BGP 10.40.40.0/24 Candidate
IS-IS 10.40.40.0/24 Fabric

Routing Control Planes and Modern Network Architecture

The previous sections established how a packet is constructed, forwarded, filtered and transported.

The next question is more fundamental:

How does a modern network know which paths should exist in the first place?

Individual routers can use static routes, but large networks require dynamic control planes that continuously exchange reachability information and calculate usable paths.

This creates another important separation:

Control plane = learns and calculates reachability

Data plane = forwards packets using the resulting information

Modern connectivity architectures build increasingly sophisticated control planes above relatively simple forwarding operations.

Interior Routing

Interior routing protocols operate within an autonomous system or administrative domain.

Two important examples are:

OSPF — Open Shortest Path First

IS-IS — Intermediate System to Intermediate System

Both can build a topology view and calculate paths using link-state information.

OSPF

OSPF routers establish neighbour relationships and exchange link-state information.

The resulting link-state database provides a view of the topology from which shortest-path calculations can be performed.

A simplified model is:

Interface

↓

OSPF adjacency

↓

Link-state database

↓

SPF calculation

↓

Routing table

↓

FIB

OSPF can also support multiple areas, route summarisation and different network designs.

When troubleshooting OSPF, useful evidence includes:

  • Interface state

  • IP addressing

  • Area configuration

  • Hello/dead timers

  • Authentication

  • MTU compatibility

  • Neighbour state

  • Link-state database

  • Route installation

A healthy OSPF adjacency does not automatically prove that the desired application traffic will work.

The route may still be filtered, overridden, or blocked by another policy layer.

IS-IS

IS-IS provides similar link-state functionality but has historically been particularly prominent in service-provider and large-scale network environments.

Its operation also revolves around:

Adjacency formation

→

Link-state information

→

Shortest-path calculation

→

Route installation

One advantage of understanding both OSPF and IS-IS is recognising the underlying engineering model rather than memorising protocol-specific commands.

The key concept is:

Distributed devices build a consistent view of reachability and independently calculate paths from that information.

BGP as a Connectivity Control Plane

BGP operates differently.

BGP is designed to exchange reachability information between autonomous systems and is also widely used internally in large networks.

A BGP route is more than a destination prefix.

It can include attributes such as:

  • AS_PATH

  • LOCAL_PREF

  • MED

  • NEXT_HOP

  • Communities

  • Origin information

  • Policy-related attributes

A simplified BGP decision chain is:

Prefix / NLRI

↓

Path attributes

↓

Import policy

↓

Best-path selection

↓

RIB

↓

FIB

BGP therefore influences which path becomes preferred.

It does not forward the user packet itself.

Once the BGP decision has resulted in an active route, the data plane performs the actual forwarding lookup.

BGP Policy

BGP becomes particularly powerful when policy is introduced.

An organisation may prefer:

Provider A

for normal internet traffic while using:

Provider B

as a backup.

The decision can be influenced using attributes such as LOCAL_PREF, AS_PATH manipulation, MED and communities, depending on the design.

This creates an important distinction:

Routing protocol

determines how reachability information is exchanged.

Routing policy

determines which paths are preferred, accepted, rejected or modified.

Forwarding

moves the actual packet.

Keeping these three concepts separate makes complex routing behaviour much easier to understand.

BGP Communities

Communities provide a mechanism for attaching policy information to routes.

Instead of treating every prefix independently, a network can classify groups of routes according to a policy requirement.

For example:

Prefix

  •  

Community

↓

Policy

↓

Preferred / rejected / modified path

Communities are widely used to implement scalable routing policy across service-provider, enterprise and cloud environments.

Route Reflectors

Large iBGP deployments can use route reflectors to reduce the requirement for a full mesh of internal BGP sessions.

Conceptually:

Client

↓

Route Reflector

↓

Other BGP clients

The route reflector distributes selected BGP information between clients while preserving the overall BGP control-plane model.

This is especially important in data-centre and service-provider environments where the number of routers can become large.

VRF and Routing Segmentation

A single physical router does not necessarily need to have one global routing table.

Virtual Routing and Forwarding (VRF) allows multiple independent routing tables to coexist on the same platform.

For example:

VRF-CORPORATE

10.10.0.0/16

VRF-GUEST

10.10.0.0/16

The same address space can therefore exist independently in different routing domains.

This is one of the most important concepts in modern network segmentation.

VRFs can be used for:

  • Customer separation

  • Management networks

  • Guest networks

  • Production environments

  • Development environments

  • Multi-tenant infrastructure

  • Service-provider VPNs

A packet entering one VRF is normally evaluated against that VRF’s routing and forwarding information rather than the global table.

VRF and Security

VRF provides routing separation, but routing separation is not automatically equivalent to complete security.

Additional policy may still be required:

VRF

→ routing isolation

Firewall / ACL

→ traffic policy

Identity / application controls

→ service-level policy

This layered approach is common in modern enterprise architectures.

Data Centre Connectivity

Traditional data centres often relied heavily on large Layer 2 domains.

Modern data centres increasingly favour routed architectures.

A common design is the leaf-spine fabric.

Leaf-Spine Architecture

Servers, appliances and workloads connect to leaf switches.

Leaf switches connect to multiple spine switches.

Conceptually:

Server

↓

Leaf

↙ ↓ ↘

Spine 1 — Spine 2 — Spine 3

This provides predictable path length and multiple equal-cost paths.

A typical flow between two racks may traverse:

Leaf → Spine → Leaf

rather than depending on a large Layer 2 topology.

The architecture works particularly well with ECMP because multiple spine paths can be used simultaneously.

Underlay and Overlay

Modern data-centre fabrics often separate the physical IP network from the logical tenant network.

The physical network is called the:

Underlay

The logical overlay provides:

Tenant connectivity

The underlay’s job is primarily to provide IP reachability between tunnel endpoints.

The overlay then creates logical networks above that physical transport.

This separation is fundamental to modern scalable data-centre networking.

VXLAN

VXLAN provides an overlay encapsulation mechanism that can carry Layer 2 Ethernet frames across a Layer 3 IP network.

A VXLAN tunnel endpoint is commonly referred to as a:

VTEP

The simplified process is:

Original Ethernet frame

↓

VXLAN encapsulation

↓

UDP

↓

IP underlay

↓

Remote VTEP

↓

VXLAN decapsulation

↓

Original Ethernet frame

VXLAN uses UDP as its transport and provides a much larger logical network identifier than traditional VLAN numbering.

The key idea is:

The physical network forwards IP packets.

The overlay provides logical tenant connectivity.

EVPN

VXLAN provides the encapsulation mechanism, but the network still needs a control plane to communicate information about endpoints and reachability.

This is where Ethernet VPN (EVPN) becomes important.

EVPN can distribute information such as:

  • MAC addresses

  • IP addresses

  • VTEP reachability

  • Ethernet segment information

  • Tenant route information

BGP is commonly used as the EVPN control plane.

The resulting architecture can therefore be represented as:

Underlay

OSPF / IS-IS / BGP

↓

IP reachability

↓

VTEP connectivity

↓

EVPN control plane

↓

VXLAN overlay

↓

Tenant network

This distinction is important:

VXLAN = encapsulation

EVPN = control-plane signalling

They solve related but different problems.

Multi-Tenancy

Modern infrastructure frequently needs to support multiple independent environments on shared physical infrastructure.

A tenant may require:

  • Independent IP addressing

  • Independent routing

  • Independent security policy

  • Independent application services

  • Controlled connectivity to shared services

A modern fabric can combine:

VRF

  •  

VXLAN

  •  

EVPN

  •  

Firewall policy

to provide scalable segmentation.

The physical infrastructure is shared while the logical connectivity remains separated.

WAN Connectivity

The same principles extend beyond the data centre.

A traditional WAN might connect:

Branch → MPLS → Data Centre

Modern architectures can combine:

Internet

MPLS

5G

Broadband

Private connectivity

into a software-controlled WAN.

SD-WAN

SD-WAN introduces policy-driven path selection across multiple WAN transports.

Instead of simply asking:

Which route exists?

the system can evaluate:

  • Latency

  • Packet loss

  • Jitter

  • Application identity

  • Link availability

  • Business policy

  • Security requirements

The resulting decision can be:

Voice traffic → low-latency path

Bulk backup → lower-cost path

Critical application → preferred private path

This represents a move from traditional reachability toward application-aware connectivity policy.

The underlying network still forwards packets using ordinary routing and forwarding mechanisms.

The difference is that a higher-level control system can influence which path is preferred.

Cloud Connectivity

Cloud networking introduces another layer of abstraction.

A workload may appear to communicate directly with another private IP address, but the actual path can include:

Workload

↓

Virtual NIC

↓

Subnet

↓

Cloud route table

↓

Security controls

↓

Transit / peering / VPN / private connectivity

↓

Remote network

Cloud platforms therefore implement many of the same fundamental networking concepts found in physical infrastructure.

The terminology changes, but the underlying engineering questions remain familiar.

Cloud Route Tables

A cloud subnet typically has associated routing behaviour.

A route may specify:

Destination prefix

→ Next-hop target

The target could represent:

  • Local subnet

  • Internet gateway

  • NAT gateway

  • Transit gateway

  • VPN attachment

  • Private service endpoint

  • Virtual appliance

The same fundamental principle still applies:

Destination → route lookup → next hop

Security Groups and Network ACLs

Cloud environments commonly provide multiple security layers.

A security group typically applies policy to workload interfaces or instances.

A network ACL may apply policy at the subnet boundary, depending on the platform.

These mechanisms should be understood independently from routing.

A correct route does not guarantee permitted traffic.

Cloud Peering

Network peering can provide private connectivity between separate cloud network domains.

However, peering is often not automatically transitive.

For example:

Network A ↔ Network B

and:

Network B ↔ Network C

does not necessarily mean:

Network A ↔ Network C

without an explicit routing or transit architecture.

This is why large cloud environments often use centralised transit or hub-and-spoke designs.

Network Connectivity Center

A connectivity hub can provide a central architecture for connecting multiple network domains.

Conceptually:

Branch

↘

Cloud / Transit Hub

↙

Data Centre

↘

Other Cloud

The exact implementation depends on the cloud platform, but the architectural principle is consistent:

centralise connectivity policy while keeping forwarding distributed.

Hybrid Connectivity

Hybrid environments combine physical and virtual infrastructure.

A typical flow might be:

On-Premises Client

↓

Enterprise Router

↓

Firewall

↓

VPN / Private Interconnect

↓

Cloud Router

↓

VPC

↓

Workload

The packet can therefore cross multiple control planes and security domains.

A failure anywhere in this chain can appear to the user as simply:

“The cloud application is unreachable.”

The engineer must break that symptom into smaller forwarding domains.

Route Leaking and Shared Services

Large segmented environments sometimes need controlled communication between VRFs or network domains.

For example:

Production VRF

and:

Security Services VRF

may both need access to a shared:

DNS / NTP / Authentication

environment.

Rather than merging the routing domains, selective route exchange can provide controlled reachability.

This is commonly referred to as route leaking.

The engineering objective is:

Share only what is required.

Uncontrolled route leaking can undermine the segmentation the VRFs were intended to provide.

Control Plane Convergence

Dynamic networks are not static.

Links fail.

Interfaces change state.

BGP sessions reset.

OSPF neighbours disappear.

Cloud routes change.

Overlay endpoints move.

The control plane must detect changes and converge toward a new forwarding state.

A simplified failure sequence is:

Link failure

↓

Neighbour / protocol detects failure

↓

Control-plane recalculation

↓

New route selected

↓

FIB updated

↓

Traffic uses alternate path

The time between the failure and the stable forwarding state is known as convergence time.

During convergence, packets may be:

  • Dropped

  • Rerouted

  • Delayed

  • Sent over a degraded path

This is why resilient architectures do more than provide redundant links.

They also require control planes capable of detecting and responding to failures predictably.

The Modern Routing Stack

A large network can therefore contain several routing layers simultaneously.

Physical underlay

↓

OSPF / IS-IS / BGP

↓

VRF routing

↓

EVPN control plane

↓

VXLAN overlay

↓

Security policy

↓

Application / service routing

Each layer solves a different problem.

The challenge for the engineer is knowing which layer owns the decision being investigated.

A VXLAN problem should not automatically be investigated as an application problem.

A BGP policy problem should not automatically be treated as a physical link failure.

A firewall state problem should not automatically be treated as a missing route.

Engineering Insight

Modern networks are increasingly built as multiple cooperating control planes.

A single application flow can depend on:

Host routing

→ LAN switching

→ IGP

→ BGP

→ VRF

→ EVPN

→ VXLAN

→ Firewall policy

→ Cloud routing

→ Application service discovery

The packet itself remains relatively simple.

The complexity comes from the distributed systems that decide where the packet should be allowed to travel.

This is one of the most important ideas in modern network engineering.

From Connectivity to Platforms

The network fabric does not stop at the cloud or data-centre boundary.

Modern applications increasingly run inside virtual machines, containers and Kubernetes clusters.

The next stage of connectivity therefore moves into the workload itself.

The engineer must understand how:

Application

↓

Container

↓

Network namespace

↓

Virtual interface

↓

CNI

↓

Node network

↓

Data-centre / cloud fabric

connects back into the wider network.

This is where traditional network engineering and cloud-native networking begin to converge.

Cloud-Native Network Explorer

Network Connectivity · Cloud-Native Foundations

Where Does a Kubernetes Packet Actually Go?

Cloud-native networking adds virtual interfaces, network namespaces, CNI datapaths, service abstraction and policy enforcement to the traditional networking model. Select a stage to see what happens at that boundary.

Cloud-Native Connectivity Path
Select a component
Workload
→
→
Node Datapath
→
→
Destination
→
→
East-West Traffic
Pod-to-pod and service-to-service communication remains inside the cluster or connected fabric.
North-South Traffic
Traffic crosses a cluster boundary through an ingress, gateway, load balancer or other external connectivity mechanism.
Component Detail
01 / 09
WORKLOAD

Pod / Network Namespace

A pod's application does not necessarily operate directly on the host's primary network interface. Its network namespace provides the workload with its own interfaces, addresses and routing context.
Engineer asks
Does the workload have a usable interface and address?
Evidence
Interface / address / route state
Provides
Workload network identity
Next
veth pair
Engineering Perspective
A Kubernetes connectivity problem may originate below Kubernetes itself. The pod depends on Linux networking, the host datapath and the underlying network before the application can communicate.
Network Connectivity · Interactive Lab 04

Cloud-Native Network Explorer

Follow pod traffic through Linux networking, the CNI, Open vSwitch, Kubernetes Services and NetworkPolicy before it leaves the cluster.

Healthy
Layer 1 / 7
POD
Source
frontend-7c9f
→
Service
api.production.svc
SVC
01 · Workload Application starts inside a network namespace.
POD-01 Active
frontend-7c9f
10.244.1.20 · TCP/8080
NETNS APP TCP
POD-02 Target
api-65d4
10.244.2.31 · TCP/8080
NETNS BACKEND READY
02 · Node Networking Traffic crosses the pod interface and node datapath.
vETH
veth Pair
Connects the pod namespace to the node network namespace.
Connected
CNI
CNI Plugin
Creates interfaces and programs connectivity for the workload.
Waiting
OVS
Open vSwitch
Flow-based datapath forwards traffic through the node.
Waiting
SVC
Kubernetes Service
Service abstraction selects a backend endpoint.
Waiting
ACL
NetworkPolicy
Policy determines whether the workload communication is permitted.
Waiting
03 · Service Delivery Cluster networking converts application intent into packet forwarding.
Service Virtual IP
10.96.20.50:443
The application connects to the Service address rather than directly selecting a pod.
Endpoint Selection
api-65d4 selected
The Service resolves the virtual destination to an available backend endpoint.
Network Result
Ready
Packet can continue toward the selected workload.
Current Network Decision
01
Pod network namespace
The application begins inside the pod network namespace and creates a TCP connection toward the Service.
Evidence: pod interface is present and the application has a valid source address.
Packet / Service State
Source
10.244.1.20
Destination
10.96.20.50
Protocol
TCP / 443
Backend
api-65d4

Cloud-Native Networking, Observability and Troubleshooting

Modern connectivity increasingly extends into the application platform itself.

A packet that begins at a user workstation may eventually reach a container running inside Kubernetes, pass through a virtual switch, traverse an overlay network and be delivered to a workload through a service abstraction.

The physical network may never directly see the application’s logical topology.

Understanding this environment requires extending traditional networking concepts into the virtual infrastructure.

Kubernetes Networking

Kubernetes introduces several networking requirements:

  • Pods need IP connectivity.

  • Pods normally need to communicate with other Pods.

  • Pods may need to communicate with external networks.

  • Applications need stable service identities.

  • Network policy must control allowed communication.

  • Ingress and load-balancing mechanisms must expose selected services.

The implementation is commonly provided by a Container Network Interface (CNI) plugin.

A simplified path is:

Application

↓

Pod network namespace

↓

Virtual Ethernet interface

↓

Node networking

↓

CNI

↓

Cluster network

↓

Data-centre / cloud network

The exact implementation depends on the CNI and platform.

Network Namespaces

Linux network namespaces provide isolated networking environments.

A container or Pod can have its own:

  • Interfaces

  • Routing table

  • IP addresses

  • Neighbour information

  • Network sockets

This creates a virtual networking boundary inside the operating system.

The host can then connect that namespace to the wider network using virtual interfaces.

veth Pairs

A common Linux mechanism is the virtual Ethernet pair, or veth pair.

A veth pair behaves like a virtual cable with two connected interfaces.

Conceptually:

Pod interface

↔

veth pair

↔

Host interface

Traffic leaving the Pod can therefore enter the node’s networking stack and continue toward another workload or external destination.

This is one of the fundamental building blocks behind container networking.

Container Network Interface

The CNI layer is responsible for connecting workloads to the network.

Depending on the implementation, it may provide:

  • IP address allocation

  • Interface creation

  • Routing

  • Overlay networking

  • Network policy

  • Encapsulation

  • Encryption

  • Load balancing

  • eBPF-based forwarding

Different CNIs implement these functions differently.

The important engineering concept is that Kubernetes does not itself define one single packet-forwarding architecture.

The networking behaviour depends heavily on the selected platform and CNI.

Kubernetes Services

Pods are ephemeral.

Their IP addresses can change as workloads are recreated.

Applications therefore normally communicate through a stable Service abstraction.

Conceptually:

Client Pod

↓

Service

↓

Service IP / virtual address

↓

Endpoint selection

↓

Pod

The forwarding mechanism may use technologies such as:

  • kube-proxy

  • iptables

  • IPVS

  • eBPF

  • CNI-specific mechanisms

The result is a logical service endpoint above the individual workload addresses.

East-West and North-South Traffic

Kubernetes networking is often discussed in terms of two directions.

East-West

Traffic between workloads.

North-South

Traffic entering or leaving the cluster.

For example:

Pod → Pod

is east-west traffic.

While:

Internet → Load Balancer → Ingress → Service → Pod

is north-south traffic.

These paths can have completely different security and forwarding behaviour.

Kubernetes Network Policy

NetworkPolicy provides workload-level traffic controls.

A policy might express:

Pod A

may communicate with:

Pod B

on:

TCP/443

while other traffic is denied.

This moves security policy closer to the workload.

The resulting model can include multiple independent security layers:

Cloud firewall

↓

Node firewall

↓

CNI policy

↓

Application authentication

A successful network route therefore does not automatically imply application permission.

Open vSwitch

Open vSwitch, commonly abbreviated OVS, is a software-based multilayer virtual switch used in many virtualised and cloud environments.

Its architecture can include several components.

Conceptually:

Management / Configuration

↓

OVSDB

↓

OpenFlow / Control

↓

OVS datapath

↓

Virtual / physical interfaces

OVS can provide switching, tunnelling, VLAN handling, flow-based forwarding and integration with virtualisation platforms.

Depending on deployment, packet processing can involve kernel datapaths, userspace processing, DPDK or hardware offload.

The exact forwarding path is therefore platform-dependent.

Flow-Based Forwarding

Unlike a simple physical switch MAC table, OVS can make decisions based on richer flow information.

A flow can match fields such as:

  • Ethernet addresses

  • VLAN

  • IPv4 / IPv6 addresses

  • Protocol

  • TCP / UDP ports

  • Tunnel metadata

The resulting action can include:

  • Forward

  • Drop

  • Modify

  • Encapsulate

  • Decapsulate

  • Output to another interface

This makes software switching an important component of modern virtual network architectures.

Connectivity Testing

Connectivity testing should be performed from the perspective of the actual failure domain.

Testing from a network engineer’s laptop may produce a different result from testing directly from the affected server, container or cloud workload.

The most useful question is therefore:

Where should the test originate?

A good test sequence moves from lower-level reachability toward the application.

Interface

↓

Address

↓

Neighbour

↓

Gateway

↓

Remote route

↓

TCP / UDP

↓

TLS

↓

Application

This prevents the engineer from jumping directly to application assumptions.

ICMP and Ping

ICMP is useful for testing IP-level reachability and diagnosing network behaviour.

However:

Ping success ≠ application success

and:

Ping failure ≠ application failure

Some networks intentionally block ICMP while allowing application traffic.

Other networks may permit ICMP but block TCP or UDP services.

ICMP should therefore be treated as one measurement, not a universal connectivity test.

ICMP also plays important roles beyond ping, including error reporting and IPv6 neighbour discovery mechanisms.

Cisco IP SLA

IP SLA-style synthetic testing can measure characteristics such as:

  • ICMP reachability

  • Round-trip time

  • Jitter

  • Packet loss

  • Service response

This provides a repeatable baseline rather than relying on manual testing.

The important distinction is:

Synthetic measurement

does not necessarily equal:

Real application performance

An ICMP test can report excellent results while an application experiences slow database queries or TLS delays.

PowerShell Connectivity Testing

Windows systems provide useful native diagnostics.

For example:

Test-NetConnection

can test TCP connectivity to a destination and port.

A conceptual test is:

Destination → Server

Port → 443

The result can provide information about:

  • Name resolution

  • Remote address

  • Selected interface

  • Source address

  • Route information

  • TCP connection success

A failed TCP test does not automatically prove that the host is down.

The destination may be:

  • Filtering the port

  • Rejecting the connection

  • Behind a firewall

  • Using another service port

  • Experiencing a routing problem

The output should therefore be interpreted as evidence rather than a final diagnosis.

Packet Capture

Packet capture remains one of the most powerful troubleshooting techniques.

Tools such as tcpdump and Wireshark allow the engineer to observe what actually happened on the wire or virtual interface.

A capture can answer questions such as:

Did the packet leave?

Did the reply return?

Was the TCP handshake completed?

Are retransmissions occurring?

Are ICMP errors being generated?

Is the MTU causing fragmentation or loss?

A useful packet investigation often compares both directions:

Client capture

and:

Server capture

This can reveal where the packet disappears.

Reading a TCP Capture

A basic TCP exchange might appear as:

Client → SYN

Server → SYN/ACK

Client → ACK

Client → HTTP/TLS data

If the capture instead shows:

Client → SYN

Client → SYN

Client → SYN

with no response, the investigation should move toward routing, filtering, host availability or return-path problems.

If the capture shows:

SYN

SYN/ACK

ACK

followed by retransmissions, the problem is likely further into the transport or application path.

Packet capture turns an abstract connectivity complaint into observable evidence.

Network Discovery

Network discovery tools can identify reachable hosts, exposed services and network characteristics.

Nmap is commonly used for authorised network discovery and service enumeration.

It can help identify:

  • Open ports

  • Service responses

  • Host availability

  • Operating-system characteristics

  • Network filtering behaviour

Scanning should always be performed against systems and networks for which the operator has explicit authorisation.

Nmap and Python

Python can be used to automate network discovery workflows through libraries and subprocess integrations.

A typical automation model is:

Python

↓

Discovery task

↓

Nmap

↓

Structured results

↓

Analysis / reporting

This can turn repeated diagnostic work into a controlled engineering workflow.

Automation becomes particularly useful when the same validation must be performed across many hosts or environments.

Observability

Modern networks cannot rely only on reactive packet captures.

Large environments require continuous visibility.

A useful observability model includes three broad evidence types:

Metrics

Logs

Flows / packets

Each provides a different perspective.

Metrics

Metrics can expose:

  • Interface utilisation

  • Packet errors

  • Drops

  • CPU

  • Memory

  • Latency

  • Packet loss

  • Tunnel state

  • BGP session state

Metrics are useful for identifying trends and detecting degradation.

Logs

Logs provide event-level information.

Examples include:

  • Interface transitions

  • BGP neighbour changes

  • OSPF adjacency changes

  • Firewall denies

  • Authentication events

  • VPN failures

  • Configuration changes

Logs are particularly useful for correlating an outage with a specific control-plane or infrastructure event.

Flow Telemetry

Flow telemetry provides information about conversations without necessarily capturing every packet payload.

A flow record may include:

Source IP

Destination IP

Source Port

Destination Port

Protocol

Bytes

Packets

Start / End time

This can answer questions such as:

Who is communicating with whom?

How much traffic is being exchanged?

Which service is consuming bandwidth?

Did the traffic stop after a routing event?

Flow telemetry is therefore complementary to packet capture.

Control-Plane Observability

The forwarding plane may appear healthy while the control plane is degraded.

For example:

BGP session down

may eventually result in:

Route withdrawn

↓

FIB changes

↓

Traffic rerouted

↓

Application latency increases

An application monitoring system may simply report:

“Service degraded.”

Network telemetry can reveal the actual cause.

This is why modern observability should correlate:

Application

  •  

Transport

  •  

Network

  •  

Control Plane

  •  

Infrastructure

Synthetic Connectivity Testing

Synthetic monitoring can continuously test important paths.

For example:

Branch → SaaS application

Cloud → Data centre

User → API

Cluster → Database

A synthetic probe can measure:

  • DNS resolution

  • TCP establishment

  • TLS negotiation

  • HTTP response

  • Latency

  • Availability

This is much more useful than relying on a single ping monitor because it tests the actual service path.

The Connectivity Decision Engine

The entire article can now be reduced to a practical decision engine.

When a flow fails, ask:

1. Is the interface operational?

↓

2. Does the endpoint have the expected address?

↓

3. Can the local neighbour be resolved?

↓

4. Is the default gateway reachable?

↓

5. Does the routing table contain the destination?

↓

6. Which route wins?

↓

7. What is the next hop?

↓

8. Is the traffic permitted?

↓

9. Is NAT or translation involved?

↓

10. Can the transport session establish?

↓

11. Is the MTU sufficient?

↓

12. Does DNS resolve correctly?

↓

13. Does TLS establish?

↓

14. Does the application respond?

↓

15. Is performance acceptable?

This sequence prevents random troubleshooting.

Each step eliminates an entire class of possible failures.

Connectivity Troubleshooting Matrix

SymptomFirst Investigation
Interface downPhysical / virtual interface state
Same-subnet host unreachableVLAN, MAC learning, ARP/NDP
Gateway unreachableLocal addressing, VLAN, neighbour resolution
Remote subnet unreachableRouting table, next hop, return path
Ping failsRouting, ICMP policy, Layer 2/3
Ping works, TCP failsFirewall, ACL, service, NAT
TCP connects, application failsTLS, DNS, authentication, application
Small packets work, large packets failMTU, MSS, PMTUD
One direction worksAsymmetric routing, stateful firewall
Intermittent connectivityECMP, packet loss, unstable control plane
IPv4 works, IPv6 failsNDP, RA, IPv6 routing, IPv6 policy
Pod-to-Pod failsCNI, routes, NetworkPolicy
Pod works locally but not externallyService, ingress, node routing, cloud policy
Cloud one-way connectivityReturn routes, security groups, NACLs, transit
Application suddenly degradedControl-plane change, path change, loss, latency

The table should not be treated as a collection of commands.

It is a decision framework.

The objective is to move from symptom to evidence and from evidence to the smallest possible failure domain.

Modern Connectivity Fabric

At this point the complete architecture can be viewed as a layered fabric:

Endpoint

↓

Ethernet / Wi-Fi

↓

VLAN / Switching

↓

IP Routing

↓

VRF / Segmentation

↓

Security

↓

WAN / Internet / Cloud

↓

Overlay

↓

Virtual Network

↓

Container / Kubernetes

↓

Service

↓

Application

The physical and virtual infrastructure may be completely different, but the underlying engineering principles remain consistent.

There is always:

Addressing

Reachability

Forwarding

Policy

Transport

Service

Observation

Engineering Perspective

Modern connectivity engineering is increasingly about understanding interactions between systems rather than memorising individual technologies.

A packet may begin in a laptop, enter a VLAN, cross an access switch, reach a router, follow a BGP-selected path, pass through a firewall, cross a cloud interconnect, enter a VRF, traverse a VXLAN overlay, reach a Kubernetes node and finally arrive at a container.

To the application, this may look like:

“Connect to 10.20.30.40:443.”

Behind that simple request can be dozens of independent decisions.

The engineer’s job is to reduce that complexity into observable stages.

Where did the packet originate?

Where should it go?

Which control plane selected the path?

Which forwarding table processed it?

Which security policy evaluated it?

Did the return path behave correctly?

Did transport succeed?

Did the application respond?

Once these questions become habitual, network troubleshooting becomes less about guessing and more about proving what happened.

Connectivity Engineering Checklist

Before declaring a connectivity problem resolved, validate:

  • Interface state

  • IP addressing

  • VLAN / segment

  • ARP or NDP

  • Default gateway

  • Routing table

  • FIB / forwarding state

  • Next hop

  • Security policy

  • NAT / translation

  • Return path

  • MTU / MSS

  • TCP / UDP behaviour

  • DNS

  • TLS

  • Application response

  • Latency

  • Packet loss

  • Control-plane stability

  • Monitoring visibility

A change that fixes one layer but creates a failure at another is not a complete solution.

The best connectivity designs therefore combine correct forwarding, explicit security, resilient control planes and continuous observability.

Conclusion

Network connectivity has evolved from simple host-to-host communication into a distributed fabric spanning physical networks, virtual infrastructure, cloud platforms and application platforms.

The technologies may differ, but the fundamental questions remain remarkably consistent:

How is the destination identified?

How is the path selected?

How is the next hop resolved?

How is the traffic secured?

How is the transport session established?

How is the application reached?

How do we know when something fails?

Understanding these questions provides the foundation for designing, operating and troubleshooting modern networks.

The network is no longer simply the infrastructure underneath the application.

It is a distributed connectivity system that continuously calculates, enforces and observes how applications communicate.

Stage 05 · Engineering Investigation

Network Failure Investigator

The application is unreachable. Follow the connectivity chain, collect evidence, identify the first broken dependency and prove the root cause.

0 / 10 checks completed
Scenario: Application Unreachable

Client 10.20.10.25 is attempting to reach app.network.local at 10.30.20.50:443. The application team reports that the service is unavailable. Determine where the connectivity chain actually fails.

Connectivity Path

Awaiting investigation
PC
Client
10.20.10.25
SW
Access Switch
VLAN 20
R
Edge Router
VRF PROD
FW
Firewall
HTTPS
NAT
NAT Gateway
SNAT
APP
Application
10.30.20.50
CONNECT → RESOLVE → ROUTE → POLICY → TRANSLATE → MTU → TCP → SERVICE

Investigation Checks

Click each check to collect evidence

Evidence Console

No check selected
Select an investigation check WAITING
Click an investigation check to collect simulated engineering evidence.
Engineering interpretation: Start with the lowest dependency and work upward. The application symptom is not automatically the root cause.

Investigation Timeline

Live evidence
00:00
Investigation started. Application reported unreachable.

Submit Root-Cause Diagnosis

Fault Injection

Select another failure
```
☕
Support Network Insight
Help support independent engineering guides, interactive networking tools, and future learning labs.
Support Network Insight ```
Cisco Snort

Cisco Firewall with Cisco IPS

NETWORK INSIGHT · ENGINEERING GUIDE

Cisco Firewall + IPS: From Stateful Inspection to Snort 3 Threat Prevention

A modern firewall is no longer simply a barrier between an internal network and the Internet. It is an enforcement point that evaluates connection state, security policy, network context, application behaviour and, where deployed, deeper threat inspection before deciding what should happen to a flow.

Cisco Secure Firewall technologies combine stateful firewalling with additional inspection and intrusion prevention capabilities. Snort provides the inspection engine used to analyse traffic for protocol behaviour, signatures and other indicators of suspicious activity. The important engineering question is not simply which security features exist, but how traffic moves through these controls and how each stage contributes evidence to the final decision.

This guide therefore follows the security decision rather than treating firewalling and IPS as isolated technologies. We will start with the stateful firewall, move into Snort-based inspection, investigate a realistic security incident, and finish by examining how security teams correlate detection, prevention and operational evidence.

The engineering question When a connection is allowed, blocked or flagged, what evidence actually caused the security system to make that decision?
01 · SEE Follow a flow through state, zones, policy, NAT and inspection.
02 · OBSERVE See how IPS and Snort turn packets into security evidence.
03 · INVESTIGATE Trace an incident and isolate the actual security decision point.
04 · OPERATE Correlate detection, prevention, response and verification.
Cisco Secure Firewall + IPS

Integrated Threat Prevention Architecture

Modern firewall protection combines stateful access control with deep traffic inspection, threat intelligence and inline prevention. Select a stage to see what happens to traffic as it moves through the security stack.

Internet Traffic

Traffic enters the security boundary from an external network. The firewall begins evaluating the connection before the flow can reach protected internal resources.

Traffic
Firewall
Policy
IPS
Intelligence
Allowed
SECTION 01 · SEE
Firewall Decision Path Explorer
Click each stage to see what evidence is created.
STATEFUL FLOW
01
Packet
02
Zone
03
5-Tuple
04
State
05
Policy
06
NAT
07
Inspect
08
Decision
Engineering readout
A packet enters the firewall and becomes part of a flow that can be evaluated against security context and policy.
Evidence
Interface + packet metadata
01 · SEE · FIREWALL DECISION

The Stateful Firewall: From Packet to Security Decision

A firewall decision is not simply the result of matching an IP address and port against an access-control rule. A stateful firewall evaluates traffic in context, combining packet information, security-zone context, connection state, policy, translation and additional inspection before producing an enforcement result.

This distinction matters because the packet an engineer captures at one point in the network is only part of the story. The firewall may already have a connection record for the flow, may translate the addresses before forwarding the traffic, or may apply additional inspection after the initial policy evaluation.

The first engineering task is therefore to reconstruct the decision path: what entered the firewall, how it was classified, what state existed, which policy applied, what transformations occurred and what ultimately caused the traffic to be allowed or rejected.

The firewall decision path

01 · PACKET Traffic arrives Source, destination, protocol and port information enter the security device.
02 · CONTEXT Security zone Interface and zone information establish the security context.
03 · STATE Flow identified The firewall determines whether the connection already exists.
04 · POLICY Access decision Security policy determines the permitted handling of the traffic.
Conceptual stateful processing model
Packet
→
Zone
→
5-Tuple
→
State
→
Policy
→
NAT
→
Inspection
→
Action

Why stateful inspection matters

Stateful inspection maintains information about active connections rather than evaluating every packet as an unrelated event. For TCP traffic, for example, the firewall can use connection state to determine whether a packet belongs to an established session or represents an unexpected transition.

This creates an important troubleshooting dependency. If the application reports that a connection is established but the firewall has no matching state entry, the engineer has evidence that something in the expected flow is inconsistent. Conversely, seeing an established state does not automatically prove that the application is healthy; return traffic, inspection and downstream dependencies still need to be considered.

Security zones establish context

A firewall also evaluates where traffic comes from and where it is going. External, internal, DMZ and other logical security zones provide the context in which policy decisions are interpreted.

The same destination port can therefore represent very different security decisions depending on the source zone, destination zone, interface and configured policy. An engineer investigating a failure should always establish the traffic direction before interpreting an access-control result.

Questions to establish the context
Where did the packet enter? Identify the ingress interface and associated security context.
Where is it going? Establish the intended egress interface, zone and destination.
What flow is this? Confirm the source, destination, protocol and relevant ports.
What state exists? Determine whether the firewall recognises the connection.

Policy is only one part of the decision

Access-control policy is often the first place engineers look when traffic fails. That is sensible, but it is not sufficient. A rule permitting HTTPS does not by itself prove that the flow will successfully traverse the security stack.

The engineer must establish which policy entry actually matched the flow, whether the intended source and destination objects were used, and whether the policy result was consistent with the configured security intent.

If the rule is correct, investigation should continue rather than stopping at the access-control layer.

NAT changes the observed flow

Network Address Translation introduces another important evidence point. The address seen by the originating host may not be the address observed by the destination. During troubleshooting, engineers therefore need to distinguish the original flow from the translated representation.

A correct security policy combined with an incorrect translation can produce a failure that initially looks like a connectivity or routing problem. Translation records therefore belong in the same investigation chain as policy and state information.

Inspection can change the decision

Once the basic firewall decision has been established, additional inspection may evaluate application behaviour, protocol characteristics or security conditions. This is where traditional stateful firewalling begins to intersect with intrusion prevention and deeper traffic analysis.

The important operational distinction is that an allowed connection is not necessarily the end of processing. Depending on the platform and configured security policy, traffic may continue through additional inspection controls before the final action is complete.

Engineering evidence rule

Do not begin with the assumption that the firewall blocked the traffic. Establish the observed flow, security context, state, policy match, translation and inspection result in that order. Each observation removes another possible explanation from the investigation.

What the engineer should be able to prove

By the end of this stage, the engineer should be able to explain the firewall decision using evidence rather than configuration alone.

Traffic identity The exact source, destination, protocol and ports are known.
Security context The ingress, egress and zone relationship is understood.
Connection state The firewall's understanding of the flow is confirmed.
Security decision The policy, translation, inspection and resulting action are explained.
Engineering Lab · Section 01
Stateful Firewall Decision Engine

Next, work through a live firewall flow and step through the decision pipeline. The lab will expose the changing state, policy evaluation, NAT context, inspection result and final action so the decision can be investigated rather than simply described.

Stateful Firewalling

Stateful Firewall Decision Engine

A stateful firewall does more than inspect individual packets. It evaluates the connection context, compares traffic against policy, performs required translation and inspection, and then determines whether the flow should continue.

›
›
›
›
›
›
›

Source — Packet Arrival

A packet enters the firewall interface and becomes part of the firewall's processing pipeline. The device identifies the traffic context before applying security policy.

Source 10.20.10.25
Destination 172.16.20.50
Protocol TCP / HTTPS
Ports 49152 → 443
Example flow: established HTTPS session permitted after state, policy and inspection checks.
Stateful Firewall Lab · SEE

From Packet to Security Decision

Step through a stateful firewall decision and watch the evidence accumulate: packet identity, security zone, 5-tuple, connection state, policy, NAT, inspection and final enforcement action.
Ready
Live Traffic Path
0 / 12
◉
CLIENT
10.20.4.15
Internal host
HTTPS client
◆
STATEFUL FIREWALL
FW-EDGE-01
Inside: 10.20.0.1
Outside: 198.51.100.10
▣
WEB SERVER
203.0.113.20
HTTPS service
TCP/443
Observed Flow
NEW
10.20.4.15:51520
→ 203.0.113.20:443
TCP / HTTPS
Translated Flow
NOT CREATED
Waiting for NAT decision
Engineering model: the firewall does not make a decision from the packet alone. It progressively adds context until the enforcement decision can be explained.
Decision Evidence
Live
Ingress Zone
Unknown
5-Tuple
Unknown
State
Unknown
Policy
Unknown
NAT
Unknown
Inspection
Unknown
Policy Engine
ACL / State
Rule OUT-HTTPS-01
Source zone INSIDE
Destination WEB / 443
Action Pending
Final Action
Enforcement
Current decision
PENDING
Firewall Decision Timeline
Evidence pipeline
01
PACKET
Packet enters the firewall on the inside interface.
02
ZONE
Firewall identifies the ingress and egress security context.
03
5-TUPLE
Source, destination, protocol and ports identify the flow.
04
STATE
The firewall checks whether the flow already exists in the state table.
05
POLICY
The security policy is evaluated against the observed flow and state.
06
NAT
Address translation is evaluated and the translated flow is created when required.
07
INSPECT
Additional stateful or application-aware inspection is applied.
08
DECIDE
The firewall determines whether the packet should be allowed or dropped.
09
FORWARD
An allowed packet is forwarded toward the destination.
10
REPLY
The return packet is matched against the existing state.
11
STATE
Return traffic is associated with the established connection.
12
COMPLETE
The flow is now explainable through policy, state, NAT and inspection evidence.
Engineering Readout
Live interpretation
Current Stage
Press Step Forward to begin
Investigation Progress
Engineering takeaway: a stateful firewall decision should be explainable through observable evidence rather than a simple allow/deny statement.
QUESTION 01 What packet actually entered the firewall?
QUESTION 02 Which security zone and connection state applied?
QUESTION 03 Which policy, NAT and inspection decisions changed the flow?
QUESTION 04 What evidence proves the final enforcement action?
SECTION 02 · OBSERVE
Snort 3 Threat Detection Pipeline
Select a processing stage and inspect the evidence it creates.
01
Packet
→
02
Decoder
→
03
Flow
→
04
Inspector
→
05
Rules
→
06
Detection
→
07
Action
What the engine is doing
Traffic enters the inspection pipeline as packets requiring analysis.
Evidence produced
packet metadata payload
02 · OBSERVE · THREAT DETECTION

Cisco IPS and Snort: From Traffic to Threat Detection

Stateful firewalling answers an important question: should this traffic be permitted through the security boundary? Intrusion prevention asks a different question: does the traffic itself contain characteristics that indicate malicious, anomalous or otherwise suspicious behaviour?

This distinction is critical when investigating security events. A flow can be permitted by the access-control policy and still trigger deeper inspection. Conversely, an IPS alert does not automatically mean that the connection was blocked. The configured inspection mode and resulting action must be established from evidence.

Snort provides a useful engineering model for understanding this deeper inspection process. Traffic moves through a sequence of processing stages where packets are decoded, associated with flows, interpreted by protocol inspectors, evaluated against detection logic and finally associated with an enforcement action.

The Snort inspection pipeline

01 · INPUT Packet Raw network traffic enters the inspection path.
02 · DECODE Decoder Protocol headers and packet structure are interpreted.
03 · CONTEXT Flow / Session Traffic is associated with the relevant connection.
04 · PROTOCOL Inspector Application and protocol behaviour can be examined.
05 · RULES Rule Matching Detection logic is evaluated against the observed traffic.
06 · DETECT Detection A security condition may be identified.
07 · ACTION IPS Action Alert, allow, drop or another configured response is applied.
08 · EVIDENCE Telemetry The event becomes evidence for operational investigation.
Engineering inspection model
Packet
→
Decoder
→
Flow
→
Inspector
→
Rules
→
Detection
→
IPS Action

Detection is more than signature matching

Signature-based detection is an important part of intrusion prevention, but modern inspection can use several forms of evidence. Protocol characteristics, application behaviour, flow context and other security conditions can contribute to determining whether traffic should be considered suspicious.

This creates a different troubleshooting model from traditional packet filtering. Instead of asking only which rule matched an address and port, the engineer needs to understand what the inspection engine observed and which condition caused the detection.

Signature Traffic characteristics match known detection logic or a defined attack pattern.
Protocol behaviour Protocol structure or application behaviour does not match expected characteristics.
Anomaly Observed activity deviates from an expected traffic or behavioural model.

Snort 2 and Snort 3 as engineering models

The evolution from Snort 2 to Snort 3 is useful for understanding how modern inspection engines organise processing. The older architecture provides a useful model of packet decoding, preprocessing, detection and output. Snort 3 expands this approach with a more modular architecture and greater emphasis on protocol inspectors and parallel processing.

Snort 2
Classic model

A useful conceptual model for understanding the traditional inspection pipeline.

  • Packet decoding
  • Preprocessing
  • Detection engine
  • Rule processing
  • Output and logging
Snort 3
Modern model

A more modular inspection architecture designed around inspectors, application awareness and improved processing organisation.

  • Modular inspectors
  • Protocol awareness
  • Application identification
  • Rule groups
  • Parallel resource utilisation

Protocol inspection creates deeper visibility

Packet headers tell the security system where traffic is going and which transport protocol is being used. Protocol inspection can provide a much richer view of what the traffic is actually doing.

For example, an HTTPS flow may be permitted because TCP port 443 is allowed, while deeper inspection evaluates additional characteristics of the session. The important engineering principle is that the transport port identifies a communication channel; it does not, by itself, prove that the application behaviour within that channel is benign.

Inline and passive inspection are different operational models

An IPS can operate in a position where it is able to influence traffic, or it can observe traffic and generate security events without directly enforcing the result. These modes produce different operational consequences.

In an inline design, a detection can potentially influence whether traffic continues. In a passive design, the detection becomes primarily observational evidence and another control may be required to prevent the activity.

Engineering evidence rule

An IPS alert is not the same thing as an IPS block. When analysing an event, correlate the flow, protocol, detection condition, rule or inspection result, timestamp and configured action. Only then can the engineer determine whether the IPS actually changed the fate of the traffic.

Security telemetry connects detection to investigation

Detection becomes operationally useful when it can be correlated with the surrounding network evidence. The source and destination of the flow, the firewall decision, the inspection event and the resulting action should form a coherent timeline.

This is particularly important when a legitimate application is accidentally classified as suspicious. Without the surrounding flow and application context, an engineer may respond to the alert while missing the actual cause of the service failure.

Evidence to correlate
Flow evidence Source, destination, protocol, ports and session timing.
Detection evidence Detection condition, rule context and observed protocol behaviour.
Action evidence Whether the system alerted, allowed, dropped or otherwise handled the traffic.

From detection to security decision

The complete security path is therefore broader than a simple packet-to-rule comparison. Traffic must first become understandable to the inspection engine, then gain flow and protocol context, then be evaluated against detection logic before a security action can occur.

That model also explains why security troubleshooting often requires multiple evidence sources. A packet capture may prove what was sent. A firewall record may prove how the flow was handled. An IPS event may explain what the inspection engine detected. Together, these observations provide a much stronger explanation than any single log entry.

Engineering objective
Explain the detection, not just the alert

The goal is to reconstruct the inspection path: what traffic entered, how the flow was identified, what the protocol inspector observed, which detection logic matched, what security condition was identified and what action followed.

Engineering Lab · Section 02
Snort 3 Inspection Lab

The next interactive lab turns this pipeline into a live investigation. Step through packet decoding, flow context, protocol inspection, rule matching, detection and IPS action to see exactly where security evidence is created.

SNORT 3 / THREAT DETECTION LAB
From Traffic to Threat Detection
Step a network packet through the Snort 3 inspection pipeline. Observe how decoding, flow tracking, protocol inspection, rule matching and detection combine to produce an IPS action.
READY · WAITING FOR PACKET
Live Snort 3 Inspection Pipeline
STAGE 0 / 7
01
PACKET
Raw network traffic enters the inspection path.
02
DECODER
Headers and protocol structure are decoded.
03
FLOW
Traffic is associated with a session or flow.
04
INSPECTOR
Protocol-aware inspection identifies application context.
05
RULES
Relevant detection rules are evaluated.
06
DETECTION
Evidence is classified as clean, suspicious or malicious.
07
IPS ACTION
Configured policy determines pass, alert or block.
Source
CLIENT
10.20.4.15:51520
→
Destination
WEB SERVER
203.0.113.20:443
TCP · HTTPS · SYN · APPLICATION FLOW 7F2A · INSPECTION PENDING
Click any pipeline stage to inspect its engineering meaning. Use Step Forward to follow the packet sequentially, or inject a detection condition from the controls on the right.
Inspection Context
LIVE
Protocol
TCP
Application
HTTPS
Flow State
NEW
Inspector
HTTP / TLS
Rule Group
WEB-THREAT
Mode
INLINE
Detection Controls
FAULT INJECTION
Protocol Valid
Decoder receives structurally valid traffic.
Threat Signature
Rule matching produces a detection.
Behaviour Anomaly
Protocol/application behaviour is suspicious.
IPS Prevention
Inline mode can block detected traffic.
Detection Timeline
NO EVENT YET
01
PACKET
Traffic enters the Snort inspection path.
WAIT
02
DECODER
Packet structure and protocol headers are evaluated.
WAIT
03
FLOW / SESSION
Traffic is associated with the application flow.
WAIT
04
PROTOCOL INSPECTOR
Application-aware context becomes available.
WAIT
05
RULE MATCHING
Relevant detection rules are evaluated.
WAIT
06
DETECTION
Detection evidence is classified.
WAIT
07
IPS ACTION
Configured prevention behaviour is applied.
WAIT
Live Engineering Readout
Ready to inspect traffic
Step into the pipeline to see what evidence becomes available at each stage.
Current IPS Verdict
UNINSPECTED
Engineering Takeaway
A packet is not a threat simply because it exists. Detection depends on progressively richer context: protocol structure, flow state, application behaviour and detection logic.
Cisco Snort 3

Snort 3 Inspection Pipeline

Snort 3 processes traffic through a sequence of decoding, flow, protocol and detection stages. Select a stage below to explore how traffic moves from raw packets toward a security decision.

›
›
›
›
›
›

Packet — Traffic Arrives

Network traffic reaches the inspection engine. Snort begins processing the packet so that protocol and security information can be extracted for subsequent inspection stages.

Earlier Architecture

Snort 2

Snort 2 used a more process-oriented architecture built around packet decoding, preprocessors and the detection engine. Its architecture could involve duplicated processing and memory overhead as deployments scaled.

Modern Architecture

Snort 3

Snort 3 introduces a more modular, multi-threaded architecture with shared configuration and reusable inspectors. This provides a more flexible foundation for protocol analysis and efficient traffic processing.

Engineering note: the exact inspection and enforcement path depends on the Cisco Secure Firewall deployment, configured policy and enabled inspection features. The diagram represents the conceptual Snort 3 processing model rather than a packet-by-packet implementation trace.
SECTION 03 · INVESTIGATE
Security Evidence Explorer
Change the investigation vantage point and see which evidence becomes useful.
INCIDENT MODE
Flow
10.20.4.15 → 203.0.113.20
Policy
HTTPS-OUTBOUND
State
ESTABLISHED
IPS Event
No match
Endpoint
Browser session
DNS
Resolved
NAT
Translated
Decision
ALLOW
Firewall vantage point: Start with the flow, state table, policy match and NAT evidence before assuming IPS is responsible.
03 · INVESTIGATE · SECURITY EVIDENCE

Security Investigation: Following Evidence Through the Firewall

Real security investigations rarely begin with a known technical cause. They begin with a symptom: an application is slow, a connection fails, users report intermittent access or a security alert appears at an unexpected time. The engineer must then work backwards from that symptom and determine which part of the security path actually changed the outcome.

This requires a different mindset from simply checking whether a firewall rule exists. A configured rule describes intended behaviour. Telemetry, packet captures, connection state, inspection events and application observations provide evidence of what actually happened.

The investigation therefore follows the traffic through the security stack rather than jumping immediately to a conclusion.

Start with the symptom

Incident scenario
Intermittent failure
Internal user reports intermittent HTTPS application failure

A client at 10.20.4.15 is attempting to reach an application at 203.0.113.20:443. Some requests succeed while others fail or time out. The firewall is known to permit HTTPS traffic, but an IPS event has also appeared around the time of several failures.

At this point there are several possible explanations. The presence of an IPS alert makes it interesting, but it does not make the IPS responsible. The investigation must establish what happened to the actual flow.

Follow the evidence chain

01 · CLIENT Endpoint What did the client actually send and receive?
02 · FIREWALL Flow Did the firewall recognise and track the session?
03 · POLICY Access Which security rule handled the connection?
04 · NAT Translation Was the source or destination transformed?
05 · IPS Inspection Did deeper inspection identify a security condition?
06 · APP Application Did the application ultimately receive and answer the request?

Build the timeline before changing anything

Intermittent problems are particularly dangerous because different requests can take different paths through the security system. An alert at 10:03:14 and an application timeout at 10:03:15 may be related, but the timestamps alone do not establish causation.

Start by constructing a timeline around a specific failed transaction. Record the client, destination, protocol, ports and timestamp. Then correlate the flow with firewall state, policy decisions, translation records and IPS events.

01 Identify Isolate one failed transaction and its exact flow tuple.
02 Correlate Match the transaction across security telemetry sources.
03 Compare Compare successful and failed requests for meaningful differences.
04 Prove Confirm the actual control that changed the traffic outcome.

Possible fault domains

The investigation should keep multiple hypotheses open until evidence eliminates them. A firewall or IPS incident can involve several layers that appear similar from the application's perspective.

ACL or policy mismatch
The traffic may be matching a different policy than the engineer expects, or a condition in the policy may produce a deny.
NAT failure
Translation may be missing, incorrect or inconsistent with the expected destination path.
Stateful session problem
The firewall may not have the expected connection state or may interpret subsequent traffic differently from the initial flow.
IPS detection
Deeper inspection may identify a signature, protocol condition or behavioural characteristic that changes handling.
Application inspection
Application or protocol behaviour may be interpreted differently from the basic transport flow.
External dependency
DNS, reputation or another downstream dependency may contribute to the observed failure.
Threat intelligence
A destination, domain or other indicator may have acquired a security classification that affects handling.
False positive
Legitimate application traffic may be incorrectly classified by a detection control.

Use packet capture as evidence, not as the whole investigation

Tools such as tcpdump and Wireshark are valuable because they show what traffic is actually visible at a capture point. They can establish whether packets were transmitted, whether responses returned and whether retransmissions or resets are present.

However, a packet capture from one interface cannot automatically prove what happened elsewhere in the security stack. A packet disappearing after the firewall does not by itself distinguish between policy enforcement, NAT behaviour, IPS action, routing or an upstream failure.

Capture location therefore becomes part of the evidence. Engineers need to understand where the packet was observed relative to the security controls being investigated.

Do not confuse correlation with causation

An alert near the failure is not automatically the cause

An IPS event occurring at approximately the same time as an application failure is useful evidence, but it does not prove that the IPS caused the failure. Confirm the affected flow, the detection condition, the configured action and the resulting packet behaviour before assigning causality.

This distinction becomes especially important when investigating false positives. A legitimate application can trigger an inspection condition while another dependency is responsible for the actual outage. Treating every security alert as the root cause can lead to unnecessary policy changes and can make the original problem harder to reproduce.

Compare successful and failed traffic

Intermittent failures provide an important opportunity: successful transactions can become the baseline against which failed transactions are compared.

Flow comparison Check whether source, destination, protocol and ports are identical between successful and failed requests.
State comparison Determine whether successful and failed sessions have the same expected connection state.
Policy comparison Confirm that both requests traverse the same intended security policy.
NAT comparison Check whether translation behaviour differs between working and failing transactions.
IPS comparison Determine whether only failed transactions trigger a detection or whether successful traffic produces the same event.
Application comparison Establish whether the application received the request and produced a response.
Engineering evidence

A strong incident record should allow another engineer to reconstruct the transaction without relying on assumptions. At minimum, establish the timeline, flow tuple, firewall state, policy result, NAT behaviour, inspection event, configured action and endpoint or application result.

Investigation principle
Follow the packet until the evidence stops

Do not stop at the first interesting log entry. Continue through the security path until you can explain where the expected behaviour changed. The strongest root-cause statement identifies the control, evidence and resulting traffic behaviour together.

From observation to fault isolation

The investigation model developed here can now be turned into an operational exercise. Instead of being told which component is faulty, the engineer should inspect the available evidence and determine whether the problem lies in policy, state, NAT, IPS inspection, application behaviour or an external dependency.

The objective is not simply to identify a suspicious event. It is to explain the complete chain from client request to security decision and prove which observation distinguishes the real fault from the competing hypotheses.

Engineering Lab · Section 03
Firewall + IPS Incident Investigation Lab

The next interactive lab presents the incident as an evidence problem. Inspect the client flow, firewall state, policy, NAT, IPS telemetry and application evidence, then isolate the fault and build a defensible root-cause explanation.

SECURITY INCIDENT / INVESTIGATION LAB
Follow the Evidence Through the Firewall
An internal user reports intermittent HTTPS failures. Investigate the same flow across the client, firewall, policy, NAT, IPS and application layers. The objective is not to guess the fault — it is to build enough evidence to isolate it.
INCIDENT OPEN · EVIDENCE REQUIRED
Live Incident Path
0 / 6 EVIDENCE POINTS
Endpoint
CLIENT
10.20.4.15
USER REPORT: HTTPS FAILURE
→
Security Edge
FW-EDGE
INSIDE → OUTSIDE
STATEFUL INSPECTION
→
Application
WEB SERVER
203.0.113.20:443
HTTPS SERVICE
FLOW  10.20.4.15:51520 → 203.0.113.20:443 / TCP  ·  SYMPTOM  intermittent HTTPS failure
01 Endpoint
USER REPORT
02 Flow
5-TUPLE
03 Policy
ACL MATCH
04 NAT
TRANSLATION
05 IPS
INSPECTION
06 Application
RESPONSE
Reported Symptom
START HERE
User Impact
“The application works sometimes, but HTTPS requests intermittently fail.”
Fault Injection
SCENARIO
Policy Decision
Does the security policy permit the flow?
NAT Translation
Can the destination flow be translated correctly?
State Table
Does the firewall have consistent flow state?
IPS Inspection
Does inspection detect a threat?
Investigation Confidence
0%
Collect evidence from multiple control points before declaring the fault domain.
Evidence Matrix
CORRELATE BEFORE CONCLUDING
Evidence Expected Observed Interpretation
CLIENT HTTPS request generated Pending Endpoint evidence not yet collected.
FLOW Consistent 5-tuple/state Pending Flow state has not yet been correlated.
POLICY HTTPS permitted Pending Policy result has not yet been confirmed.
NAT Valid translation Pending Translation evidence has not yet been confirmed.
IPS No blocking detection Pending IPS telemetry has not yet been correlated.
APPLICATION HTTPS response Pending Application-side behaviour has not yet been verified.
Investigator Readout
Incident ready
Start with the endpoint symptom, then move through the security path. A single log rarely proves the root cause.
EVIDENCE: none collected
Current Finding
UNRESOLVED
Engineering Principle
Correlation is not causation. An IPS alert, NAT entry or firewall deny becomes meaningful only when its timestamp, flow identity and relationship to the reported failure line up.
SECTION 04 · CORRELATE & OPERATE
Security Control Loop
A security decision is only useful when the engineer can verify its outcome.
01
Detect
Find the signal
02
Correlate
Join the evidence
03
Decide
Assess the threat
04
Prevent
Apply control
05
Verify
Prove the result
Operational readout
Detection is the starting point, not the conclusion. Establish what signal triggered the investigation and gather enough context to determine whether it represents a real security condition.
Investigation confidence
20%
04 · OPERATE · DETECTION & VERIFICATION

Operating the Security Stack: Detection, Prevention and Verification

Security operations do not end when an alert is generated or when a packet is blocked. Effective operation requires a continuous loop in which detection is correlated with context, a decision is made, a control is applied and the resulting behaviour is verified.

The firewall, IPS, threat intelligence, endpoint controls and application visibility should therefore be treated as parts of an operational system rather than isolated security products. Each control contributes a different form of evidence and each has limitations that must be understood during an investigation.

The operational question becomes: Can the security team explain what happened, why the control responded, what changed and whether the resulting security outcome is actually correct?

From detection to response

01 · DETECT Identify the signal A firewall, IPS, endpoint or network control produces an event. Output: security signal
02 · CORRELATE Add context Relate the event to flows, users, applications, timestamps and other telemetry. Output: evidence set
03 · DECIDE Assess the risk Determine whether the event represents a real threat, expected behaviour or a false positive. Output: action decision
04 · PREVENT Apply control Enforce the appropriate policy, inspection or containment response. Output: changed traffic state
05 · VERIFY Prove the result Confirm that the intended security outcome occurred without creating an unintended service failure. Output: validated outcome

Visibility across the security stack

No single telemetry source provides the complete operational picture. Firewall telemetry explains traffic handling, IPS telemetry explains detection, endpoint telemetry provides host-level context and packet capture provides direct evidence of network behaviour.

Secure Firewall / FMC Policy decisions, connection information, security events and operational visibility provide the firewall-side perspective.
IPS / Snort Inspection evidence helps explain protocol behaviour, detection conditions and security actions.
Threat intelligence Reputation and threat context can add information about destinations, indicators or observed activity.
Endpoint telemetry Host-level evidence can show which process, application or endpoint behaviour was associated with the network event.
Application controls URL, file and application visibility can add context beyond basic source and destination information.
Packet analysis tcpdump and Wireshark can provide direct evidence of packets, retransmissions, responses and connection behaviour.
Correlation model
Network Flow
→
Firewall
→
IPS
→
Threat Intel
→
Endpoint
→
Application

Policy tuning and false positives

Security controls must be tuned against observed behaviour. A policy that is too broad may create excessive alerts and unnecessary intervention, while a policy that is too narrow may leave important traffic insufficiently inspected.

The same principle applies to IPS detection. A detection that repeatedly identifies legitimate application behaviour can become operational noise if it is not investigated and tuned appropriately. At the same time, suppressing a detection without understanding why it triggered can remove useful protection.

+
Useful tuning

Start with evidence. Identify the traffic, understand the detection condition, establish whether the behaviour is legitimate and then determine whether a policy or detection adjustment is justified.

!
Dangerous tuning

Avoid disabling or broadly excluding a control simply because it generates an inconvenient alert. Removing a security signal without understanding its cause can hide the original problem.

Verification is part of the change

A security change is incomplete until the resulting behaviour has been verified. Blocking a malicious flow is useful, but the engineer should also confirm that legitimate traffic remains available and that the security telemetry reflects the intended outcome.

Verification should therefore reproduce the relevant traffic and compare the observed result against the expected security policy. This turns a configuration change into an engineering change with measurable evidence.

01 Retest traffic Reproduce the relevant flow after the control change.
02 Check telemetry Confirm logs, counters, events and state reflect the expected result.
03 Check application Verify that legitimate application behaviour remains functional.
04 Confirm security Prove that the intended threat or unwanted flow is now handled correctly.
Engineering evidence
A successful block is not enough

The strongest verification demonstrates both sides of the security requirement: the unwanted traffic is prevented and legitimate traffic continues to operate as intended. Evidence should connect the policy change, observed event, enforcement result and application outcome.

Operate the stack as a feedback loop

The four sections of this guide now form one continuous engineering model. First, understand how a stateful firewall turns a packet into a security decision. Next, understand how IPS inspection adds deeper traffic analysis. Then use those models to investigate an actual failure by following evidence across the security path.

Finally, operate the controls as a feedback loop: detect an event, correlate the surrounding evidence, decide what it means, apply the appropriate prevention or policy action and verify the resulting behaviour.

Engineering model
Detect → Correlate → Decide → Prevent → Verify

Security engineering becomes more reliable when every enforcement decision can be explained by evidence and every security change can be verified against real traffic. The objective is not simply to block threats; it is to understand the complete path from network activity to security decision and prove that the resulting system behaviour is correct.

Engineering Lab · Section 04
Threat Prevention Operations Lab

The final interactive lab turns the operational loop into a live exercise. Detect the event, correlate the evidence, decide how it should be handled, apply the prevention action and verify that the intended security outcome has actually been achieved.

SECURITY OPERATIONS / CONTROL LOOP LAB
Detect → Correlate → Decide → Prevent → Verify
Operate the security stack as an engineering control loop. Investigate a detection, correlate the available telemetry, choose a response, apply prevention and then prove that the resulting policy change actually works.
OPERATIONS READY · AWAITING EVENT
Security Control Loop
STAGE 0 / 5
01
DETECT
Identify the event and establish what actually triggered the alert.
02
CORRELATE
Link flow, identity, endpoint, application and security telemetry.
03
DECIDE
Determine whether the event represents a real threat or false positive.
04
PREVENT
Apply the smallest appropriate security control or policy change.
05
VERIFY
Re-test the flow and confirm the intended security outcome.
Security Stack
FIREWALL + IPS
FMC · SNORT · TALOS
→
Protected Service
HTTPS APPLICATION
203.0.113.20:443
Operational Controls
LIVE POLICY
IPS Prevention
Block confirmed malicious traffic inline.
URL Filtering
Enforce policy for suspicious destinations.
File Inspection
Inspect suspicious files and payload behaviour.
Policy Tuning
Narrow or adjust controls when evidence supports it.
Stack Health
TELEMETRY
Firewall Policy
ACTIVE
IPS Engine
MONITORING
Threat Intelligence
AVAILABLE
Endpoint Telemetry
CONNECTED
Verification
PENDING
Operations Timeline
WAITING FOR EVENT
01
DETECT
Alert or security event enters the operations workflow.
WAIT
02
CORRELATE
Flow, endpoint, policy and threat intelligence evidence are compared.
WAIT
03
DECIDE
The event is classified as threat, benign activity or false positive.
WAIT
04
PREVENT
Appropriate controls are applied without unnecessary policy expansion.
WAIT
05
VERIFY
The same traffic path is tested again and telemetry is checked.
WAIT
Live Operations Readout
Security operations ready
Start the control loop. The objective is to make a security decision, apply the smallest appropriate action and then prove the result.
EVIDENCE → none collected
Operational Outcome
UNRESOLVED
Verification confidence
0%
Engineering Takeaway
A security control is not operationally complete when the alert disappears. The change must be verified against the original traffic and expected service behaviour.
```
☕
Support Network Insight
Help support independent engineering guides, interactive networking tools, and future learning labs.
Support Network Insight ```
rsz_1dc_secreu_5

Data Center Security

Data Center Security — Engineering Guide

Modern data centers are no longer simple collections of physical servers connected to a small number of network segments.

They host business-critical applications, databases, APIs, virtual machines, containers, distributed platforms, cloud-connected services, and increasingly dynamic workloads.

As application architectures have become more distributed, the security model has had to evolve with them.

Traditional security architectures often relied heavily on perimeter firewalls, VLANs, IP addressing, and manually maintained access-control lists. These mechanisms remain important, but they are no longer sufficient by themselves.

Modern applications generate large amounts of east-west traffic between workloads inside the data center.

A web application may communicate with application services.

Application services may communicate with databases.

Microservices may communicate with dozens of other services.

Containers may appear and disappear dynamically.

Cloud workloads may communicate with on-premises infrastructure.

Management, monitoring, backup, identity, and security systems create additional communication relationships.

The result is a highly interconnected environment in which the traditional concept of a single security perimeter becomes increasingly difficult to apply.

From Network Security to Workload Security

Modern data center security therefore needs to answer a different question.

Instead of asking:

Which network is this server connected to?

we increasingly need to ask:

Which workload is this, what does it need to communicate with, and why?

This is the foundation of application-centric security.

Security policy can be associated with applications, workloads, identities, relationships, and risk rather than being permanently tied to physical network locations.

Cisco Application Centric Infrastructure (ACI) provides one example of this approach.

ACI allows application requirements to become part of the network policy model. Endpoint groups, contracts, filters, micro-segmentation, and Layer 4–Layer 7 service integration can be used to express and enforce communication relationships across the fabric.

Security as a Layered Architecture

Modern data center security should not be treated as a single technology.

It is better understood as a series of complementary layers:

Security architecture

↓

Segmentation

↓

Policy

↓

Enforcement

↓

Deep inspection

↓

Telemetry

↓

Detection

↓

Response

Each layer addresses a different problem.

Physical and infrastructure controls protect the underlying environment.

Segmentation reduces the size of security boundaries.

Policy defines authorised relationships.

Distributed enforcement prevents unauthorised communication.

Firewalls and other Layer 4–Layer 7 services provide deeper inspection.

Telemetry provides visibility into what is actually happening.

Analytics identify abnormal behaviour.

Response mechanisms allow compromised workloads to be contained.

The Data Center Security Engineering Model

This guide develops that model across four sections.

Section 1 — Security Architecture

Examines the different security layers that protect modern data centers, including physical, network, compute, storage, application, cloud, identity, observability, and resilience controls.

Section 2 — Segmentation and Policy

Explores how security requirements become enforceable communication relationships using concepts such as EPGs, ESGs, contracts, filters, and micro-segmentation.

Section 3 — Enforcement and L4–L7 Services

Examines how authorised and unauthorised traffic is enforced within the fabric and how deeper inspection can be integrated through firewalls, IPS, load balancers, service graphs, and policy-based redirect.

Section 4 — Visibility, Detection and Adaptive Defence

Moves beyond preventative controls into telemetry, behavioural analysis, security analytics, incident investigation, risk-based enforcement, containment, and adaptive security.

The Core Principle

The objective is not simply to prevent every possible connection.

The objective is to create an environment where:

Required communication is explicitly permitted, unnecessary communication is restricted, abnormal behaviour is visible, and compromised workloads can be contained before they become a larger incident.

That is the foundation of a modern, policy-driven data center security architecture.


Engineering Guide Structure

1. Security Architecture

Understand the layers that protect the modern data center.

2. Segmentation and Policy

Define which workloads should communicate and under what conditions.

3. Enforcement and L4–L7 Services

Enforce those relationships and introduce deeper inspection where required.

4. Visibility, Detection and Adaptive Defence

Observe the environment, identify abnormal behaviour, investigate incidents, and respond to changing risk.

The Complete Security Loop

Understand → Segment → Enforce → Inspect → Observe → Detect → Respond

Data Center Security Architecture

Engineering Guide · Data Center Security Interactive Contents

From Segmentation to Adaptive Defense

Use the four engineering sections below to move from security foundations and policy design through distributed enforcement, visibility, incident response and adaptive defense.

01
ARCHITECT
Build the security foundation
02
SEGMENT
Define workload relationships
03
ENFORCE
Apply distributed security policy
04
DETECT & RESPOND
Investigate and contain threats
Engineering path: Architect the environment → segment workloads → enforce policy → detect, contain and recover.
SECTION 01 · SECURITY FOUNDATIONS
Engineering Guide
Data Center Security Techniques
Build Security as a Layered Control System

Data center security is not a single firewall, ACL or security product. It is a layered engineering model spanning physical infrastructure, network segmentation, workloads, applications, identity, telemetry and incident response.

01
Protect
Physical infrastructure and critical assets
02
Segment
Reduce unnecessary workload communication
03
Verify
Use identity, context and behaviour
04
Observe
Detect, investigate and respond
What You Will Learn

How modern data center security combines segmentation, least privilege, identity, workload protection, observability and resilience rather than relying on a single perimeter control.

Engineering Focus

The objective is to make every communication path intentional, observable and enforceable — from physical infrastructure through application workloads.

Engineering Question
If a workload is compromised inside the data center, what prevents the attacker from moving laterally to the next application, database or security boundary?

1. Data Center Security Architecture

Data center security is not a single control or appliance.

A modern data center requires multiple security layers working together to protect physical infrastructure, networks, workloads, applications, data, identities, and operational processes.

The objective is to prevent unauthorised access, reduce the attack surface, detect abnormal behaviour, limit lateral movement, and maintain resilience when security controls fail or an incident occurs.

A useful way to approach data center security is to consider the environment as a series of interconnected security domains.

1.1 The Security Layers

A modern data center can include:

  • Physical security

  • Network security

  • Segmentation

  • Compute security

  • Storage security

  • Application security

  • Cloud and hybrid security

  • Identity and access control

  • Observability

  • Threat detection

  • Incident response

  • Resilience and recovery

These layers should not operate independently.

A compromised workload may generate network traffic.

Network telemetry may identify the behaviour.

Identity telemetry may identify the associated user or service.

Endpoint security may provide additional evidence.

Security analytics can correlate the events.

A response system can then contain the workload.

This is the basis of layered defence.

1.2 Physical Security

The physical environment remains the first security boundary.

Controls can include:

  • Controlled facility access

  • Badge authentication

  • Biometrics

  • Surveillance

  • Security personnel

  • Restricted data center areas

  • Rack security

  • Tamper detection

  • Secure cabling

  • Environmental monitoring

Physical security is particularly important because compromise of the physical infrastructure can undermine otherwise strong logical controls.

An attacker who gains direct access to infrastructure may be able to bypass network-based assumptions.

1.3 Network Security

The network provides the communication foundation for the data center.

Traditional controls include:

  • VLAN segmentation

  • VRF isolation

  • ACLs

  • Firewalls

  • Routing policy

  • Network security zones

  • IDS/IPS

  • VPNs

  • Encryption

  • Network telemetry

However, modern applications increasingly require security controls that understand workloads and application relationships rather than only addresses and interfaces.

1.4 East-West Security

Traditional perimeter security focuses heavily on north-south traffic.

Modern data centers also require strong east-west security.

For example:

WEB → APP

APP → DB

APP → CACHE

SERVICE → SERVICE

MONITORING → WORKLOAD

If an attacker compromises one workload, east-west controls determine how easily that attacker can move to other systems.

This makes internal segmentation a fundamental security requirement.

1.5 Compute Security

The compute layer introduces additional security boundaries.

Virtualisation platforms such as:

  • VMware ESXi

  • Microsoft Hyper-V

  • KVM

can provide workload isolation, but the hypervisor itself must also be protected.

Important controls include:

  • Secure boot

  • Host hardening

  • Patch management

  • Hypervisor security

  • VM isolation

  • Privileged-access controls

  • Host monitoring

Containerised environments introduce additional controls.

These can include:

  • Container image security

  • Runtime protection

  • Namespace isolation

  • Kubernetes network policy

  • Workload identity

  • Runtime behaviour monitoring

The objective is to ensure that compromise of one workload does not automatically provide unrestricted access to others.

1.6 Storage Security

Storage frequently contains the most valuable information in the environment.

Security controls can include:

  • Encryption at rest

  • Encryption in transit

  • Access control

  • Storage segmentation

  • Immutable backups

  • Protected snapshots

  • Replication

  • Backup isolation

  • Recovery testing

Ransomware resilience is particularly important.

A backup that is accessible through the same credentials and security boundaries as production systems may be vulnerable to the same compromise.

Security therefore needs to extend into the recovery architecture.

1.7 Application Security

Applications introduce another security layer.

Controls can include:

  • Web Application Firewalls

  • API gateways

  • Application authentication

  • Secret management

  • Secure CI/CD

  • Dependency scanning

  • Code security testing

  • Runtime protection

  • Application logging

Application security and network security should complement one another.

A secure network cannot compensate for an insecure application, and an application security control cannot replace appropriate network segmentation.

1.8 Cloud and Hybrid Security

Modern data centers increasingly operate across:

On-premises infrastructure

  •  

Private cloud

  •  

Public cloud

  •  

Kubernetes

  •  

SaaS

Security policy therefore has to extend beyond the physical data center.

Cloud environments introduce controls such as:

  • VPC/VNet segmentation

  • Security groups

  • Cloud firewalls

  • IAM

  • Workload identity

  • Private connectivity

  • Cloud logging

  • Cloud security posture management

  • Service-to-service policy

The important principle is consistency.

A workload should not become significantly less protected simply because it has moved from an on-premises environment into a cloud environment.

1.9 Zero Trust

Zero Trust changes the assumption that internal network location automatically implies trust.

Instead of:

Internal network = trusted

the model becomes:

Access must be explicitly authorised.

Important principles include:

  • Least privilege

  • Explicit authentication

  • Continuous verification

  • Identity-aware policy

  • Device posture

  • Workload identity

  • Encryption

  • Deny-by-default principles

Zero Trust therefore complements segmentation.

Segmentation limits communication.

Identity determines who or what is requesting access.

Risk determines whether the communication should remain trusted.

1.10 Identity-Driven Security

Identity provides context that IP addresses cannot.

A network address tells us where traffic is coming from.

Identity can tell us:

  • Which user is involved

  • Which workload is involved

  • Which service account is involved

  • Which device is involved

  • Which application is involved

  • What privileges are associated with the request

This enables more contextual security decisions.

For example:

User identity

  •  

Device posture

  •  

Application

  •  

Network location

  •  

Risk

can produce a much stronger security decision than IP address alone.

1.11 Observability

Security requires visibility.

Important telemetry sources include:

  • NetFlow

  • IPFIX

  • Packet capture

  • Firewall logs

  • DNS logs

  • Authentication logs

  • Endpoint telemetry

  • Application logs

  • Cloud logs

  • Kubernetes telemetry

  • Distributed tracing

Tools and platforms can include:

  • SIEM

  • SOAR

  • EDR/XDR

  • Prometheus

  • Grafana

  • OpenTelemetry

The objective is not to collect every possible event.

The objective is to collect enough meaningful evidence to understand:

What happened?

Who or what was involved?

What changed?

What was affected?

What should happen next?

1.12 Incident Response and Resilience

Prevention will never be perfect.

A mature security architecture therefore assumes that incidents will occur and prepares for them.

Important capabilities include:

  • Incident response plans

  • Security runbooks

  • Automated containment

  • Backup and recovery

  • Disaster recovery

  • Tabletop exercises

  • Recovery testing

  • Crisis communication

  • Forensic evidence collection

The architecture should allow security teams to move from:

Detection

to

Investigation

to

Containment

to

Recovery

without requiring the network to be redesigned during the incident.

1.13 Security Analytics

Modern environments generate too many events for manual analysis alone.

Analytics can identify:

  • Unexpected communication

  • Lateral movement

  • Privilege escalation

  • Abnormal traffic

  • Unusual authentication

  • Misconfiguration

  • Excessive permissions

  • Unused policy

  • Shadow workloads

  • Unexpected exposure

The value comes from correlation.

A single unusual connection may be harmless.

The same connection combined with:

  • unusual authentication

  • abnormal process activity

  • unexpected DNS queries

  • increased traffic

may become a high-value security signal.

1.14 Adaptive Security

Modern security architectures increasingly need to respond to changing conditions.

For example:

Normal workload

→ normal policy

Suspicious workload

→ increased monitoring

High-risk workload

→ restricted communication

Compromised workload

→ quarantine

This introduces a feedback loop between security telemetry and enforcement.

1.15 Engineering Model

A useful architecture is:

Physical security

↓

Network security

↓

Segmentation

↓

Workload security

↓

Application security

↓

Identity

↓

Observability

↓

Detection

↓

Response

↓

Recovery

No individual layer is sufficient.

The strength of the architecture comes from how these controls work together.

1.16 Section 1 Engineering Principle

The modern data center should therefore be treated as a distributed security system, not simply a collection of network devices.

The architecture must understand:

  • Where workloads are located

  • What those workloads represent

  • Who or what can access them

  • Which services they require

  • How they communicate

  • What normal behaviour looks like

  • How abnormal behaviour will be detected

  • How compromised workloads will be contained

This provides the foundation for the next stage:

How do we turn these security requirements into enforceable communication policy?

ENGINEERING EXPLORER · DATA CENTER SECURITY
Trace a Workload Through the Security Architecture
Follow a workload from identity and segmentation through policy enforcement, inspection, telemetry and response. Step through the architecture to see where each security decision is made.
Security Control Path
Stage 1 of 8
01
Workload
The application workload generates traffic toward another service.
ACTIVE
02
Identity
Workload identity, role and contextual attributes establish who is communicating.
WAITING
03
Segmentation
The workload is classified into the appropriate security boundary or group.
WAITING
04
Policy
Application relationship, contract, rule or security policy determines whether communication is permitted.
WAITING
05
Inspection
Selected traffic can be redirected through firewall, IDS/IPS, WAF or other security services.
WAITING
06
Telemetry
Flow, packet, endpoint, identity and application signals provide evidence about the communication.
WAITING
07
Detection & Decision
Correlation and analytics determine whether the observed behaviour remains trusted.
WAITING
08
Response
The architecture can allow, monitor, block, isolate or quarantine the workload.
WAITING
Current Security Layer
Workload

The workload is the starting point for the security decision. Modern data-center security begins by understanding what is communicating, rather than relying only on its IP address or VLAN.

Control
Workload classification
Security Question
What is this workload?
Evidence
Workload attributes
Decision
Identify
Architecture Progress 12%
Live Security Readout
Source WEB-01
Destination APP-01
Traffic HTTPS / TCP 443
Trust State Unknown
Action Classify
Security Decision Timeline
Live execution
Workload
Identity
Segmentation
Policy
Inspection
Telemetry
Decision
Response
NORMAL TRAFFIC

WEB-01 is making an expected HTTPS request to APP-01. The security architecture evaluates the communication progressively.

Anomalous east-west behaviour detected. The architecture must now evaluate risk and determine whether the workload should be monitored, blocked or isolated.

Segmentation and Security Policy

SECTION 02 · POLICY & SEGMENTATION
Engineering Guide
Segmentation, Policy and Security Enforcement
Turn Application Relationships into Security Policy

Modern data center security increasingly moves beyond the question of which subnet or VLAN a workload occupies. The engineering problem is to define which workloads should communicate, under which conditions, and what happens when that relationship is not permitted.

01 · CLASSIFY
Identify Workloads
Group endpoints according to application, role, identity and security context.
02 · DEFINE
Define Relationships
Specify the communication paths an application actually requires.
03 · ENFORCE
Apply Policy
Permit, restrict, inspect or isolate traffic according to explicit policy.
What You Will Learn

How EPGs, contracts, filters, security groups, micro-segmentation and cloud security boundaries translate application requirements into enforceable policy.

Engineering Focus

Good segmentation is not about creating as many zones as possible. It is about creating clear security boundaries with explicit communication relationships that can be understood, tested and maintained.

Engineering Question
If WEB, APP and DB workloads belong to different security groups, what explicit policy should allow — or prevent — each communication path between them?

2. Segmentation and Security Policy

Once the security architecture has been established, the next engineering question is:

Which workloads should be allowed to communicate, and why?

Traditional data center security often relied on VLANs, IP subnets, interfaces and ACLs.

These mechanisms remain useful, but modern applications require a more expressive model.

An application may contain multiple workload types, and those workloads may move across the infrastructure.

Security policy therefore needs to follow the application relationship, rather than simply the physical location of a server.

2.1 From Network Segmentation to Policy Segmentation

Traditional segmentation might look like:

VLAN 10 → Web

VLAN 20 → Application

VLAN 30 → Database

This creates useful boundaries, but it does not automatically define which communication is permitted.

A more complete model is:

WEB

↓

Application policy

↓

APP

↓

Application policy

↓

DB

The important question becomes:

What relationship exists between these workloads?

2.2 Designing Segmentation Around Application Relationships

Consider a three-tier application:

Web

↓

Application

↓

Database

The security policy may require:

  • Web can communicate with application services

  • Application can communicate with databases

  • Web cannot directly access databases

  • Management systems can access approved administrative interfaces

  • Monitoring systems can collect telemetry

  • Backup systems can access protected storage

This is much more precise than simply defining three VLANs.

The security architecture is now based on relationships.

2.3 Micro-Segmentation

Large security zones can create excessive trust.

If hundreds of workloads share the same security boundary, compromise of one workload may provide an attacker with many possible lateral-movement paths.

Micro-segmentation reduces these trust relationships.

Instead of:

Production → Production

we can define:

WEB → APP

APP → DB

MONITORING → WORKLOAD

BACKUP → STORAGE

Each relationship can be independently controlled.

2.4 Policy as the Security Contract

A useful way to think about security policy is as a contract between workloads.

The policy states:

This workload is allowed to communicate with that workload using these services.

For example:

APP → DB

Allowed:

TCP/5432

Not automatically allowed:

SSH

RDP

SMB

Other unnecessary services

This produces a least-privilege communication model.

2.5 Cisco ACI and Policy-Based Segmentation

Cisco ACI provides an application-centric policy framework.

Rather than configuring every security rule independently on physical interfaces, administrators can define groups of endpoints and relationships between those groups.

Important constructs include:

  • Endpoint Groups

  • Contracts

  • Filters

  • Endpoint Security Groups

  • Micro-segmentation

  • L3Out policy

  • Layer 4–Layer 7 service integration

These constructs allow policy to be represented in terms of applications and workloads.

2.6 Endpoint Groups

An Endpoint Group, or EPG, provides a mechanism for grouping endpoints that share common policy requirements.

An EPG can represent a logical application tier such as:

WEB-EPG

APP-EPG

DB-EPG

Security policy can then be applied to the relationships between these groups.

This provides a more scalable model than individually managing every endpoint.

2.7 Contracts

Contracts define communication relationships between EPGs.

For example:

WEB-EPG

↓

WEB-TO-APP contract

↓

APP-EPG

The contract can reference filters describing the traffic that is permitted.

This allows the policy to express both:

  • Who may communicate

  • What traffic is allowed

2.8 Filters and Least Privilege

A filter defines traffic characteristics such as protocol and ports.

For example:

TCP/443

or:

TCP/5432

The security model can therefore become:

Group

→ Contract

→ Filter

→ Permitted traffic

This is more meaningful than simply allowing an entire subnet to communicate.

2.9 EPGs, Contracts and the Security Boundary

The relationship between the endpoint group and contract becomes the security boundary.

For example:

WEB-EPG

can communicate with:

APP-EPG

because a contract exists.

However:

WEB-EPG

cannot directly communicate with:

DB-EPG

unless an appropriate policy relationship exists.

This creates an explicit application communication model.

2.10 Endpoint Security Groups

Endpoint Security Groups, or ESGs, provide an additional security-oriented abstraction within ACI.

They allow security classification to be separated from some of the forwarding relationships that historically constrained EPG-based designs.

This can provide greater flexibility when applying security policy across workloads.

The important concept is:

Security classification does not always have to map directly to a traditional network segment.

This becomes increasingly valuable in environments containing dynamic workloads.

2.11 Micro-Segmentation Across Distributed Workloads

Micro-segmentation becomes particularly useful when workloads that appear similar from a network perspective require different security treatment.

For example:

Production APP

and

Development APP

may share infrastructure but should not necessarily share identical security policy.

Similarly:

Windows workloads

and

Linux workloads

may require different treatment during a security incident.

Micro-segmentation provides additional classification mechanisms that can support these requirements.

2.12 L4–L7 Security Service Integration

Segmentation determines whether communication should occur.

Sometimes that is not enough.

A security architecture may also require:

  • Firewall inspection

  • IPS

  • Load balancing

  • Application security

  • Other L4–L7 services

This introduces a second question:

If the traffic is permitted, does it also require deeper inspection?

That distinction becomes the focus of Section 3.

2.13 Cloud Security Perimeters

Segmentation is not limited to the physical data center.

Cloud environments require similar principles.

For example, Google Cloud VPC Service Controls can establish security perimeters around supported cloud resources to help reduce the risk of unauthorised data movement.

The important principle is that cloud security boundaries should complement:

  • IAM

  • Network controls

  • Workload identity

  • Logging

  • Application security

No single cloud perimeter replaces identity or application-level authorisation.

2.14 Cloud Edge Protection

Cloud environments may also require edge protection.

Cloud security services can provide capabilities such as:

  • DDoS protection

  • WAF

  • Security policy

  • Threat detection

  • Edge traffic controls

These controls protect applications before traffic reaches the workload environment.

2.15 Hybrid Security

Hybrid architectures may contain:

Data center

↓

Cloud connectivity

↓

Cloud VPC

↓

Managed services

↓

Internet-facing applications

The security model therefore has to remain consistent across these boundaries.

Security policy should identify:

  • Which workloads communicate

  • Which services are exposed

  • Which identities are trusted

  • Which traffic is permitted

  • Where deeper inspection is required

2.16 Private Service Connectivity

Private connectivity mechanisms such as Private Service Connect can provide private access to supported services without requiring workloads to use public IP paths for that service relationship.

However, private connectivity should not be confused with authorisation.

A private connection answers:

How does the traffic reach the service?

Security policy still needs to answer:

Is this workload authorised to use the service?

Connectivity and authorisation are separate security concerns.

2.17 Traditional ACL-Based Security

Traditional ACLs remain useful.

They are particularly appropriate for:

  • Infrastructure filtering

  • Management-plane protection

  • Simple protocol restrictions

  • Layer 2 controls

  • Specific interface requirements

The problem occurs when ACLs become the only mechanism used to represent complex application security.

At that point, the configuration can become difficult to understand and maintain.

2.18 MAC ACLs

MAC-based filtering can be useful for Layer 2 security requirements.

It can control traffic based on source or destination MAC information.

This is a more granular mechanism than simply trusting an entire VLAN, but it remains a relatively low-level security control.

2.19 VLAN ACLs

VLAN-based access controls can provide filtering for traffic associated with particular VLANs.

They remain useful for specific infrastructure requirements, but they do not provide the same application-centric abstraction as workload groups and contracts.

2.20 Policy as a Layered Enforcement Model

A mature security architecture can therefore combine:

Traditional ACLs

  •  

EPGs

  •  

ESGs

  •  

Contracts

  •  

Filters

  •  

Micro-segmentation

  •  

L4–L7 services

The controls are complementary.

The objective is not to eliminate traditional networking controls.

The objective is to place each control at the appropriate architectural layer.

2.21 Engineering Design Principles

A modern segmentation architecture should follow several principles.

Start with communication requirements

Determine which workloads actually need to communicate.

Apply least privilege

Permit only the protocols and services required.

Minimise security zones

Avoid unnecessarily large trust boundaries.

Make policy application-centric

Express policy in terms of workloads and application relationships where possible.

Separate segmentation from deep inspection

A communication relationship being permitted does not mean that the traffic requires no further inspection.

Design for mobility

Policy should remain meaningful as workloads move.

Build quarantine capability

Compromised workloads should be capable of being isolated.

2.22 The Result: Policy-Driven Segmentation

The traditional security model can be represented as:

Interface → ACL → IP address → Rule

The application-centric model becomes:

Workload → Group → Contract → Filter → Enforcement

This allows the security architecture to follow the workload rather than simply following the physical topology.

The key engineering question becomes:

Who should communicate, what should they communicate with, and which traffic is actually required?

Once that policy has been established, the next challenge is enforcing it and introducing deeper inspection where necessary.

ENGINEERING LAB · MICRO-SEGMENTATION
Build the Security Policy
Select the workload relationship, application context and security controls. The policy engine evaluates the resulting communication and explains why traffic should be allowed, denied, inspected or quarantined.
Policy Builder
Construct communication intent
Source Workload
WEB-01
EPG: WEB
Role: Front-End
→
Destination Workload
APP-01
EPG: APP
Role: Application Tier
APP-WEB-CONTRACT
ACTIVE
Source classification WEB EPG
Application relationship HTTPS
Security context Trusted
Enforcement Permit
Policy Engine Decision
ALLOW
Expected WEB → APP HTTPS communication matches the security policy.
Risk Score 18 / 100
Decision Evidence
Source Group WEB
Destination APP
Application HTTPS
Identity Web Role
Context Trusted
Policy Path

The communication is evaluated against identity, segmentation, application relationship and risk before the final action is applied.

IDENTITY
→
SEGMENT
→
CONTRACT
→
RISK
→
DECISION
Security policy has detected a communication pattern that does not match the expected workload relationship.
Engineering Principle

Micro-segmentation is not simply creating more VLANs. The objective is to express which workloads may communicate, under which conditions, and with which security controls.

Data Center Security with Cisco ACI

SECTION 03 · ENFORCEMENT & INSPECTION
Engineering Guide
Data Center Security with Cisco ACI
From Security Policy to Distributed Enforcement

Once security relationships have been defined, the next engineering challenge is enforcement. Cisco ACI provides a policy-driven fabric model for segmentation and communication control, while dedicated security services can provide deeper inspection where required.

01 · CLASSIFY
Endpoint Groups
Represent workloads according to application and security role.
02 · AUTHORISE
Contracts
Define which communication relationships are permitted.
03 · ENFORCE
Fabric Policy
Apply distributed policy close to the relevant endpoints.
04 · INSPECT
Security Services
Steer selected traffic through firewalls or inspection services.
What You Will Learn

How EPGs, contracts, filters, micro-segmentation, uSeg/µEPG concepts and service graphs can be combined to enforce application-aware security policy.

Engineering Focus

ACI segmentation should not be treated as a replacement for every security appliance. Use the fabric for segmentation and policy enforcement, and dedicated security services when deeper inspection is required.

Engineering Question
Which traffic should be controlled directly by the fabric, and which traffic should be deliberately redirected through a firewall, IDS/IPS or other L4–L7 security service?

3. Data Center Security with Cisco ACI

Cisco ACI provides a policy-driven framework for implementing segmentation and security enforcement across the data center fabric.

Sections 1 and 2 established the architecture and policy model.

This section moves to the next question:

How is that policy actually enforced, and when do we need deeper security inspection?

ACI can enforce communication relationships between groups of endpoints through constructs such as EPGs, ESGs, contracts, and filters.

However, segmentation and policy enforcement should not be confused with complete deep-packet or application security inspection.

A modern architecture can therefore combine:

Workload identity → Segmentation → Contract → Filter → Traffic steering → Security service → Application

3.1 Application-Centric Security

Traditional security often begins with the physical or logical location of a device.

Application-centric security begins with the workload.

Instead of asking:

Which VLAN is this server connected to?

we ask:

What workload is this, what application does it belong to, and what should it communicate with?

ACI allows these application relationships to become part of the infrastructure policy model.

3.2 The ACI Allowlist Model

ACI uses an allowlist-oriented policy model.

Communication between endpoint groups requires appropriate policy.

For example:

WEB → APP

Allowed:

TCP/443

The existence of a policy relationship does not mean that all traffic between the workloads should be permitted.

Filters can restrict the relationship to the services actually required.

This supports least-privilege communication.

3.3 Segmentation Is Not a Next-Generation Firewall

This distinction is important.

ACI provides distributed policy enforcement inside the fabric.

It can determine:

  • Which endpoint groups are communicating

  • Whether a policy relationship exists

  • Which traffic is permitted

  • Which protocols and ports are allowed

However, deeper security functions may require dedicated services.

These can include:

  • Next-generation firewalls

  • IPS

  • Application security

  • Load balancers

  • Other L4–L7 services

Therefore:

ACI segmentation ≠ complete security inspection

Instead:

ACI segmentation + security services = layered enforcement

3.4 Contracts as Enforcement Policy

A contract establishes the policy relationship between endpoint groups.

For example:

APP-EPG

↓

APP-TO-DB

↓

DB-EPG

The contract can reference filters that define the permitted traffic.

This separates:

Relationship

from

Traffic definition

The policy therefore becomes easier to understand and reuse.

3.5 The Challenge with Static ACLs

Traditional ACLs can become increasingly complex as applications grow.

Rules may contain:

  • Source addresses

  • Destination addresses

  • Protocols

  • Ports

  • Interfaces

  • Exceptions

  • Temporary rules

As the environment changes, administrators may add additional rules without removing old ones.

This creates policy accumulation.

Over time, the ACL may still function but become difficult to understand.

A security policy that cannot be easily understood is difficult to audit and maintain.

3.6 Topology-Independent Policy

One of the important advantages of an application-centric policy model is that security relationships are not permanently tied to individual interfaces.

The conceptual model becomes:

Endpoint → Group → Policy → Contract → Filter

rather than:

Interface → ACL → Address → Rule

This allows policy to remain meaningful as workloads move within the fabric.

3.7 Micro-Segmentation

Large security zones can create excessive trust.

If hundreds of workloads share the same broad security boundary, compromise of one workload can provide an attacker with opportunities for lateral movement.

Micro-segmentation reduces these trust relationships.

Instead of:

Production → Production

we can define:

WEB → APP

APP → DB

MONITORING → WORKLOAD

BACKUP → STORAGE

3.8 EPGs and ESGs

EPGs provide a fundamental mechanism for grouping endpoints and applying common policy.

ESGs provide an additional security-oriented abstraction that can offer greater flexibility when classifying workloads for security policy.

The important engineering principle is that security classification does not always need to map directly onto a single traditional network segment.

3.9 Micro-Segmentation with Additional Endpoint Attributes

ACI micro-segmentation capabilities can provide more granular classification of endpoints.

This can be useful when workloads inside the same broader application environment require different security treatment.

For example:

Production APP

and

Development APP

may require different security policies.

Similarly:

Windows workloads

and

Linux workloads

may require different treatment during an incident.

3.10 Example: Workload Quarantine

Imagine an application environment containing both Windows and Linux workloads.

A security team identifies a vulnerability affecting the Windows workload population.

Instead of manually modifying policies for every individual host, the affected workloads can be classified into a more restrictive security policy where the architecture supports the required classification.

The resulting model is:

Normal workload

↓

Normal application policy

After compromise:

Affected workload

↓

Restricted communication

↓

Security / remediation services

This demonstrates an important security principle:

Containment should reduce the blast radius without requiring the entire application architecture to be redesigned.

3.11 L4–L7 Security Services

Segmentation determines whether communication should occur.

Deep inspection determines whether permitted traffic is safe or appropriate according to additional security criteria.

Potential security services include:

  • Firewalls

  • IPS

  • Load balancers

  • Application security platforms

  • Other L4–L7 services

This introduces the next layer of the architecture.

3.12 Cisco Secure Firewall Integration

Cisco security platforms can be integrated into ACI-based architectures where deeper inspection is required.

A dedicated firewall can provide capabilities beyond distributed fabric policy, depending on the platform and deployment.

These may include:

  • Stateful firewalling

  • Intrusion prevention

  • Threat inspection

  • Application-aware security

  • VPN services

  • Security logging

The architectural principle is:

ACI determines which traffic requires additional policy enforcement.

The security service performs the deeper inspection.

3.13 Policy-Based Redirect

Policy-based redirect provides a mechanism for steering selected traffic towards a service node.

Conceptually:

WEB → APP

Normal flow:

WEB → APP

Traffic requiring inspection:

WEB → Firewall → APP

This means that not every communication flow necessarily has to traverse the same security appliance.

Inspection can be applied according to application and security policy.

3.14 ACI L4–L7 Services

ACI can integrate Layer 4–Layer 7 services into the application policy model.

Potential services include:

  • Firewalls

  • IPS

  • Load balancers

  • Application delivery services

  • Other supported security appliances

This allows security functions to become part of the traffic-processing architecture.

3.15 Service Graphs

A service graph represents a logical processing path through integrated services.

For example:

Consumer

↓

Firewall

↓

IPS

↓

Load Balancer

↓

Provider

Each service can perform a different function.

The graph therefore describes the intended service chain rather than simply representing a physical sequence of network devices.

3.16 Selective Traffic Inspection

Not every flow necessarily requires the same level of inspection.

For example:

TrafficSecurity approach
WEB → APPApplication-aware inspection
APP → DBRestricted database traffic
Monitoring → WorkloadPermit required telemetry
Backup → StoragePermit approved backup services
Unknown → ProductionDeny
Quarantined → ApplicationRestrict

Inspection should therefore be based on:

  • Application requirements

  • Security risk

  • Performance

  • Capacity

  • Compliance

  • Operational requirements

3.17 Distributed Enforcement and Centralised Policy

ACI combines:

Centralised policy definition

with:

Distributed enforcement

This allows policy to be centrally managed while enforcement occurs within the fabric.

Dedicated L4–L7 services can then provide deeper inspection where required.

The architecture becomes:

APIC

↓

Policy

↓

ACI Fabric

↓

Distributed enforcement

↓

L4–L7 Security Services

↓

Inspection

This separation makes the overall security architecture easier to reason about.

3.18 Security Enforcement as a Layered Model

A complete enforcement architecture can therefore be represented as:

Endpoint classification

↓

Segmentation

↓

Contract

↓

Filter

↓

Traffic steering

↓

Deep inspection

↓

Telemetry

Each layer answers a different question.

LayerQuestion
EndpointWhat is communicating?
GroupWhat security class does it belong to?
ContractAre these groups allowed to communicate?
FilterWhich traffic is permitted?
RedirectDoes the flow require a service?
InspectionDoes deeper security analysis occur?
TelemetryWhat actually happened?

3.19 Example: Web Application Security

Consider:

WEB → APP → DB

The security policy may be:

WEB → APP

TCP/443 permitted.

APP → DB

Only required database traffic permitted.

WEB → DB

No direct communication.

Management → Workloads

Restricted to approved management systems.

Unknown → Production

Denied.

Selected application traffic can then be steered through appropriate security services.

3.20 Security Enforcement and Lateral Movement

Suppose an attacker compromises a web server.

Without effective segmentation:

WEB

↓

APP

↓

DB

↓

Management

↓

Backup

The attacker may have multiple paths to additional systems.

With application-centric segmentation:

WEB

↓

APP

↓

Policy boundary

↓

DB

Each relationship becomes another security decision.

If the workload is later identified as compromised, its policy can be restricted further.

3.21 Enforcement as Part of a Feedback Loop

Security enforcement should not operate independently of visibility.

A policy may state:

WEB can communicate with APP using TCP/443.

Telemetry may later show:

WEB has started communicating with unexpected destinations.

That behaviour becomes a security signal.

The architecture can then move towards:

Observe → Analyse → Restrict → Investigate

This connects directly with Section 4.

3.22 Engineering Design Principles

A modern enforcement architecture should:

  • Start with application relationships

  • Use least privilege

  • Separate segmentation from deep inspection

  • Use micro-segmentation where required

  • Steer appropriate traffic through security services

  • Avoid unnecessary inspection paths

  • Design for workload mobility

  • Provide quarantine capability

  • Collect telemetry from enforcement points

3.23 The Result: Policy-Driven Enforcement

The traditional model is:

Interface → ACL → Address → Rule

The application-centric model becomes:

Workload → Group → Contract → Filter → Service → Inspection

The network fabric enforces the communication relationship.

Dedicated security services provide deeper inspection.

Telemetry validates what actually occurred.

The result is a layered security architecture in which each technology performs a specific role.

ENGINEERING SIMULATOR · CISCO ACI · L4–L7 SERVICES
Trace Traffic Through a Service Graph
Select the services required by the security architecture, then step the application flow through the ACI fabric. The simulator shows where policy-based redirection inserts inspection services into the forwarding path.
Traffic Service Path
Stage 1 of 7
W
WEB
Source Workload
A
ACI FABRIC
Policy / Fabric
F
FIREWALL
Security Service
I
IDS / IPS
Inspection
L
LOAD BALANCER
L4–L7 Service
A
APP
Destination
Policy-Based Redirect: selected traffic can be classified by policy and redirected through an appropriate service node rather than requiring every traffic flow to traverse the same security appliance.
Service Controls
Click / tap to change
Security Contract
Permit the application relationship
Policy Redirect
Steer matching traffic into services
Firewall
Stateful security inspection
IDS / IPS
Threat detection / prevention
Load Balancer
Application delivery function
Forwarding Decision
FORWARD
WEB traffic is entering the ACI fabric and the selected service chain will determine its next hop.
Live Readout
Source WEB-01
Destination APP-01
Protocol HTTPS / 443
Current Node WEB
Next Function ACI Fabric
Service Chain Timeline
Packet execution
WEB workload generates HTTPS request
ACI policy classifies the traffic
Policy-based redirect selects service path
Firewall inspection
IDS / IPS inspection
Load-balancing function
APP workload receives traffic
Engineering Principle

ACI provides policy-driven traffic classification and can steer selected flows toward integrated L4–L7 services. The fabric's segmentation policy and dedicated inspection functions solve different security problems.

Inspection has been removed from the selected path. The traffic can still be forwarded when policy permits it, but the security architecture has lost a layer of inspection.

Visibility, Detection and Adaptive Defence

SECTION 04 · VISIBILITY & RESPONSE
Engineering Guide
Visibility, Detection, Response and Adaptive Defense
Detect the Anomaly, Decide the Risk, Contain the Threat

Segmentation and enforcement reduce the available attack surface, but security does not end when a policy is deployed. Modern data centers also need continuous visibility, correlated evidence, incident investigation and a controlled path from detection to containment and recovery.

01 · OBSERVE
Collect Evidence
Flow, endpoint, identity, application and security telemetry.
02 · DETECT
Correlate Signals
Identify unusual behaviour and changes from the expected baseline.
03 · RESPOND
Contain Risk
Block, isolate or quarantine affected workloads when justified.
04 · RECOVER
Validate & Restore
Remediate, restore services and verify the security boundary.
What You Will Learn

How flow telemetry, packet visibility, SIEM/SOAR, EDR/XDR, identity context and behavioural analysis can be combined to investigate east-west security events.

Engineering Focus

The objective is not simply to generate more alerts. It is to build a measurable control loop where evidence leads to a decision, the decision drives enforcement, and the result is verified.

Engineering Question
When a normally trusted workload suddenly communicates with an unexpected system, how quickly can the environment detect the change, determine its significance and contain the risk?

4. Visibility, Detection and Adaptive Defence

Sections 1–3 established the security architecture:

Security architecture → segmentation → policy → enforcement → inspection

However, preventative controls alone are not enough.

A policy can define what should happen.

Telemetry tells us what actually happened.

A firewall may permit a connection.

A workload may still behave abnormally.

A correctly segmented server may still become compromised.

Modern data center security therefore requires a continuous feedback loop:

Observe → Analyse → Detect → Investigate → Respond → Validate

4.1 From Security Policy to Security Observability

Consider a simple policy:

WEB → APP

Allowed:

TCP/443

From a policy perspective, the relationship is correct.

But telemetry might reveal:

  • A sudden increase in connections

  • Unexpected traffic volumes

  • Repeated failed connections

  • Communication with previously unused endpoints

  • Unusual connection timing

  • Unexpected external destinations

  • A workload communicating outside its normal application relationship

The policy has not necessarily changed.

The behaviour has changed.

This is why security architecture requires both policy enforcement and continuous observation.

4.2 The Security Telemetry Pipeline

A modern environment can generate telemetry from many layers:

Workload

↓

Network flow

↓

Packet / protocol

↓

Identity

↓

Application

↓

Infrastructure

↓

Security platform

↓

Analytics

No single telemetry source provides the complete picture.

4.3 Network Flow Visibility

Flow telemetry such as NetFlow and IPFIX can provide information about communication patterns including:

  • Source

  • Destination

  • Protocol

  • Ports

  • Volume

  • Packet counts

  • Timing

  • Direction

For example:

APP-01 → DB-01

TCP/5432

Normal

versus:

APP-01 → DB-17

TCP/5432

Unexpected

The second event may become a security investigation even if the network technically permits the traffic.

4.4 Packet-Level Visibility

Flow telemetry tells us that communication occurred.

Packet-level analysis can provide additional information about the communication itself.

Depending on the deployment, packet analysis can help identify:

  • Protocol behaviour

  • Application exchanges

  • Suspicious traffic patterns

  • Malformed packets

  • Unexpected protocols

  • Attack indicators

  • Session behaviour

Packet capture is particularly useful during incident investigation.

4.5 Identity-Aware Security

Network addresses are not sufficient security identities.

An IP address can represent one workload today and another tomorrow.

Modern environments therefore associate network activity with additional context.

Useful information can include:

  • User identity

  • Workload identity

  • Device identity

  • Application identity

  • Namespace

  • Kubernetes service

  • VM identity

  • Cloud resource identity

  • Security group

  • Endpoint classification

This allows security teams to move from:

10.10.20.15 connected to 10.10.30.20

towards:

Production application APP-01 attempted to access database service DB-01.

The second statement provides substantially more useful security context.

4.6 Security Analytics

Telemetry becomes more valuable when it is correlated.

Consider:

Event 1

Authentication succeeded.

Event 2

The user accessed a server.

Event 3

The server established a new outbound connection.

Event 4

The workload contacted an unusual destination.

Event 5

Traffic volume increased dramatically.

Each event might be harmless in isolation.

Together they may describe a potential compromise.

Security analytics attempts to identify these relationships.

The objective is to move from:

Thousands of independent events

to:

A smaller number of meaningful security stories.

4.7 Behavioural Baselines

Security systems need to understand normal behaviour.

An application server may normally:

  • Communicate with three application services

  • Use HTTPS

  • Connect to a known database

  • Generate predictable traffic

  • Operate continuously

  • Use known DNS services

This creates a behavioural baseline.

If the same workload suddenly:

  • Scans hundreds of hosts

  • Attempts SSH connections

  • Contacts an unfamiliar external service

  • Generates significantly more traffic

  • Attempts unexpected database access

the behaviour becomes anomalous.

An anomaly does not automatically mean compromise.

It means:

The workload’s behaviour requires investigation.

4.8 Detecting Lateral Movement

Lateral movement occurs when an attacker attempts to move from an initial compromised workload to additional systems.

A simplified attack path is:

Initial compromise

↓

Credential acquisition

↓

Discovery

↓

Service enumeration

↓

Additional connections

↓

Second workload

Segmentation can reduce these paths.

Telemetry can reveal them.

Analytics can correlate them.

Response mechanisms can attempt to contain them.

The resulting model is:

Prevent → Detect → Contain

4.9 East-West Traffic Analytics

Modern applications generate significant east-west traffic.

Examples include:

WEB → APP

APP → DB

APP → CACHE

SERVICE → SERVICE

MONITORING → WORKLOAD

Security analytics can model these relationships.

Normal:

APP-01 → DB-01

Abnormal:

APP-01 → DB-01

APP-01 → DB-02

APP-01 → DB-03

APP-01 → hundreds of hosts

The final pattern could indicate:

  • Scanning

  • Discovery

  • Malware propagation

  • Misconfiguration

  • Legitimate operational activity

Context determines the conclusion.

4.10 Security Graphs

A useful way to understand modern security is as a graph.

Nodes represent:

  • Users

  • Workloads

  • Applications

  • Databases

  • Services

  • Devices

  • Security systems

Edges represent:

  • Network communication

  • Authentication

  • Application dependencies

  • Policy relationships

  • Administrative access

This model can answer questions such as:

Which systems can this compromised workload reach?

or:

Which applications depend on this database?

or:

Which systems would be affected if this workload were quarantined?

Security therefore becomes a relationship-analysis problem rather than simply a log-analysis problem.

4.11 SIEM Integration

A SIEM can aggregate security events from multiple systems.

Potential sources include:

  • Firewalls

  • IDS/IPS

  • Network infrastructure

  • Servers

  • Identity platforms

  • Cloud platforms

  • Kubernetes

  • Endpoint security

  • Applications

The SIEM can provide:

  • Search

  • Correlation

  • Alerting

  • Investigation

  • Historical analysis

  • Reporting

The SIEM does not replace the underlying security controls.

It provides a central analytical layer.

4.12 SOAR and Automated Response

Detection becomes more valuable when it can trigger an appropriate response.

A response workflow might be:

High-risk alert

↓

Verify evidence

↓

Identify workload

↓

Check identity

↓

Review communications

↓

Apply containment

↓

Notify security team

↓

Record incident

Possible actions include:

  • Isolating a workload

  • Restricting communication

  • Disabling an identity

  • Blocking a destination

  • Increasing inspection

  • Opening an incident

  • Collecting forensic evidence

Automation must be carefully controlled.

A false positive that automatically isolates a critical production system can itself create an operational incident.

4.13 Dynamic Segmentation

Security state can change over time.

A workload that is healthy at 09:00 may become suspicious at 09:15.

The security architecture should therefore be capable of changing its posture.

4.14 Risk-Based Enforcement

A useful model is:

RiskExampleResponse
LowNormal behaviourAllow
MediumUnusual destinationMonitor
HighRepeated scanningRestrict
CriticalConfirmed compromise indicatorsQuarantine

This introduces a more flexible model than simply:

Allow / Deny

Security becomes increasingly risk-aware.

4.15 Identity, Device and Workload Context

Risk decisions become more useful when multiple dimensions are considered.

A security system can evaluate:

Identity

Who is requesting access?

Device

Is the device trusted and compliant?

Workload

Which application is generating the traffic?

Network

Where is the communication occurring?

Behaviour

Is the activity normal?

Threat intelligence

Is the destination or behaviour associated with known threats?

This creates contextual security decisions.

4.16 Continuous Verification

Authentication should not be treated as permanent trust.

An entity may initially be trusted and later become risky.

Security can therefore continuously evaluate:

  • Identity

  • Context

  • Policy

  • Behaviour

  • Device posture

  • Risk

This creates a feedback loop rather than a one-time access decision.

4.17 Threat Intelligence

Threat intelligence can add external context to security analysis.

Examples include intelligence relating to:

  • Malware infrastructure

  • Command-and-control systems

  • Phishing

  • Suspicious domains

  • Known malicious addresses

Threat intelligence becomes more valuable when combined with internal evidence.

For example:

Threat intelligence

  •  

DNS activity

  •  

Network flow

  •  

Endpoint telemetry

  •  

Identity context

can create a much stronger security signal.

4.18 Cloud Security Visibility

Cloud environments introduce additional security telemetry.

Security platforms can provide visibility into:

  • Resources

  • Identities

  • Configuration

  • Network exposure

  • Policy violations

  • Threat findings

  • Vulnerabilities

Hybrid environments are particularly challenging because a workload may communicate across:

Data Center

↓

Cloud VPC

↓

Managed service

↓

Internet-facing API

Network telemetry alone may not provide sufficient context.

Cloud security telemetry therefore needs to become part of the broader security architecture.

4.19 Kubernetes and Container Security

Containerised environments introduce additional security dimensions:

  • Namespace

  • Pod

  • Service

  • Service account

  • Network policy

  • Container image

  • Runtime behaviour

  • Cluster identity

A workload may therefore be represented as:

User

↓

Kubernetes workload

↓

Service

↓

Pod

↓

Container

↓

Network destination

Traditional IP-based monitoring alone can lose important application context because containers are often short-lived and addresses can change.

4.20 Runtime Security

Network controls cannot explain everything happening inside a workload.

Runtime security can provide visibility into:

  • Unexpected processes

  • File access

  • Privilege changes

  • Suspicious system calls

  • Unexpected network connections

  • Container escape indicators

  • Abnormal process behaviour

This complements network telemetry.

The resulting evidence becomes:

Network behaviour

  •  

Identity

  •  

Application behaviour

  •  

Runtime behaviour

4.21 Detection Engineering

Security detection should be engineered rather than simply enabled.

A detection might begin with:

Can we detect a production workload scanning a large number of internal hosts?

The engineering process becomes:

Define expected behaviour

↓

Identify telemetry

↓

Create detection logic

↓

Test against normal traffic

↓

Test against simulated abnormal behaviour

↓

Measure false positives

↓

Tune

↓

Deploy

↓

Monitor

This turns security analytics into an engineering discipline.

4.22 Measuring Security Effectiveness

Security should be measurable.

Useful questions include:

Coverage

Can we see the important workloads?

Policy coverage

Are critical workloads protected by appropriate segmentation?

Detection coverage

Can important attack behaviours be detected?

Response time

How quickly can a security event be investigated?

Containment time

How quickly can a compromised workload be isolated?

False positives

How many alerts require no action?

Recovery

How quickly can the affected service return to normal?

4.23 Incident Investigation Workflow

A repeatable investigation process can be:

1. Identify

Which workload, identity, or device generated the event?

2. Establish baseline

What normally happens?

3. Identify deviation

What changed?

4. Determine scope

What else communicated with the affected workload?

5. Determine impact

What systems or data may be affected?

6. Contain

Can the workload be isolated?

7. Investigate

What evidence explains the event?

8. Remediate

Remove the underlying cause.

9. Validate

Confirm that the environment has returned to an expected state.

10. Improve

Update policy, detection, architecture, or operational processes.

4.24 Example: Compromised Application Server

Consider the application architecture developed throughout this guide:

WEB → APP → DB

APP-01 normally communicates with:

  • WEB services

  • DB services

  • Monitoring

  • Approved infrastructure services

Security analytics detects that APP-01 has started scanning internal hosts.

The investigation identifies:

APP-01 → DB-01

Normal

APP-01 → Monitoring

Normal

APP-01 → Hundreds of internal addresses

Abnormal

The security team correlates:

  • Network flow

  • Endpoint telemetry

  • Authentication activity

  • DNS activity

  • Firewall events

The combined evidence increases the risk score.

The response becomes:

APP-01

↓

High-risk state

↓

Restricted policy

↓

Security investigation

If compromise is confirmed:

APP-01

↓

Quarantine

↓

Remediation

The complete lifecycle is now:

Prevent → Observe → Detect → Investigate → Contain → Recover

4.25 Adaptive Security

The final evolution is adaptive security.

Instead of treating policy as permanently static, the architecture can respond to changing conditions.

Normal

Risk = Low

Standard application policy.

Suspicious

Risk = Medium

Additional monitoring and inspection.

High Risk

Risk = High

Restrict communication.

Compromised

Risk = Critical

Quarantine workload.

This does not mean every decision should be automated.

It means the architecture has mechanisms capable of changing security posture when evidence justifies it.

4.26 The Complete Data Center Security Architecture

The four sections can now be combined.

Layer 1 — Security Architecture

Physical, network, compute, storage, application, cloud and identity controls.

↓

Layer 2 — Segmentation and Policy

EPGs, ESGs, contracts, filters and micro-segmentation.

↓

Layer 3 — Enforcement and Inspection

Distributed enforcement, policy-based redirect, service graphs, firewalls, IPS and other L4–L7 services.

↓

Layer 4 — Visibility and Adaptive Defence

Flow telemetry, packet visibility, identity, analytics, SIEM, detection, response and dynamic containment.

The complete architecture becomes:

Workload

↓

Identity / Classification

↓

Segmentation

↓

Policy

↓

Enforcement

↓

Inspection

↓

Telemetry

↓

Analytics

↓

Risk

↓

Response

↓

Policy adjustment

This is the modern data center security feedback loop.

4.27 Engineering Principles

A mature security architecture should:

  • Know the workload

  • Minimise trust

  • Enforce least privilege

  • Inspect according to risk

  • Observe continuously

  • Correlate context

  • Detect behaviour

  • Prepare containment

  • Automate carefully

  • Measure effectiveness

4.28 Final Engineering Perspective

Modern data center security is no longer a single firewall positioned at the network perimeter.

Applications are distributed.

Workloads move.

Users and services are increasingly identity-driven.

Cloud and on-premises infrastructure coexist.

East-west communication can be as important as north-south traffic.

Security must therefore become an architectural capability rather than a single appliance.

The model developed throughout this guide is:

Understand the workload

↓

Define its security relationships

↓

Segment the environment

↓

Enforce least privilege

↓

Inspect higher-risk traffic

↓

Observe actual behaviour

↓

Detect deviations

↓

Respond to changing risk

↓

Continuously improve policy

The objective is not simply to prevent every possible connection.

It is to create an environment where:

Required communication is explicitly permitted, unnecessary communication is restricted, abnormal behaviour is visible, and compromised workloads can be contained before they become a larger incident.

That is the foundation of a modern, policy-driven data center security architecture.

INCIDENT LAB · LATERAL MOVEMENT · RESPONSE
Investigate a Compromised Workload
Follow a realistic east-west security incident from normal application traffic through anomaly detection, risk escalation, policy enforcement and workload quarantine.
East-West Traffic Investigation
Stage 1 of 8
W
WEB-01
Front-End
Expected Role
A
APP-01
Application Tier
Expected Target
D
DB-01
Database Tier
Restricted Target
Incident Scenario
WEB-01 normally communicates with APP-01 over HTTPS. The investigation begins with an expected application flow.
Current Risk Score
18
LOW · Expected workload behaviour
Investigation Evidence
Source WEB-01
Destination APP-01
Protocol HTTPS / 443
Identity Web Role
Behaviour Expected
Incident Timeline
Detection → Response
T+00:00 Normal WEB → APP traffic
T+00:18 New east-west behaviour observed
T+00:24 WEB → DB connection attempted
T+00:27 Identity / behaviour mismatch detected
T+00:31 Risk score crosses investigation threshold
T+00:34 Security policy blocks lateral movement
T+00:38 Incident response initiated
T+00:42 WEB-01 quarantined
Analyst Investigation

Begin with the baseline. WEB-01 has an expected role and is communicating with APP-01 over HTTPS.

Expected Path
WEB → APP
Observed Path
WEB → APP
Policy State
Normal
Response
Monitor
Security posture: NORMAL — no containment required.
```
☕
Support Network Insight
Help support independent engineering guides, interactive networking tools, and future learning labs.
Support Network Insight ```
identity security

Identity Security

Identity Security

ENGINEERING GUIDE · IDENTITY SECURITY

Identity is no longer simply a login mechanism. It is a continuous security signal used to authenticate users and services, determine what they are allowed to access, evaluate risk, enforce least privilege and trigger a security response when behaviour changes.

Modern applications rarely operate inside a single network boundary. Users access cloud services from unmanaged or managed devices, applications communicate through APIs, workloads call other workloads, administrators operate across multiple platforms, and automated services use identities that may never have a human sitting behind them.

This changes the security problem. A network address can describe where a connection originates, but it does not reliably describe who or what is making the request, whether the device is trusted, whether the session is behaving normally, or whether the requested action is appropriate for that identity.

Identity Is Now a Security Control Plane

Traditional access control often begins with a simple question: Can this user log in?

Modern identity security has to go much further. A successful authentication event does not automatically mean that access should be granted. The security decision may depend on the user's role, authentication strength, device posture, application sensitivity, location, session behaviour, privilege level and current risk.

The resulting model is continuous rather than binary. Identity establishes who is making the request, authentication establishes confidence in that identity, context adds surrounding security information, risk evaluation determines how much trust should be granted, and policy decides what the identity is permitted to do.

Traditional Password
Modern Authentication
Context Identity + Device
Decision Risk + Policy

From Authentication to Continuous Trust

Authentication is the starting point, not the final security decision. A user may successfully authenticate and still represent a high-risk request. A stolen session token may appear valid. A privileged account may suddenly access systems it has never used before. A service identity may begin making API calls at an unusual rate. A healthy device may become non-compliant after authentication.

Identity security therefore combines authentication with context, authorization, behavioural signals and continuous monitoring. This creates the foundation for a Zero Trust approach in which access is evaluated according to the request and its associated evidence rather than being permanently trusted because a user is inside a particular network.

Identity Security Engineering Model
WHO → AUTHENTICATE → CONTEXT → RISK → POLICY → ENFORCE → MONITOR → RESPOND

The Identity Security Problem Has Changed

Attackers increasingly target identities because identities provide legitimate access to legitimate systems. Credential theft, password spraying, phishing, MFA fatigue, session hijacking, stolen OAuth tokens, privilege escalation and malicious application integrations can allow an attacker to operate using credentials that appear valid.

This makes identity security fundamentally different from simply protecting passwords. The security architecture must protect the identity itself, the credentials and authenticators used to establish trust, the sessions created after authentication, the privileges assigned to the identity and the applications and workloads that accept that identity.

01 · Authentication
Prove the Identity

Strong authentication establishes confidence that a user, administrator, service or workload is genuinely the identity presented to the system.

02 · Authorization
Limit the Identity

Authorization determines which resources, applications, APIs and actions the identity is permitted to access. Least privilege keeps that permission as narrow as practical.

03 · Governance
Control the Lifecycle

Identity governance manages how identities are created, changed, reviewed, privileged, disabled and ultimately removed from the environment.

04 · Detection
Detect Identity Abuse

Identity telemetry and behavioural analysis help identify suspicious sessions, privilege escalation, token abuse, unusual access patterns and compromised accounts.

What Identity Security Actually Protects

Identity security applies far beyond human users. Modern environments contain administrators, customers, contractors, applications, APIs, virtual machines, containers, service accounts, cloud workload identities and automated processes.

Each identity can become a pathway into sensitive resources. Protecting the identity therefore means controlling authentication, authorization, privilege, session behaviour and the relationships between identities and the resources they are allowed to use.

In a cloud environment, this may involve IAM roles, service accounts, workload identities, OAuth grants and temporary credentials. In a data center, it may involve Active Directory, LDAP, privileged access management and identity-aware network controls. In an application environment, it may involve JWTs, API authentication, service-to-service identity and policy enforcement at the application layer.

Identity as the New Security Perimeter

The traditional security perimeter was largely defined by network boundaries. Firewalls, VLANs, VPNs and security zones determined where users and systems could connect. These controls remain important, but they are no longer sufficient to establish trust.

A modern identity security architecture treats identity as a primary security control while continuing to use network, endpoint, application and cloud controls as additional enforcement layers.

The result is not the removal of the network perimeter. Instead, security decisions become distributed across identity providers, applications, APIs, endpoints, cloud platforms, network controls and security operations systems.

Engineering Question
If a previously trusted administrator suddenly authenticates from an unfamiliar device, requests privileged access and begins accessing systems outside their normal role, should authentication alone still be enough to allow the request?

The Engineering Approach

The remainder of this guide follows the complete identity security lifecycle: establish strong identity, authenticate it, understand its context, evaluate risk, apply authorization and policy, enforce the decision, monitor activity and respond when trust changes.

The objective is to move from static access control toward an adaptive security model in which identity becomes an active source of security intelligence.

Identity Security Foundations

SECTION 01 · FOUNDATIONS

Identity Security Foundations

Start with the identity itself: authentication, strong authentication, MFA, FIDO2, device posture and service identities. The objective is to understand what an identity actually represents before access decisions are made.
01
IDENTITY who exists?
AUTHENTICATE prove identity
MFA increase assurance
DEVICE assess posture
WORKLOAD service identity
SIGNAL generate evidence
Engineering Question
How do we establish enough confidence that an identity is genuine before allowing it to enter the access-control process?
You Will Learn
Authentication is only the starting point. Identity, device, authentication strength and workload identity all become security signals.
EXPLORE IDENTITY TRUST PIPELINE →
SECTION 01 · IDENTITY SECURITY FOUNDATIONS
Identity Security Foundations

Establishing trustworthy identities, strong authentication, device context and workload identity before making an access decision.

Engineering Principle
Authentication establishes confidence in an identity. Identity security determines what happens with that identity after authentication.

What Identity Security Actually Protects

Identity security begins with establishing confidence in the identities that interact with systems, applications and data. That identity may belong to a human user, administrator, customer, application, API, virtual machine, container or automated service.

The first engineering mistake is to treat authentication as the complete identity security problem. Authentication answers an important question — who or what is making the request? — but it does not determine whether that identity should be trusted with a particular resource or action.

A modern identity architecture therefore combines strong authentication with authorization, device context, behavioural signals, privilege management and continuous monitoring.

01 · HUMAN
User Identity
Employees, administrators, customers and contractors accessing applications and services.
02 · PRIVILEGED
Administrative Identity
Identities with elevated permissions that can modify systems, policy or sensitive data.
03 · APPLICATION
Application Identity
Software components authenticating to APIs, databases and other application services.
04 · SERVICE
Service Identity
Automated processes and background services operating without direct human interaction.
05 · WORKLOAD
Workload Identity
Virtual machines, containers and cloud workloads requiring controlled service-to-service access.
06 · MACHINE
Machine Identity
Devices and infrastructure systems participating in secure application and network operations.

Authentication Is Only the Beginning

Traditional security architectures often treated successful authentication as the point at which trust was established. A user entered a password, completed authentication and was then allowed to operate within a trusted environment.

Modern environments make that model increasingly difficult to defend. A valid identity may be compromised. A session token may have been stolen. A previously trusted device may become non-compliant. A privileged account may suddenly access an unfamiliar application. A service identity may begin making API requests at an abnormal rate.

The authentication event may still be technically valid while the activity itself is suspicious.

Security Shift

The question is no longer simply “Did this identity authenticate?” It becomes “Does this identity still represent an acceptable level of trust for this request?”

Strong Authentication

Strong authentication reduces the probability that an attacker can successfully impersonate an identity.

Passwords remain widely used, but passwords alone provide limited protection against phishing, credential theft, password reuse, password spraying and brute-force attacks.

Modern authentication architectures increasingly combine multiple forms of evidence, including knowledge factors, possession factors, biometric factors, cryptographic authenticators and contextual information about the device and request.

The objective is not simply to make login more complicated. The objective is to increase confidence that the identity presented to the system is genuinely controlled by the legitimate user or service.

Multi-Factor Authentication

Multi-factor authentication adds additional evidence to the authentication process. A password combined with a second factor is significantly stronger than a password alone, but MFA should not be treated as an automatic guarantee of trust.

Attackers increasingly use phishing, adversary-in-the-middle techniques, stolen session tokens and MFA fatigue attacks to manipulate or bypass authentication controls.

This means the security architecture must consider both authentication strength and the circumstances surrounding the authentication.

Authentication
Establish Identity Confidence

Use strong authentication mechanisms to establish confidence that the identity presented to the system is legitimate.

Context
Understand the Request

Consider device posture, application sensitivity, location, session characteristics and other relevant context.

Authorization
Limit What Identity Can Do

Apply least privilege so successful authentication does not automatically result in broad access.

Monitoring
Detect Changes in Trust

Monitor identity activity so unusual behaviour can trigger additional verification or security response.

FIDO2 and WebAuthn

FIDO2 provides a modern foundation for phishing-resistant authentication using public-key cryptography.

WebAuthn allows web applications to use authenticators such as platform credentials, security keys and passkeys. Instead of sending a reusable password to the application, the authentication process uses cryptographic credentials associated with the legitimate authenticator.

This changes the attack surface. A stolen password can potentially be replayed against another system, while properly implemented phishing-resistant authentication is designed to bind the authentication process to the legitimate origin and cryptographic credential.

Device Identity and Posture

Identity cannot always be evaluated independently from the device being used.

A valid administrator accessing a sensitive management application from a managed and healthy corporate device presents a different risk profile from the same identity accessing the application from an unknown or non-compliant device.

Device posture can include operating system version, security patch level, endpoint protection status, device management state, encryption status, secure boot state, browser characteristics and compliance status.

These signals can become part of the access decision. For example, a privileged administrator may be permitted to access a management application only when using a managed device with current security controls.

Service and Workload Identity

Modern applications introduce another major identity challenge: not every request originates from a human.

Applications communicate with APIs. Containers communicate with services. Cloud workloads access databases and storage. Automation systems perform administrative operations. CI/CD pipelines deploy infrastructure.

These processes require identities of their own.

Long-lived static credentials create significant risk because they can be copied, leaked or accidentally exposed. Modern architectures increasingly use short-lived credentials, service accounts and workload identity mechanisms to reduce that exposure.

Workload Identity Questions

For every important service identity, engineers should be able to answer: Who is the workload? What may it access? How long should that permission exist? Where should the identity be accepted? and what should happen if its behaviour changes?

Identity Telemetry

Identity security depends on visibility. Authentication events, MFA challenges, device posture, privilege changes, OAuth grants, API calls, session activity and administrative actions can all provide useful security signals.

These signals become significantly more valuable when correlated with endpoint, network, application and cloud telemetry.

A single failed login may not indicate a serious threat. A sequence of failed logins followed by a successful authentication, a new device registration, privilege escalation and access to sensitive systems creates a very different security picture.

Identity Security as a Foundation for Zero Trust

Zero Trust does not mean that every user is permanently blocked or that traditional network security becomes irrelevant.

It means that trust should not be granted simply because an identity, device or workload happens to exist inside a particular network boundary.

Identity becomes one of the primary signals used to establish trust, while device, application, network and workload controls provide additional enforcement layers.

A Zero Trust identity architecture therefore asks: who is requesting access, how strongly has that identity been authenticated, what device or workload is making the request, what resource is being accessed, what is the current risk and what permissions are actually required?

Engineering Question
A privileged administrator successfully authenticates, but the request comes from an unfamiliar device and is followed by unusual access to sensitive systems. Should authentication alone still be enough to allow the request?

Section 1 Summary

Identity security starts with strong authentication but cannot end there. Human users, administrators, applications, services and workloads all require controlled identities. Device posture and contextual signals can strengthen access decisions, while identity telemetry provides the evidence required to detect changes in trust.

The next engineering step is to determine what an authenticated identity is actually allowed to do. That moves the architecture from authentication into authorization, context, least privilege and adaptive access policy.

IDENTITY TRUST LAB · ADAPTIVE DECISION ENGINE

From Identity Signal to Access Decision

Change identity, authentication, device, context and behaviour signals and watch the policy engine recalculate the access decision in real time.

READY
LAB MODE
Identity
Authentication
Device
Context
Application
Behaviour Risk
Trust Evaluation Pipeline
LAB POLICY MODEL
01
ID
Identity
User
02
AU
Authenticate
MFA Verified
03
DV
Device
Managed
04
CX
Context
Expected
05
RK
Risk
Low
06
PL
Policy
Evaluating
07
→
Decision
Pending
Decision Engine
REAL-TIME
ALLOW
Trust Score 100 / 100
Policy Explanation
Identity is authenticated with strong MFA, the device is healthy, context is expected and current behaviour risk is low.
Identity Standard User
Application Standard
Context Expected
Risk Low
Evaluation Timeline
0 / 7 STAGES
01
Identity asserted
Determine which identity is requesting access.
WAIT
02
Authentication evaluated
Verify the strength and validity of authentication.
WAIT
03
Device posture checked
Evaluate whether the endpoint can be trusted.
WAIT
04
Context assessed
Location and environmental context are evaluated.
WAIT
05
Behaviour risk calculated
Current behaviour is compared against the policy model.
WAIT
06
Policy evaluated
Signals are combined to determine the required access level.
WAIT
07
Access decision returned
The policy engine produces an enforceable result.
WAIT
Engineering Telemetry
WHY IT MATTERS
Engineering Takeaway

Authentication is only the beginning.

A successful login does not automatically create trust. Identity, device, context and behaviour must continue to influence the decision.

LAB POLICY: Strong authentication + healthy device + expected context + low risk normally produces ALLOW.

Authorization, Context and Zero Trust

SECTION 02 · AUTHORIZATION, CONTEXT & ZERO TRUST

Authorization, Context and Zero Trust

Move beyond authentication by evaluating identity, context and risk before deciding what access should actually be permitted.

02
01 IDENTITY
02 AUTHENTICATE
03 CONTEXT
04 RISK
05 POLICY
06 DECISION
Engineering Question

When a valid identity becomes risky, should access remain allowed?

You Will Learn

How RBAC, ABAC, least privilege, conditional access, risk signals and just-in-time privilege turn identity into a Zero Trust decision.

SECTION 02 · AUTHORIZATION, CONTEXT & ZERO TRUST
Authorization, Context and Zero Trust

Turning an authenticated identity into a controlled, context-aware and continuously evaluated access decision.

Engineering Principle
Authentication establishes who the identity is. Authorization determines what that identity is allowed to do, while context and risk determine whether that permission should be granted under the current conditions.

Authentication vs Authorization

Authentication and authorization are related but fundamentally different security functions.

Authentication establishes confidence in an identity. Authorization determines which resources and actions that identity is permitted to access.

A successfully authenticated administrator might be permitted to manage a particular application but not access a production database directly. A developer may be permitted to read source code but not modify production infrastructure. A service identity may be permitted to call one API but not another.

This separation is essential because a valid identity should not automatically receive unrestricted access.

01
IDENTITY
02
AUTHENTICATE
03
CONTEXT
04
RISK
05
POLICY
06
DECISION

Least Privilege

Least privilege is one of the central principles of identity security. An identity should receive only the permissions required to perform its legitimate function.

The objective is not to create an environment where every request requires manual approval. Instead, access should be deliberately scoped so that a compromised identity has as little unnecessary capability as possible.

Least privilege applies to human users, administrators, applications, service accounts and workloads.

RBAC
Role-Based Access Control

Permissions are associated with defined roles and identities receive those roles according to their responsibilities. RBAC provides a practical way to standardise access across groups of users and services.

ABAC
Attribute-Based Access Control

Access decisions can use attributes associated with the identity, resource, device, request or environment. This allows policies to respond to more detailed context than role alone.

JIT
Just-in-Time Privilege

Elevated permissions can be granted for a limited period or specific task instead of remaining permanently assigned to the identity.

CONTEXT
Context-Aware Access

Access can consider device posture, application sensitivity, authentication strength, location, session behaviour and current risk.

Role-Based and Attribute-Based Access

RBAC provides a useful foundation because permissions can be associated with defined responsibilities rather than individual users.

However, roles alone may not provide enough context for modern access decisions.

ABAC extends the decision model by considering attributes such as user role, device state, resource classification, request type, application sensitivity and environmental conditions.

In practice, many mature architectures use a combination of role-based permissions and contextual policy rather than relying exclusively on one model.

Conditional Access

Conditional access introduces context into the authorization decision.

Instead of defining a single permanent rule such as “this user can access this application,” the policy can evaluate the circumstances surrounding each request.

Relevant signals may include authentication strength, device compliance, operating system, application sensitivity, user risk, session characteristics and other security context available to the policy engine.

A low-risk request from a trusted device may proceed normally, while the same identity from a high-risk context may require additional verification or be restricted.

Risk-Based Authentication

Risk-based authentication evaluates evidence surrounding an authentication or access request and adjusts the required security response accordingly.

Risk signals can include unusual login behaviour, unfamiliar devices, impossible or unexpected travel patterns, abnormal authentication frequency, suspicious session characteristics or other indicators of potential compromise.

The important engineering principle is that risk does not have to produce only two outcomes: allow or deny.

ALLOW
Normal context and acceptable risk.
STEP-UP
Require stronger or additional verification.
RESTRICT
Limit sensitive actions or resources.
DENY
Block access when risk exceeds policy.

Step-Up Authentication

Step-up authentication provides a middle ground between unrestricted access and complete denial.

A user may successfully authenticate to a normal application but require stronger verification before accessing a highly sensitive system or performing a privileged operation.

This allows security controls to increase authentication assurance when the sensitivity of the action or the risk of the request changes.

Example

A developer signs in normally and accesses development resources. When the same identity attempts to access production infrastructure, policy can require stronger authentication, verify device posture and apply additional authorization controls before allowing the privileged action.

Just-in-Time Privilege

Permanent administrative privileges increase the impact of compromised identities.

Just-in-time privilege reduces that exposure by providing elevated permissions only when they are required and for as long as they are required.

A typical workflow may involve a user requesting temporary elevation, satisfying an authentication or approval requirement, receiving the required privilege for a defined period and then automatically losing that elevated access when the period ends.

This creates a smaller standing privilege footprint and provides better auditability around sensitive operations.

Continuous Trust Evaluation

Zero Trust requires more than a strong initial authentication event. The security decision should be capable of changing when the evidence changes.

A device can become non-compliant. A user can begin behaving abnormally. A session can access resources outside its normal pattern. A previously safe workload can become compromised.

Continuous evaluation allows those changes to influence subsequent access decisions.

This does not necessarily mean re-authenticating every user for every request. Instead, security systems can use available telemetry and policy signals to determine when additional verification, restriction or denial is appropriate.

Identity as the New Security Perimeter

The traditional network perimeter assumed that location provided useful evidence of trust. A user inside the corporate network was often treated differently from a user outside it.

Cloud services, remote work, SaaS platforms, APIs and distributed applications have weakened that assumption.

Identity therefore becomes a primary security boundary, but it should not be viewed in isolation. Network segmentation, endpoint security, application controls, encryption and cloud security mechanisms continue to provide important enforcement layers.

Zero Trust Principle

Network location can provide context, but it should not be treated as sufficient proof of trust. The security decision should be based on identity, authentication strength, context, resource sensitivity and current risk.

Policy Must Become Enforceable

An identity policy has little value if it exists only as a written rule. The decision must eventually reach an enforcement point.

Depending on the architecture, enforcement may occur at an identity provider, application, API gateway, proxy, cloud platform, network control, endpoint or privileged access system.

This creates an important architectural separation: the system evaluating identity and risk does not necessarily have to be the same system enforcing the final decision.

A policy engine may determine that a request should be restricted, while an application, API gateway or network control performs the actual enforcement.

Engineering Question
If a valid administrator identity requests access to a sensitive production API from a non-compliant device, should the policy engine allow the request simply because authentication succeeded?

Section 2 Summary

Authorization transforms identity into controlled permission. RBAC, ABAC and least privilege establish the baseline, while conditional access, risk-based authentication, step-up authentication and just-in-time privilege add context and adaptability.

Zero Trust extends this model by treating trust as something that must be continually evaluated rather than permanently granted. The next engineering challenge is to apply those identity decisions across real applications, APIs, cloud platforms and infrastructure.

SECTION 02 · ADAPTIVE ACCESS DECISION LAB

Investigate an Identity Access Decision

Inject identity and security events, inspect the evidence they create, then determine whether the correct response is to allow, step-up, restrict or deny access.

MONITORING
SCENARIO RUN
Normal employee access
A standard user is accessing a normal business application from an expected location using a managed device.
EVENT 01 / 06
Identity Event Injection
SELECT AN EVENT
Policy Decision
CAUSE → EVIDENCE → ACTION
ALLOW
Current identity state is within the normal policy boundary.
Why did the policy engine decide this?
Authentication is valid and the current identity, device and context signals are consistent with normal access.
Choose the security response
Evidence Signals
CURRENT IDENTITY CONTEXT
Identity
Standard User
VALID
Auth
MFA Verified
STRONG
Device
Managed / Healthy
TRUSTED
Context
Expected Location
NORMAL
Behaviour
Normal Activity
LOW RISK
Privilege
Standard Access
NORMAL
Investigation Console
1 EVENT
00:01
Identity session established from expected context.
INFO
Engineering Telemetry
DECISION GUIDANCE
Investigation Result

Normal access should remain low-friction.

Adaptive access should not challenge every request. The objective is to increase control when evidence indicates that trust has changed.

92
Illustrative
trust index

Identity Threat Detection & Response

SECTION 03 · IDENTITY ENFORCEMENT

Identity Enforcement Across Applications & Cloud

Turn identity and risk decisions into enforceable controls across applications, APIs, cloud platforms and infrastructure.

03
01 IDENTITY
02 TOKEN
03 POLICY
04 ENFORCE
05 APPLICATION
06 AUDIT
Engineering Question

Where does the identity decision actually become an enforceable security control?

You Will Learn

How tokens, APIs, identity-aware proxies, cloud IAM, service perimeters and network controls turn identity decisions into enforcement.

SECTION 03 · IDENTITY ENFORCEMENT
Identity Enforcement Across Applications & Cloud

Turning identity and risk decisions into enforceable controls across applications, APIs, cloud platforms and infrastructure.

Engineering Principle
An identity decision has little security value until it reaches an enforcement point capable of allowing, restricting or denying the requested action.

From Identity Decision to Enforcement

Section 2 established how identity, context and risk can be used to make an authorization decision. Section 3 moves that decision into the systems that actually control access.

Modern identity enforcement is distributed. An identity provider may authenticate the user, a policy engine may evaluate risk, an API gateway may enforce authorization, an application may enforce business permissions and a cloud platform may control access to infrastructure resources.

These components do not have to be implemented by the same product. The engineering objective is to make sure that the identity context and security decision can travel reliably to the point where access is actually enforced.

01
IDENTITY
02
AUTHENTICATE
03
TOKEN / CONTEXT
04
POLICY
05
ENFORCE
06
AUDIT

Identity-Aware Applications

Applications increasingly participate directly in identity enforcement. Instead of relying entirely on network location, applications can receive identity information and use it when making authorization decisions.

A web application may authenticate through an external identity provider and then receive a signed identity token containing claims associated with the authenticated identity.

The application can then evaluate those claims against its own authorization policy.

This creates an important separation between authentication and application authorization. The identity provider can establish who the user is, while the application determines what that user can actually do within the application.

JWT and API Authentication

JSON Web Tokens are commonly used to carry signed claims between identity systems, applications and APIs.

A typical API request may contain an access token in an Authorization header. The receiving service validates the token according to its configured trust model, including signature, issuer, audience and expiration requirements where applicable.

Successful token validation establishes that the request contains an acceptable credential. It does not automatically mean that the identity has permission to perform every operation exposed by the API.

401
Authentication is missing or cannot be accepted.
403
Identity is known but is not authorized for the action.
ALLOW
Authentication and authorization requirements are satisfied.
STEP-UP
Additional verification or security context is required.

Identity-Based Application Authorization

Application authorization should be designed around the actions that an identity needs to perform rather than simply around the existence of the identity.

For example, a user may be permitted to view an account but not modify it. An administrator may be permitted to restart a service but not retrieve stored secrets. A service identity may be permitted to read a database record but not execute administrative operations.

This provides a second layer of control after authentication and prevents a valid identity from becoming a universal application credential.

Identity-Aware Proxy

An identity-aware proxy can place authentication and contextual access controls in front of applications without requiring every application to independently implement the complete authentication experience.

Google Cloud Identity-Aware Proxy is an example of this model. It can use authenticated identity and contextual information to control access to supported applications and services.

This can be particularly useful when applications are exposed across cloud or hybrid environments and network location alone is not a sufficient access boundary.

Important Distinction

An identity-aware proxy does not eliminate application authorization. The proxy can control whether a request reaches the application, while the application still needs to enforce permissions for actions and resources inside the application.

Google Cloud IAM

Google Cloud IAM provides authorization controls for Google Cloud resources through identities, roles and permissions.

IAM supports predefined roles as well as custom roles, allowing organizations to align permissions with operational responsibilities.

The engineering challenge is to avoid treating IAM roles as a substitute for every other security control. IAM governs access to supported cloud resources, while applications, APIs, endpoints and network controls may require their own authorization and enforcement mechanisms.

Audit logging is also important because an authorization model needs evidence showing which identities performed sensitive operations and when those operations occurred.

VPC Service Controls

VPC Service Controls provide a different security function from Google Cloud IAM.

Service perimeters can help reduce the risk of data exfiltration from supported Google Cloud services by establishing boundaries around protected resources and controlling access paths across those boundaries.

This is particularly relevant when valid credentials have been compromised. IAM may determine that an identity has permission to perform an operation, while a service perimeter can provide an additional boundary around where protected service data may be accessed.

VPC Service Controls should therefore be understood as a complementary control rather than a replacement for IAM, application authorization or network firewalling.

Vault and Secrets-Based Identity

Secrets management becomes another part of identity security when applications and infrastructure require credentials to access protected services.

HashiCorp Vault provides authentication methods, policy-based authorization and secret-management capabilities that can be used to control how applications and users obtain access to sensitive credentials.

A strong design avoids embedding long-lived secrets directly into application source code or configuration wherever practical. Instead, applications authenticate to the secrets platform and receive only the credentials or secrets required for their permitted operation.

Cisco ISE and Identity-Based Network Enforcement

Identity security can also influence network access decisions. Cisco Identity Services Engine provides identity-based access control capabilities that can incorporate authentication, authorization, device profiling and other contextual information.

This allows network access policy to be associated with identity and device context rather than relying solely on an IP address or switch port.

For example, a corporate device belonging to an authorized user may receive a different access policy from an unknown device even when both devices connect through the same physical network.

Identity-Driven Traffic Decisions

Identity-aware security can extend beyond simple allow or deny decisions.

An identity can influence which application endpoint receives a request, which API functions are exposed, which network segment is accessible or which security controls are applied.

A useful example is an application that receives a validated identity containing a role claim. The application can route an administrator to privileged functionality while routing a standard user to a restricted service.

The important distinction is that the decision is based on authenticated identity and authorization context rather than simply on source IP address, VLAN or physical network location.

APPLICATION
Application Policy

Controls actions, resources and business functions available to an authenticated identity.

API
API Authorization

Validates credentials and applies permissions to individual APIs, operations and protected resources.

CLOUD
Cloud Authorization

Controls access to cloud resources through identity, roles, permissions and additional security boundaries.

NETWORK
Network Enforcement

Applies identity and device context to network access where supported by the architecture and enforcement platform.

Authentication, Authorization and Enforcement Are Different Layers

One of the most important engineering principles is to avoid treating authentication, authorization and enforcement as the same function.

Authentication answers: Who are you?

Authorization answers: What are you allowed to do?

Enforcement answers: Where and how is that decision applied?

A mature architecture can therefore use an identity provider for authentication, a policy engine for authorization decisions and multiple enforcement points across applications, APIs, cloud platforms and network infrastructure.

Engineering Question
A user presents a valid identity token to an API. The token is authentic, but the user does not have permission to perform the requested administrative operation. Where should that decision be enforced, and what should the API return?

Section 3 Summary

Identity security becomes operational when identity and policy decisions reach real enforcement points. Applications can enforce permissions, APIs can validate identity tokens, cloud IAM can control resource access, service perimeters can provide additional data protection boundaries, secrets platforms can control access to credentials and network platforms can incorporate identity and device context into access policy.

The architecture is therefore distributed. No single identity system has to perform every security function. The important requirement is that authentication, authorization, context and enforcement remain aligned.

The final section moves from enforcement to the question that becomes critical when prevention fails: How do we detect that an identity has been compromised, investigate what it has done and respond before the compromise spreads?

SECTION 03 · IDENTITY ENFORCEMENT LAB

Identity-Aware Application Lab

Follow an authenticated identity from the identity provider through token validation, policy evaluation and application enforcement. The objective is to understand exactly where authentication ends and authorization begins.
READY · AWAITING REQUEST
Current Request
Valid User Token
A normal authenticated user requests a protected API resource.
Engineering Principle
Identity decisions must reach an enforcement point.
Authentication proves identity. Authorization determines permission. The application or policy enforcement point must enforce the result.
Identity Enforcement Path
STAGE 01 / 06
C
CLIENT
request
→
ID
IDENTITY
PROVIDER
identity
→
TK
TOKEN
claims
→
P
POLICY
ENGINE
decision
→
API
API
enforcement
→
DB
BACKEND
resource
Live Request Context
Identity
alex.user
Application
payments-api
Resource
/v1/payments
Method
GET
Policy Decision
LIVE
Current Result
ALLOW
Identity authenticated and required role is present.
HTTP 200 · ALLOWED
Token Claims
INSPECT
SUB
alex.user
ROLE
payments-reader
ISS
identity.example
STATE
VALID
Evidence
SIGNALS
Identity
VERIFIED
Signature
VALID
Role
PRESENT
Risk
NORMAL
Request Scenarios
SELECT A CASE
Enforcement Event Console
LIVE TRACE
Engineering Telemetry
RUNTIME
Stage
01 / 06
AuthN
VERIFIED
AuthZ
ALLOW
Enforcement
API
Response
200

Identity Threat Detection & Response

SECTION 04 · IDENTITY THREAT DETECTION & RESPONSE

Identity Threat Detection & Response

Detect compromised identities, correlate behavioural evidence and respond before stolen access becomes privilege escalation, lateral movement or persistent compromise.

04
01 OBSERVE
02 CORRELATE
03 INVESTIGATE
04 CONTAIN
05 REVOKE
06 RECOVER
Engineering Question

What evidence is strong enough to treat an identity as compromised?

You Will Learn

How identity telemetry, behavioural analysis, token activity and lateral-movement evidence drive investigation and response.

SECTION 04 · IDENTITY THREAT DETECTION & RESPONSE
Identity Threat Detection & Response

Detecting compromised identities, correlating behaviour and responding before stolen access becomes lateral movement, privilege escalation or persistent compromise.

Engineering Principle
Identity security cannot depend entirely on prevention. Assume that credentials, sessions or tokens can eventually be compromised, then design the architecture to detect abnormal identity behaviour and respond quickly.

Identity Security Does Not End at Authentication

Strong authentication reduces the probability of unauthorized access, but it cannot guarantee that an identity will never be compromised.

Credentials can be stolen. Sessions can be hijacked. Access tokens can be exposed. Users can approve malicious requests. Privileged identities can be abused by legitimate users or attackers operating through compromised systems.

This changes the engineering objective. Identity security must detect not only failed authentication but also suspicious behaviour occurring after authentication succeeds.

01
OBSERVE
02
CORRELATE
03
ASSESS RISK
04
INVESTIGATE
05
CONTAIN
06
REVOKE
07
RECOVER
08
VERIFY

Identity Threats

Modern identity attacks extend far beyond password guessing. Attackers increasingly target the authentication process, tokens, sessions, authorization relationships and trusted integrations.

CREDENTIAL
Credential Theft

Stolen usernames, passwords or credentials can allow attackers to authenticate as legitimate users.

AUTHENTICATION
MFA Fatigue

Repeated authentication prompts can be abused to pressure a user into approving an unexpected request.

TOKEN
Token Theft

A stolen access token or session credential can potentially allow access without repeating the original login process.

PRIVILEGE
Privilege Escalation

Attackers may attempt to obtain additional permissions after compromising an initial identity.

OAUTH
Malicious Integrations

Excessive or malicious application permissions can create an alternative route into protected data and services.

SESSION
Session Abuse

A compromised session may behave differently from the normal activity associated with the legitimate identity.

Identity Behaviour Analytics

Detecting identity compromise requires more than counting failed logins. Security teams need to understand what identities normally do and identify meaningful deviations from that behaviour.

Useful signals can include authentication patterns, device changes, resource access, privileged operations, application usage, token activity, API calls and unusual geographic or environmental context.

A single unusual event may not indicate compromise. Several related signals occurring together can provide much stronger evidence.

Identity Telemetry

Identity security therefore depends on collecting telemetry from multiple layers of the environment.

AUTHENTICATION
Login and MFA Events

Successful and failed authentication, MFA challenges, authentication method and session establishment.

DEVICE
Device and Posture

Device identity, compliance state, operating system and other available endpoint security context.

APPLICATION
Application Activity

Resource access, administrative actions, sensitive operations and application-level authorization events.

API
API and Token Activity

API calls, token use, authorization failures and unusual access patterns across protected services.

CLOUD
Cloud Audit Events

Administrative changes, resource access and identity activity recorded by cloud platforms.

NETWORK
Network Context

Connection patterns, destination changes and network activity that can provide additional evidence during investigation.

Detecting a Compromised Identity

Consider an administrator identity that normally authenticates during business hours from a managed workstation and accesses a small set of infrastructure systems.

The identity suddenly authenticates from an unfamiliar device, generates repeated MFA activity, accesses a new cloud application, attempts a privileged operation and then begins accessing systems that are outside its normal administrative scope.

No single event necessarily proves compromise. Together, however, the signals form a much stronger risk pattern.

Investigation Principle

Security analytics should correlate identity, device, application, cloud and network evidence rather than treating every security event as an isolated alert.

Identity-Based Lateral Movement

Once an attacker obtains a valid identity, the next objective may be to use legitimate access to reach additional systems.

This is why identity security and network segmentation should work together. Identity policy can restrict what the user or service is authorized to access, while network and workload controls can reduce the available paths between systems.

A compromised developer identity should not automatically provide unrestricted access to production systems. Likewise, a compromised service identity should not automatically be able to communicate with every workload in the environment.

Privileged Identity Monitoring

Privileged identities require particular attention because the consequences of compromise can be significantly greater.

Monitoring should focus on privileged authentication, elevation events, administrative changes, sensitive resource access and unusual behaviour associated with administrative sessions.

Just-in-time access, strong authentication, session monitoring and detailed audit trails can reduce both the likelihood and impact of privileged identity abuse.

Identity Threat Detection and Response

Identity Threat Detection and Response, often abbreviated as ITDR, describes the security practices and technologies used to identify and respond to threats involving identities and identity systems.

ITDR should not be treated as a replacement for SIEM, SOAR, EDR or network security. Instead, it complements those capabilities by providing identity-specific evidence and response actions.

A mature architecture can correlate identity events with endpoint, application, cloud and network telemetry to build a broader view of an incident.

SIEM, SOAR and XDR Integration

Identity telemetry can feed security operations platforms where it can be correlated with other security events.

A SIEM can centralize and correlate security logs. SOAR can orchestrate defined response workflows. XDR platforms can combine signals from multiple security domains.

The important architectural principle is correlation. An unusual identity event becomes more valuable when it can be associated with a suspicious endpoint event, an abnormal API request or unexpected access to a sensitive resource.

Responding to Identity Compromise

Response should be proportional to the evidence and the potential impact of the activity.

MONITOR
Continue observation when evidence is weak or ambiguous.
RE-AUTHENTICATE
Require stronger identity verification.
REVOKE TOKEN
Invalidate exposed or suspicious session credentials.
DISABLE IDENTITY
Prevent further authentication when compromise is sufficiently established.
ISOLATE
Restrict affected endpoints or workloads to contain impact.

Automated Response

Some identity responses can be automated when the evidence and response conditions are well understood.

Examples include revoking a session, requiring re-authentication, removing temporary privilege, disabling an account or triggering endpoint isolation.

Automation should be carefully designed because an incorrect security decision can disrupt legitimate users or critical services.

High-impact actions should therefore have clear conditions, appropriate confidence thresholds, auditability and recovery procedures.

Recovering a Compromised Identity

Containment is not the end of an identity incident. Recovery must establish confidence that the attacker no longer has usable access.

Recovery may include credential reset, token and session revocation, removal of unauthorized applications or permissions, review of privileged access, endpoint remediation and investigation of resources accessed during the compromise.

The organization should also determine how the compromise occurred and whether the same weakness exists elsewhere.

Identity Security and Resilience

Identity security should ultimately be part of the organization's resilience strategy.

Critical identities, authentication systems, privileged access paths and recovery mechanisms must remain available during an incident.

Backup authentication mechanisms, emergency access procedures, recovery accounts and documented incident workflows should therefore be tested rather than simply documented.

Putting the Identity Security Model Together

The four sections of this guide form a continuous engineering model.

First, the organization establishes trustworthy identities and strong authentication. Next, authorization and context determine what those identities should be allowed to access. Enforcement points apply those decisions across applications, APIs, cloud and infrastructure.

Finally, telemetry and behavioural analysis determine whether the identity continues to behave consistently with the expected security model.

Identity Security Engineering Model
IDENTIFY → AUTHENTICATE → CONTEXTUALISE → ASSESS RISK → AUTHORISE → ENFORCE → MONITOR → RESPOND
Final Engineering Question
If an identity was trusted yesterday but its behaviour changes today, should the security system continue trusting the identity simply because the original authentication was valid?

Section 4 Summary

Identity security must assume that prevention can eventually fail. Compromised credentials, tokens and sessions require continuous monitoring, behavioural analysis and coordinated response.

The strongest architecture connects identity telemetry with endpoint, application, cloud and network evidence. This allows security teams to detect abnormal behaviour, investigate the identity's activity, contain the compromise and restore trust.

The result is a security model in which identity is not simply a login mechanism. It becomes a continuously evaluated control signal that influences access, enforcement, detection and response.

SECTION 04 · IDENTITY INCIDENT LAB

Compromised Identity Investigation

Investigate a suspicious identity by correlating authentication, device, privilege, token, application and lateral-movement evidence. Build the incident picture before selecting the containment response.
INVESTIGATION OPEN · EVIDENCE COLLECTION
Incident
Suspicious administrative identity
Identity admin.ops normally operates from a known corporate environment. A sequence of unusual authentication, privilege and application events has been detected.
Current Risk
ELEVATED
2 correlated indicators
Investigation Timeline
01 / 06
01
Unusual Login
Administrative identity authenticates from an unfamiliar location and device.
PENDING
02
MFA Anomaly
Multiple authentication challenges are generated in a short period.
PENDING
03
Privilege Escalation
The identity requests or receives access beyond its normal operating pattern.
PENDING
04
OAuth / Token Activity
An unfamiliar application or token begins using the identity.
PENDING
05
Unexpected Application Access
The identity reaches applications outside its normal behavioural profile.
PENDING
06
Lateral Movement
Identity activity begins touching additional systems or privileged resources.
PENDING
Evidence Inspector
SELECTED EVENT
Identity
admin.ops
Source
unfamiliar-device
Signal
anomalous authentication
Severity
HIGH
Correlation
identity + device
Investigation Score
LAB SIGNAL
Compromise Confidence
58
Illustrative investigation score — not a production risk formula
Identity Investigation Console
CORRELATED EVENTS
Select Response
CONTAINMENT DECISION
INVESTIGATION COMPLETE
Response validated.
```
☕
Support Network Insight
Help support independent engineering guides, interactive networking tools, and future learning labs.
Support Network Insight ```
data center firewall

Cisco Secure Firewall with SASE Cloud

Cisco Secure Firewall with SASE Cloud

In today's digital era, network security is of paramount importance. With the rise of cloud-based services and remote work, businesses require a comprehensive security solution that not only protects their network but also ensures scalability and flexibility. Cisco Secure Firewall with SASE (Secure Access Service Edge) Cloud is a cutting-edge solution that combines the robustness of firewall protection with the agility of cloud-based security services. In this blog post, we will delve into the features and benefits of Cisco Secure Firewall with SASE Cloud.

Cisco Secure Firewall is an advanced network security solution designed to safeguard organizations from cyber threats. Built on industry-leading technology, it provides next-generation firewall capabilities, intrusion prevention, and application control. With granular security policies, deep visibility, and advanced threat intelligence, Cisco Secure Firewall empowers businesses to protect their networks from internal and external threats effectively.

SASE (Secure Access Service Edge) is a transformative approach to network security and connectivity. By converging networking and security functions into a unified cloud-based service, SASE offers organizations scalable and flexible security solutions. Cisco Secure Firewall with SASE Cloud takes advantage of this architecture, providing businesses with integrated security services that are delivered from the cloud. This enables seamless scalability, simplified management, and enhanced protection against evolving threats.

Cloud-Native Firewall: Cisco Secure Firewall with SASE Cloud leverages the power of cloud-native architecture, enabling organizations to easily scale their security infrastructure based on demand. It ensures consistent security policies across various locations and eliminates the need for hardware-based firewalls.

Advanced Threat Protection: With integrated threat intelligence and advanced analytics, Cisco Secure Firewall with SASE Cloud offers robust protection against sophisticated threats. It provides real-time threat detection and prevention, ensuring that businesses stay one step ahead of cybercriminals.

Simplified Management: The centralized management console allows organizations to effortlessly manage their security policies and configurations. From a single interface, administrators can efficiently deploy and enforce security policies, reducing complexity and enhancing operational efficiency.

As organizations continue to embrace digital transformation, the network landscape is constantly evolving. Cisco Secure Firewall with SASE Cloud future-proofs your network by providing a scalable and adaptable security solution. Its cloud-native architecture and integration with SASE enable businesses to stay agile and easily adapt to changing security requirements, ensuring long-term protection and resilience.

Highlights: Cisco Secure Firewall with SASE Cloud

Understanding the Cisco Secure Firewall

Cisco Secure Firewall is a cutting-edge network security appliance that provides advanced threat protection, secure connectivity, and simplified management. It combines next-generation firewall capabilities with intrusion prevention, application visibility and control, and advanced malware protection. With its comprehensive suite of security features, it offers a multi-layered defense against a wide range of cyber threats.

Key Cisco Secure Firewall Features:

– Advanced Threat Protection: The Cisco Secure Firewall employs advanced intelligence to detect and prevent sophisticated attacks, including malware, ransomware, and zero-day exploits. Its integrated security technologies work in tandem to identify and mitigate threats in real-time, ensuring your network infrastructure’s highest level of protection.

– Secure Connectivity: The Cisco Secure Firewall enables secure remote access and site-to-site connectivity with built-in VPN capabilities. It establishes encrypted tunnels, allowing authorized users to access network resources from anywhere while ensuring data confidentiality and integrity.

– Application Visibility and Control: Gaining visibility into network traffic and effectively managing application usage is crucial for optimizing network performance and ensuring security. The Cisco Secure Firewall offers granular application control, allowing administrators to define policies and prioritize critical applications while restricting or blocking unauthorized ones.

**Broken Firewall Rules**

One-third of your firewall rules are broken. You can use the Cisco AI Assistant for Security to identify and report policies, augment troubleshooting, and automate policy lifecycle management with the Cisco AI Assistant for Security. Also, take back control of your encrypted traffic and application environments. Cisco Talos lets you see and detect more across your infrastructure while ensuring security resilience across billions of signals.

**Advanced Clustering & HA**

This enabled you to drive efficiency at scale. Secure Firewall’s advanced clustering, high availability, and multi-instance capabilities allow you to scale, be reliable, and be productive. Finally, by integrating network, microsegmentation, and app security, Secure Firewall makes zero-trust achievable and cost-effective. It automates access and anticipates what comes next.

Knowledge Check: Cisco’s Firewalling

Cisco integrated its original Sourcefire’s next-generation security technologies into its existing firewall solutions, the Adaptive Security Appliances (ASA). In that early implementation, Sourcefire technologies ran as a separate service module. Later, Cisco designed new hardware platforms to support Sourcefire technologies natively.

They are named Cisco Firepower, later rebranded as Cisco Secure Firewall, which is the current implementation of Firewalling. In the new implementation, Cisco converges Sourcefire’s next-generation security features, open-source Snort, and ASA’s firewall functionalities into a unified software image. This unified software is called the Firepower Threat Defense (FTD). After rebranding, this software is now known as the Cisco Secure Firewall.

Example Security Technology: IPS IDS

Understanding Suricata

Suricata is an open-source network threat detection engine that offers high-performance intrusion detection and prevention capabilities. Built with speed, scalability, and robustness, Suricata analyzes network traffic and detects various threats, including malware, exploits, and suspicious activities. Its multi-threaded architecture and rule-based detection mechanism make it a formidable weapon against cyber threats.

Suricata boasts an impressive array of features that elevate its effectiveness in network security. Suricata covers various security needs, from protocol analysis and content inspection to file extraction and SSL/TLS decryption. Its extensive rule set allows for fine-grained control over network traffic, enabling tailored threat detection and prevention. Additionally, Suricata supports various output formats, making it compatible with other security tools and SIEM solutions.

Understanding SASE Cloud

Cisco SASE Cloud, short for Secure Access Service Edge Cloud, is a comprehensive networking and security platform that combines wide area networking (WAN) capabilities with robust security features. It offers a unified solution for remote access, branch connectivity, and cloud security, all delivered from the cloud. This convergence of networking and security into a single cloud-native platform allows organizations to simplify their infrastructure, reduce costs, and enhance agility.

SASE Cloud Key Points:

Enhanced Security: One of Cisco SASE Cloud’s standout features is its advanced security capabilities. By leveraging a combination of next-generation firewalls, secure web gateways, data loss prevention, and other security services, it provides comprehensive protection against cyber threats. With SASE Cloud, organizations can ensure secure access to applications and data from anywhere, anytime, without compromising security.

Scalability and Flexibility: Cisco SASE Cloud offers unmatched scalability and flexibility. As an organization grows, SASE Cloud can quickly adapt to evolving needs. Whether it’s adding new branches, onboarding remote employees, or expanding into new markets, the cloud-native architecture of SASE Cloud enables seamless scalability without the need for extensive infrastructure investments.

Simplified Management: Managing complex networking and security infrastructure can be daunting for IT teams. However, Cisco SASE Cloud simplifies this process by centralizing management and providing a single pane of glass for visibility and control. This streamlined approach allows IT teams to monitor and manage network traffic efficiently, apply security policies, and troubleshoot issues, improving operational efficiency.

Secure Access Anywhere & Anytime

Converged Networking and Security: Cisco SASE combines networking and security functions, such as secure web gateways, firewalls, and data loss prevention, into a single solution. This convergence eliminates the need for multiple standalone appliances, reducing complexity and improving operational efficiency.

Cloud-Native Architecture: Built on a cloud-native architecture, Cisco SASE leverages the scalability and flexibility of the cloud. This enables organizations to dynamically adapt to changing network demands, scale their resources as needed, and integrate new security services without significant infrastructure investments.

Enhanced User Experience and Security: With Cisco SASE, users can enjoy a seamless and secure experience regardless of location or device. Cisco SASE protects users and data from threats through its integrated security capabilities, including zero-trust network access and secure web gateways, ensuring a safe and productive digital environment.

Related: For additional pre-information, you may find the following helpful:

  1. SD WAN SASE
  2. SASE Model
  3. Zero Trust SASE
  4. SASE Solution
  5. Distributed Firewalls
  6. SASE Definition

Evolution of the Network Security

In the past, network security was typically delivered from the network using the Firewall. However, these times, network security extends well beyond just firewalling. We now have different points in the infrastructure that we can use to expand our security posture while reducing the attack surface.

You would have commonly heard of Cisco Umbrella Firewall and SASE, along with Cisco Secure Workload security, which can be used with your Cisco Secure firewall, which is still deployed at the network’s edge. Unfortunately, you can’t send everything to the SASE cloud.

You will still need an on-premise firewall, such as the Cisco Secure Firewall, that can perform standard stateful filtering, intrusion detection, and threat protection. This post will examine the Cisco Secure Firewall and its integration with Cisco Umbrella via the SASE Cloud. Firstly, let us address some basics of firewalling.

A. Redesigning Traditional Security:
Let’s examine the evolution of network security before we get into some inbound and outbound traffic use cases. Traditionally, the Firewall was placed at the network edge, acting as a control point for the network’s ingress/egress point. The Firewall was responsible for validating communications with rule sets and policies created and enforced at this single point of control to ensure that desired traffic was allowed into and out of the network and undesirable traffic was prevented. This type of design was known as the traditional perimeter approach to security.

B: Numerous Firewalling challenges:
Today, branch office locations, remote employees, and increasing use of cloud services drive more data away from the traditional “perimeter,” The cloud-first approach completely bypasses the conventional security control point.
Further, the overwhelming majority of business locations and users also require direct access to the Internet, where an increasing prevalence of cloud-based critical applications and data now lives. As a result, applications and data become further de-centralized, and networks become more diverse.

C: Conventional Appliance Sprawl:
This evolution of network architectures has dramatically increased our attack surfaces and did the job of protecting more complicated ones. So, we started to answer this challenge with point solutions. Typically, organizations have attempted to address these challenges by adding the "best" point security solution to address each new problem as it emerges. 

Because of this approach, we have seen tremendous device sprawl. Multiple security products from different vendors can pose significant management problems for network security teams, eventually leading to complexity and blind spots.

Consequently, our "traditional" firewall devices are being augmented by a mixture of physical and virtual appliances—some are embedded into the network. In contrast, others are delivered as a service, host-based, or included within public cloud environments. Regardless of the design, you will stall inbound and outbound traffic to protect.

**Basics of Firewalling**

A firewall is an entity or obstacle deployed between two structures to prevent fire from spreading from one system to another. This term has been taken into computer networking, where a firewall is a software or hardware device that enables you to filter unwanted traffic and restrict access from one network to another. The Firewall is a vital network security component in securing network infrastructure and can take many forms. For example, we can have a host-based or network-based Firewall.

Firewall types
Diagram: Firewall types. Source is IPwithease

Firewalling Types:

A. Host-based Firewall

A host-based firewall service is installed locally on a computer system. In this case, the end user’s computer system takes the final action—to permit or deny traffic. Every operating system has some Firewall. It consumes the resources of a local computer to run the firewall services, which can impact the other applications running on that particular computer. Furthermore, in a host-based firewall architecture, traffic traverses all the network components and can consume the underlying network resources until the traffic reaches its target.

B. Network-based Firewall

On the other hand, a network-based firewall can be entirely transparent to an end user and is not installed on the computer system. Typically, you deploy it in a perimeter network or at the Internet edge where you want to prevent unwanted traffic from entering your network. The end-user computer system remains unaware of any traffic control by an intermediate device performing the filtering. In a network-based firewall deployment, you do not need to install additional software or daemon on the end-user computer systems. However, it would help if you used both firewall types for a defense-in-depth approach.

The early generation of firewalls could allow or block packets only based on their static elements, such as a packet’s source address, destination address, source port, destination port, and protocol information. These elements are also known as the 5-tuple.

Example Technology Cisco Packet Filter

### Implementing Packet Filtering in Your Network

To effectively implement packet filtering, it’s crucial to have a clear understanding of your network architecture and traffic patterns. Begin by identifying the critical assets that need protection and the types of traffic that should be allowed. Develop a detailed access list, considering both inbound and outbound traffic.

C. Stateless Firewalling

When an early-generation firewall examined a particular packet, it was unaware of any prior packets that passed through it because it was agnostic of the Transmission Control Protocol (TCP) states that would have signaled this. Due to the nature of its operation, this type of Firewall is called a stateless firewall.

A stateless firewall is unable to distinguish the state of a particular packet. So, for example, it could not determine if a packet is part of an existing connection, trying to establish a legitimate new connection, or whether it is a manipulated, rogue packet. We then moved to a stateful inspection firewall and an application-aware form of next-generation firewalling.

D. Stateful Firewaling

The stateful inspection examines the TCP and UDP port numbers, while an application-aware firewall examines Layer 7. So now we are at a stage where the Firewall does some of everything, such as the Cisco Secure Firewall.

CBAC Firewall CBAC Firewall

**Firewalling Use Cases**

1.Inbound Use case

The Firewall picks up every packet, looks at different fields, examines for signatures that could signal an attack is in process, and then re-packs and sends the packet out its interfaces. Still, the technique is relevant. It tracks inbound traffic to tell if someone outside or inside is accessing the private applications you want to keep secure. So, looking at every packet is still relevant for the inbound traffic use case. 

While everything is encrypted these days, you need to decrypt traffic to gain security value. Deep Packet Inspection (DPI) is still very relevant for inbound traffic. So, we will continue to decrypt inbound traffic for complete application threat protection with the hope of minimal functional impact.

Example Technology: Sensitive Data Protection with Google Cloud

Sensitive data protection

2.Outbound Use Case

Then, we need to look at outbound traffic. Here, things have changed considerably. Some users need to catch up to a firewall and then go to applications hosted outside the protection of your on-premise security stack and network. These are applications in the cloud, such as SaaS applications, that do not like when the network devices in the middle interfere with the traffic.

Therefore, applications such as Office365 make an effort with their design to reduce the chances of the potential of any network and security device from peeking into their traffic. For example, you could have mutual certificate authentication with the service in the cloud. So, there are a couple of options here besides the traditional DPI use case for inbound traffic use case.

**Improving Security: Understanding the network**

Understanding Network Scanning

Network scanning involves exploring computer networks to gather information about connected devices, open ports, and system vulnerabilities. Cybersecurity professionals gain valuable insights into the network’s architecture, potential entry points, and security risks by utilizing various scanning techniques and tools.

There are different types of network scans, each serving a specific purpose. Port scans identify open ports and services running on them, while vulnerability scans aim to pinpoint weaknesses within network devices, applications, or configurations. Additionally, network mapping scans visually represent the network’s structure, aiding in better understanding and management.

Example: Cisco Secure Firewall 3100

Cisco has the Cisco Secure Firewall 3100, a mid-range model that can be an Adaptive Security Appliance (ASA) for standard stateful firewall inspection or Firewall Threat Defense (FTD) software.

So it can perform one or the other. It also has clustering, a multi-instance firewall, and high availability, which we will discuss. In addition, the Cisco Series Firewall throughput range addresses use cases from the Internet edge to the data center and private cloud.

Cisco Secure Firewall 3100 is an advanced next-generation firewall that provides comprehensive security and high performance for businesses of all sizes. Its advanced security features can protect an organization’s most critical assets, from data, applications, and users to the network infrastructure. Cisco Secure Firewall 3100 offers an integrated threat defense system that combines intrusion prevention, application control, and advanced malware protection. This firewall is designed to detect and block malicious traffic and protect your network from known and unknown threats.

Secure Firewall
Diagram: Cisco Secure Firewall. The source is Cisco.

Adaptive Security Appliance (ASA) and Firewall Threat Defense (FTD)

The platforms can be deployed in Firewall (ASA) and dedicated IPS (FTD) modes. In addition, the 3100 series supports Q-in-Q (stacked VLAN) up to two 802.1Q headers in a packet for inline sets and passive interfaces. The platform also supports FTW (fail-to-wire) network modules.

Remember that you cannot mix and match ASA and FTD modes. However, you can make FTD operate similarly to the ASA. For example, the heart of the Cisco Secure Firewall is Snort, one of the most popular open-source intrusion detection and prevention systems capable of real-time traffic inspection. 

**IPS Engine – Snort**

What’s powerful about the Cisco Secure Firewall is its high decryption performance due to the Crypto Engine. The Firewall has an architecture built around decrypting traffic and has impressive performance. In addition, you can tune your CPU cores to perform more traditional ASA functionality, such as termination IPsec and some stateful firewall inspection.

In such a scenario, we have an IPS engine ( based on Snort ) but give it only 10%. We can provide 90% of the data plane to traditional firewalling in this case. So, a VPN headend or basic stateful Firewall would use more data plane cores.

On the other hand, any heavy IPS and file inspection would be biased toward more “Snort” Cores. Snort provides the IPS engine to tailor the performance profiles to your liking. We have configurable CPU Core allocation, which can be set statically, not dynamically.

Secure Firewalling Features:

1.Secure Firewall Feature: Clustering

Your Secure Firewall deployment can also expand as your organization grows to support its network growth. You do not need to replace your existing devices for additional horsepower; you can add threat defense devices to your current deployment and group them into a single logical cluster to support additional throughput. 

A clustered logical device offers higher performance, scalability, and resiliency simultaneously. You can create a cluster between multiple chassis or numerous security modules of the same chassis. When a cluster is built with various independent chassis, it is called inter-chassis clustering.

2.Secure Firewall Feature: Multi-Instance

The Secure Firewall offers multi-instance capability powered by Docker container technology. It enables you to create and run multiple application instances using a small subset of a chassis’s hardware resources. You can independently manage the threat defense application instances as separate threat defense devices. Multi-instance capability enables you to isolate many critical elements.

3.Secure Firewall Feature: High Availability

In a high-availability architecture, one device operates actively while the other stays on standby. A standby device does not actively process traffic or security events. For example, suppose a failure is detected in the active device, or there’s any discontinuation of keepalive messages from the active device.

In that case, the standby device takes over the role of the active device and starts operating actively to maintain continuity in firewall operations. An active device periodically sends keepalive messages and replicates its configurations to a standby device. Therefore, the communication channel between the peers of a high-availability pair must be robust and with much less latency. 

Exploring SASE Cloud

One way to examine SaaS-based applications and introduce some cloud security is by using Cisco Umbrella with the SASE Cloud. The SASE Cloud can also have a cloud access security broker known as Cloudlock. The Cisco Umbrella CASB  is like a broker that hooks into the application’s backend to determine users’ actions. It does this by asking for the service via an Application Programming Interface (API) call and not by DPI.

Cisco Umbrella
Diagram: Cisco Umbrella. Source is Cisco

Cisco Cloudlock is part of the SASE cloud that provides a cloud-native cloud access security broker (CASB) that protects your cloud users, data, and apps. Cloud lock’s simple, open, and automated approach uses APIs to manage the risks in your cloud app ecosystem. With Cloudlock, you can more quickly combat data breaches while meeting compliance regulations.

Cisco Umbrella also has a firewall known as the Cisco Umbrella Firewall. We can take the Cisco Umbrella Firewall to improve its policy decision using information gleaned from the CASB. In addition, we map network flows to a specific user action via cloud applications and CASB solutions. So this is one area you can look into.

Extending the Firewall with SASE Cloud

Cisco Umbrella Firewall:

The SASE Cloud with Cisco Umbrella firewall is a good solution that can be combined with the on-premise Firewall. So, if you have FDT at the edge of your network, why would you need to introduce a Cisco Umbrella Firewall or any other SASE technologies? Or if you have a SASE cloud with a Cisco Umbrella, why would you need FDT?

First, it makes sense to process specific traffic locally. However, the two categories of traffic that Cisco Umbrella excels in beyond any firewall are DNS and CASB. Your edge firewall is less effective against some outbound traffic, such as dynamically changing DNS and undecryptable TLS connections. DNS is Cisco Umbrella’s bread and butter.

DNS Request Proceed The IP Connection

Knowledge Check: Cisco DNS-layer security.

DNS requests precede the IP connection, enabling DNS resolvers to log requested domains over any port or protocol for all network devices, office locations, and roaming users. As a result, you can monitor DNS requests and subsequent IP connections to improve the accuracy and detection of compromised systems, security visibility, and network protection. 

You can also block requests to malicious destinations before a connection is even established, thus stopping threats before they reach your network or endpoints. Cisco Umbrella under the hood can clean your DNS traffic and stop the attacks before they get to any malicious connection. 

SASE Cloud: Cisco Umbrella CASB.

Also, you can not decrypt SaaS-based applications and CASB on the edge firewall. The Firewall can’t detect if the user is carrying out any data exfiltration.

With SASE cloud, Cisco Umbrella, and its integrated CASB offering, we get better visibility in this type of traffic and apply a risk category to certain kinds of activity. So now we have an excellent combination. The cloud security stack does what it does best: processing cycles away from the Firewall.

**Cisco Umbrella Integration**

With the Cisco Secure Firewall, they have nice DNS redirection to the Cisco Umbrella Firewall. The on-premise Firewall communicates API to Cisco Umbrella and pulls in the existing DNS policy so the Umbrella DNS policies can be used with the current firewalling policies.  Recently, Cisco has gone one step further, and you can have a SIG tunnel between the Cisco Secure Firewall Management Center (FMC) and the Cisco Umbrella.

So there is a tunnel and have per tunnel IKE ID and bundle multiple tunnels to Umbrella.  Now, we can have load balance across multi-spoke tunnels with per-tunnel custom IKE ID. Once set up, we can have certain kinds of traffic going down each tunnel.

**Endpoint controls**

Then, we have the endpoint, such as your desktop computer or phone. We can collect a wealth of information about each network connection. This information can be fed into the Firewall via metadata. So you can provide both the Cisco Umbrella Firewall and the Cisco Secure Firewall. Again, for improved policy.

The Firewall, either the Cisco Secure Firewall or the Cisco Umbrella Firewall, does not need to decrypt any traffic. Instead, we can get client context discovery via passive fingerprinting using an agent on the endpoint. We can get a wealth of attributes you can’t get with DPI. So we can move from DPI to everything and augment that with all other components to get better visibility.

Summary: Cisco Secure Firewall with SASE Cloud

In today’s rapidly evolving digital landscape, organizations face the challenge of ensuring robust security while embracing the benefits of cloud-based solutions. Cisco Secure Firewall with SASE (Secure Access Service Edge) Cloud offers a comprehensive and streamlined approach to address these concerns. This blog post delved into the features and benefits of this powerful combination, highlighting its ability to enhance security, simplify network management, and optimize performance.

Understanding Cisco Secure Firewall

Cisco Secure Firewall serves as the first line of defense against cyber threats. Its advanced threat detection capabilities and deep visibility into network traffic provide proactive protection for organizations of all sizes. Cisco Secure Firewall ensures a secure network environment by preventing unauthorized access, blocking malicious content, or detecting and mitigating advanced threats.

Introducing SASE Cloud

On the other hand, SASE Cloud revolutionizes how organizations approach network and security services. SASE Cloud offers a scalable and agile solution by converging network functions and security services into a unified cloud-native platform. It combines features such as secure web gateways, data loss prevention, firewall-as-a-service, and more, all delivered from the cloud. This eliminates the need for costly on-premises infrastructure and allows businesses to scale their network and security requirements effortlessly.

The Power of Integration

When Cisco Secure Firewall integrates with SASE Cloud, it creates a formidable combination that enhances security posture while delivering optimal performance. The integration allows organizations to extend their security policies seamlessly across the entire network infrastructure, including remote locations and cloud environments. This unified approach ensures consistent security enforcement, reducing potential vulnerabilities and simplifying management overhead.

Simplified Network Management

One of the key advantages of Cisco Secure Firewall with SASE Cloud is its centralized management and control. Administrators can easily configure and enforce security policies, monitor network traffic, and gain valuable insights through a single glass pane of glass. This simplifies network management, reduces complexity, and enhances operational efficiency, enabling IT teams to focus on strategic initiatives rather than mundane tasks.

Conclusion

In conclusion, the combination of Cisco Secure Firewall with SASE Cloud provides organizations with a robust and scalable security solution that meets the demands of modern networks. By integrating advanced threat detection, cloud-native architecture, and centralized management, this potent duo empowers businesses to navigate the digital landscape confidently. Experience the benefits of enhanced security, simplified management, and optimized performance by adopting Cisco Secure Firewall with SASE Cloud.