VxLAN2011
VxLAN2011
VLAN into the Cloud VLAN technology has been around for
many years. But now, need of the hour is
A whitepaper to see how VLAN principles can be
By applied to a larger environment like Data
Center Network for Cloud Computing.
VLAN has some limitations with respect
Ankur Rawat to scaling & performance, which makes
them less preferred choice for Cloud
&
Computing Data Center Networks. Such
Sasindran M Prabhu limitations are addressed by a new
technology called VxLAN – Virtual
Extensible Local Area Networks.
Network traffic increases drastically with increase in network size. This has lead to
the need for a network segmenting solution in the form of Virtual Local Area
Networks. VLAN is a group of LANs that have different physical connections, but
communicates as if they are connected on a single network segment. Basically,
VLAN provides a method of dividing one physical network into multiple broadcast
domains. This means that the use of broadcast data transmission is limited, and
traffic is reduced.
IEEE standard 802.1Q defines the method for identifying the traffic belonging to
same VLAN. The standard introduces the concept of VLAN tagging, incorporated in
the form of a 12 bit “VLAN ID” that identifies the frame’s VLAN membership
details. Figure 1 a & b shows 1522 Byte Ethernet Header and 4 Byte VLAN Header
which is inserted into the basic Ethernet frame between the source address and
length/type fields.
The Spanning Tree protocol, defined in IEEE 802.1d standard, is a protocol used
to prevent loops in the LAN. It selects the fastest network link, if there are
redundant links in the network. When an active link in the network goes down,
Spanning Tree will failover to the alternate link (if one exists).
There are some similarities in working of STP and Layer 3 Routing Protocols.
Routing protocols help devices to route between WAN networks (prevent loops, use
alternate paths etc.) at Layer 3. Spanning Tree could be termed as Layer 2
routing protocol for a LAN because it performs the same Layer2 functions for an
Ethernet network, regardless of IP addresses. So, Spanning Tree is not an IP
routing protocol but has some similar functions for the data-link layer (Layer 2).
Spanning Tree uses an algorithm to find redundant links in the LAN and selecting
the best paths. The initial goal is to put all links in either Forwarding or Blocking
state. In the end, the links without a redundant link and the best links with a
redundant link would be in forwarding state. The redundant links that weren’t as
good as the selected links would be in blocking state.
Spanning Tree cannot use multiple links to the same destination. There is no
load-sharing feature with Spanning Tree. Any redundant link that is not as
preferred is blocked (essentially shut down) until the primary link goes down.
Spanning Tree being a complex protocol, this section won’t cover every possible
feature.
Spanning Tree Protocol follow the below mentioned criteria to decide if an interface
should be in forwarding state or blocking state:
The root bridge is elected based on bridge ID (usually the MAC address) and a
priority. By default, all priorities are the same and hence the switch with the
lowest MAC address will become the root bridge.
The VxLAN frame format is shown in Fig 2. The frame format shows tunneling of
Ethernet frames using IPv4 for transport. VxLAN usage with IPv6 is still not
addressed. The inner MAC frame is encapsulated with the following three headers.
2. Outer IP Header
Outer IP header basically contains the source IP address & Destination IP
Address.
Source IP Address – IP address of the VTEP over which the communicating VM
(as depicted by the inner source MAC address) is running.
Destination IP Address – IP Address of the VTEP connecting the
communicating VM as depicted by the inner destination MAC.
4. VxLAN Header
8 Byte field comprising of Flags, Reserved Bits & VxLAN Network Identifier.
Flags (8 Bits) – I flag is set to 1 for a valid VxLAN Network ID (VNI).
The remaining 7 bits (designated "R") are reserved fields and set to zero.
VxLAN Network Identifier (VNI) (24 Bits) – Used for identification of the
individual VxLAN overlay network on which the communicating VMs are
situated. VMs in different VxLAN overlay networks cannot communicate.
Reserved (24 & 8 Bits) – Always set to zero.
VxLAN looks like a perfect solution for scaling and performance issues being faced
by Data Centers. VxLAN addresses the limitations of traditional network isolation
techniques by using encapsulation and 24 Bit VxLAN identifier field. This unique
feature help ensure that customers can deploy mission critical application in the
cloud with confidence. As the standard is still in draft stage, it will take some time
for vendors to implement it and deploy the VxLAN ready products in the field.
Tech Mahindra has vast experience in Optical, Ethernet & Wireless technologies.
Leveraging these skills, Tech Mahindra will be able to contribute in the following
VxLAN areas.
Based on the opportunity from the vendors, we will be able to select among these
activities:
Requirement Analysis
Product Design & Development
Testing & Validation
Interoperability Testing
Network Design, Deployment & Maintenance for Telecom Service Providers.
References
_______________