Kahibaro
Discord Login Register

22.3 Data Center Networks

Role of Data Center Networks

Data center networks connect large numbers of servers, storage systems, and network services inside a facility that hosts applications and data. Unlike a small office or branch network, a data center focuses on moving very large amounts of traffic between machines that sit close to each other, often within the same building or campus. Most of this traffic is server to server, not user to internet.

In a data center, the network must deliver very high bandwidth, predictable low latency, and high reliability. These requirements support virtual machines, containers, databases, and storage systems that together form cloud services and enterprise applications. The design of a data center network is therefore driven less by user desks or floors, and more by racks, rows, and clusters of compute and storage.

East–West vs North–South Traffic

A key idea that separates data center networks from typical enterprise campus networks is the traffic pattern. Traffic between users and servers is called north–south traffic. Traffic between servers inside the data center is called east–west traffic.

In modern applications, especially microservices and distributed databases, east–west traffic dominates. Numerous small flows pass between application tiers, cache servers, and storage systems. The network must therefore make it easy for any server to talk efficiently to any other server, not just to connect servers to the outside world.

In data center design, supporting high east–west traffic with low latency and high bandwidth is a primary goal.

This focus on east–west flows influences the choice of topology, oversubscription ratios, and where network services such as firewalls or load balancers are placed.

Layer 2 vs Layer 3 in the Data Center

Within data centers, both Layer 2 and Layer 3 designs are used. Layer 2 provides a single broadcast domain or multiple VLANs where devices share link layer connectivity. Layer 3 uses IP subnets and routing between them.

Traditional designs extended Layer 2 domains across large parts of the data center so that servers could move between racks without changing IP addresses. This was convenient for virtualization and live migration. However, large Layer 2 domains can create challenges with broadcast traffic, spanning tree complexity, and fault domains.

Modern designs typically reduce the size of Layer 2 domains and rely more on Layer 3 within the fabric. This approach uses routing between switches to achieve better scaling, faster convergence, and more predictable behavior. Overlay technologies, discussed separately in this course, can then provide flexible virtual networks on top of the routed underlay.

Data Center Topologies

Data center networks commonly use structured topologies that provide many parallel paths and predictable capacity. The most important are the three tier, leaf spine, and variations of Clos topologies.

Three Tier Architecture

A classic design uses three layers of switches. Access switches connect directly to servers in the racks. Distribution switches aggregate multiple access switches and provide policy enforcement and routing. Core switches then interconnect multiple distribution blocks and connect to the rest of the enterprise or to the internet.

This design is familiar from enterprise campus networks and can still be found in older data centers. However, it often creates bottlenecks at the distribution or core layers, especially for heavy east–west traffic, because many flows must traverse the upper tiers instead of using multiple parallel paths.

In a three tier data center, oversubscription, where the total server bandwidth exceeds the uplink bandwidth, is usually higher. This can be acceptable for user access but is often problematic for dense virtualization and storage traffic.

Leaf Spine Fabric

Most modern data center networks adopt a leaf spine fabric. In this design, every server connects to a leaf switch. Leaf switches then connect to a set of spine switches. Each leaf connects to each spine, forming a two tier fabric.

Table comparing concepts:

RoleConnects ToTypical Function
LeafServers and all spinesAccess to fabric and local services
SpineAll leaves, sometimes coreHigh speed fabric backbone

In an ideal leaf spine fabric, traffic between any two servers crosses exactly one leaf, one spine, then another leaf. The number of hops and the available bandwidth are consistent regardless of which racks are involved, which simplifies capacity planning and application performance expectations.

Leaf spine designs are usually built as Layer 3 fabrics with equal cost multipath routing, so multiple spine paths are active simultaneously. This improves resilience and utilization compared to designs that rely on spanning tree to block redundant links.

Clos Topologies and Scale-Out

Leaf spine networks are a specific case of Clos topologies. A Clos network uses multiple stages of switches and many equal cost paths. When more capacity is required, more leaf or spine switches can be added. For very large data centers, more stages can be introduced to scale further, while still keeping each stage made from relatively simple devices.

In practice, a small or medium data center may have a simple two stage leaf spine fabric. Very large cloud environments may use additional stages, sometimes called super spines or pods interconnected by higher level fabrics. The core idea remains consistent: many parallel paths, predictable hop counts, and scale-out by adding fabric elements rather than replacing them with larger single devices.

Oversubscription and Bandwidth Planning

In data center networks, you rarely provide full line rate bandwidth from every server to every other server. Instead, you accept some oversubscription. This is the ratio of potential traffic at the edge of the network to the actual capacity in the uplinks or fabric.

Oversubscription ratio can be written as:
$$
\text{Oversubscription ratio} = \frac{\text{Sum of edge port bandwidth}}{\text{Sum of uplink bandwidth}}
$$

For example, if a leaf switch has 48 server ports at 10 Gbps each and 4 uplinks to spines at 40 Gbps, then total edge bandwidth is $48 \times 10 = 480$ Gbps, and uplink bandwidth is $4 \times 40 = 160$ Gbps. The oversubscription ratio is:
$$
\frac{480}{160} = 3:1
$$

A lower oversubscription ratio provides more available bandwidth but higher cost. A higher ratio reduces cost but can increase congestion and latency during busy periods.

Data center designers choose different oversubscription ratios for different parts of the environment. High performance computing or storage networks may be close to non oversubscribed. General purpose application racks might tolerate moderate oversubscription. Monitoring and capacity planning are used to ensure that chosen ratios match real workloads.

Redundancy and Resilience within the Data Center

Data center networks are expected to be always available. To achieve this, redundancy is built into many layers of the design. Links, switches, and sometimes entire paths or even rows are duplicated so that a single failure does not interrupt service.

Within a leaf spine fabric, leaf switches are usually deployed in pairs for each rack or set of racks. Servers may have dual network interface cards and connect to both leafs. If one leaf fails, the server remains reachable through the other. At the spine layer, multiple spines ensure that the failure of a single spine only removes a small portion of total available fabric bandwidth.

Power and cooling redundancy are physical aspects, but they directly affect network availability. Switches and routers in data centers often have dual power supplies, sometimes fed from separate power sources. Links may follow diverse physical paths to avoid a single cable tray failure affecting an entire segment of the network.

Fast convergence is another crucial aspect. When a link or switch fails, routing within the data center must quickly move traffic to alternative paths. Designs using dynamic routing protocols and equal cost multipath can usually recover from failures in milliseconds or a small number of seconds, which is essential for sensitive applications.

Integration with Servers, Storage, and Virtualization

Data center networks must integrate closely with servers and storage systems. Racks may contain compute nodes, hypervisors, and storage arrays, each with different traffic patterns. Storage traffic is often particularly sensitive to latency and loss, so it may use dedicated fabrics or specific quality of service policies.

Virtualization and container platforms influence network design inside the data center. A single physical server can host many virtual machines or containers, each with its own virtual network interface and IP address. Virtual switches inside the servers connect these virtual interfaces to the physical network.

To support this, leaf switches may carry many VLANs or overlay tunnels that represent virtual networks. IP addressing, routing, and security policies must all accommodate rapidly changing workloads that move or scale across racks and even across data centers.

Multi-Tenant and Cloud Considerations

Many data centers, especially those used for cloud services, must support multiple tenants that share the same physical infrastructure. Each tenant expects isolation of traffic, addressing, and policy. This requirement affects how you design addressing schemes, segmentation, and control planes.

While details of overlays and virtualization technologies are covered elsewhere, it is important to understand that the physical data center network, often called the underlay, must be simple, predictable, and highly available so that virtual networks can be built reliably on top. Leaf spine fabrics with Layer 3 underlays are common choices for this role.

For multi tenant environments, scalability of routing tables and segmentation mechanisms is critical. The data center network must handle large numbers of virtual networks, routes, and policies without sacrificing performance. This requirement often leads to the adoption of designs that separate tenant specifics into overlays while keeping the physical network generic and shared.

Interconnecting Data Centers

Large organizations frequently operate multiple data centers. These may be active active, where multiple sites serve traffic simultaneously, or active standby, where one site is primarily for disaster recovery. In either case, the local data center networks must connect to wide area networks that tie sites together.

From a data center perspective, the connection to other sites is often treated as a special type of uplink. It leaves the leaf spine or three tier fabric at the core or spine layer and heads into the wide area domain. Designers must consider latency between sites, bandwidth needs for replication and backup, and how to extend or map network segments between locations.

Addressing, routing, and high availability across sites can be complex. Although detailed multi site designs belong in other chapters, it is useful to recognize that the internal data center network is only one part of an end to end service. Its design should anticipate how applications will interact across locations, both in normal operations and during failures.

Operational Considerations in Data Center Networks

Operating a data center network requires specific practices that reflect its scale and criticality. Consistency is vital. Similar racks or pods are often built and configured in identical ways so that capacity can be added predictably and troubleshooting remains manageable.

Automation is commonly used to deploy and maintain configurations across hundreds or thousands of switches. This reduces human error and speeds up changes, which is important when workloads scale rapidly or when security policies must be updated across large environments.

Monitoring is more intensive than in small networks. Operators track link utilization, latency, packet loss, and errors in detail. They often monitor flows between application components to detect imbalances or early signs of congestion. Because any change can affect thousands of servers, careful change control and staged rollouts are critical.

Finally, because the data center is central to business operations, network design must make upgrades possible without large outages. This can involve rolling upgrades of fabric devices, graceful routing changes, and the ability to shift workloads between parts of the network while maintenance occurs.

Summary of Key Design Priorities

Data center networks differ from other network types primarily because of their heavy east–west traffic, requirement for scale, and need for continuous availability. Designs favor predictable topologies such as leaf spine, careful control of oversubscription, extensive redundancy, and close integration with servers and virtualization platforms.

Although many advanced technologies build on this foundation, such as overlays and specialized data center protocols, the underlying objectives remain constant. The network inside the data center must deliver high capacity, low and predictable latency, and resilient connectivity so that applications and services can run reliably at scale.

Views: 49

Comments

Please login to add a comment.

Don't have an account? Register now!