DC Layout
Networks in data centers
Link Aggregation (LAG): Requires capacity over-subscription
Fault tolerance: Equal Cost Multi-Pathing (ECMP)
Rack-to-Rack: Inefficient, no direct link, cross connect wiring over L2
L2 Broadcast Domains: Storms
Spanning Tree: Convergence, blocked links
Oversubscription: Ingress capacity exceeds egress capacity
E.g. rack of 24x10G servers and access device of at least 240G: 1:1 oversubscription (means NO oversubscription, non-blocking, required to allow the entire network to operate at linerate)
E.g. 24x10G server and 2x10G uplink: 12:1 oversubscription
Internet connectivity
Co-location center carrier neutrality
E.g. Ready to use layer 3 platform that any customer can access within 24 hours, for redundancy all routers and switches are interconnected to each other
Site-to-Site: Pre-VLAN virtual circuit
L2 virtualization
Beyond L2
A VLAN is a logical subnet/division (broadcast domain) inside one - or spread over multiple - Layer 2 devices
Port-based VLAN
Tagged VLAN
Allows for dynamic configuration
Govern tagging
VLAN Header is 4 Bytes
Byte 3,4: Tag Control Information (TCI) \
e.g. RedHat Linux VLAN Config (in /etc/sysconfig/network-scripts/ifcfg-eth0.192
)
DEVICE=eth0.192
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.1.1
NETMASK=255.255.255.0
USERCTL=no
NETWORK=192.168.1.0
VLAN=yes
VLAN Trunks
Multi-Protocol Label Switching (MPLS) is part of the packed-switched-networks
A MPLS Network forwards any frame based on a label. Device roles:
Label Switch Router (LSR)
Performs label operations
Label Edge Router (LER)
Labels
Bit 0-31
Used for Site-to-Site DC connectivity
Generic Routing Encapsulation (GRE) connects hosts across networks
GRE is a logical tunnel where IP packets are encapsulated by an IP frame (IP-over-IP) followed by the GRE header
GRE Header
The tunnel adds the enclosing IP header with protocol type 47=GRE (vs e.g. 6=TCP), which is removed again at the end of the tunnel
Tenants need flexible network
Virtual Networking
VMs -> Open vSwitch -> Physical Network
Private cloud
e.g. enterprise environment
Multiple tenants/VMs -> Shared Net -> Physical router
Private and public domains
e.g. OpenLDAP
TenantA-Private Net <- TenantA VMs -> Shared Net -> Physical router TenantA-Private Net <- TenantB VMs -> TenantC VMs ->
Public cloud hosting multiple tenants
e.g. enterprise customer migrating infrastructure, on-demand servers/services for customers
TenantA VMs -> TenantA-Private Net <- TenantA router -> External Net -> Physical router
TenantB VM1 -> TenantB-Private Net1 <- TenantB router -> External Net -> Physical router
TenantB VM2 ->
TenantB VM3 -> TenantB-Private Net2 <-
TenantB VM4 ->
IaaS means network also has to be offered as a service (NaaS)
Simon Anliker Someone has to write all this stuff.