Series

How packets actually flow in OpenStack

A six-part walk through the Neutron data path — from a VM's virtual NIC, across bridges and tunnels, to the wire and back. Read in order; each part assumes the one before it.

Part 1 — Neutron: How a VM communicates

· 3 min read

In order to identify how a VM communicates in Openstack, we need to look into how it is connected logically when it’s created. This will allow us to know the steps that the VM traffic will have to go through before…

Part 2 — Traffic flows from an Openstack VM

· 2 min read

As we mentioned in the last post, traffic flows through a set of Linux virtual devices/switches to reach its destination after leaving the VM. Outbound traffic goes downward while inbound traffic moves upwards. The flow…

Part 5 — VM to VM communication: different networks

· 4 min read

So far we have only spoken about VM communication when they belong to the same network. But what happens when the VM has to communicate with another VM on a different network. The common rule of networking is that…

Part 6 — VM getting a DHCP address

· 1 min read

DHCP requests are broadcast requests sent by the VM to its boradcast domain. If a DHCP server exists in this domain, it will respond back providing a DHCP IP lease following the DHCP protocol. In openstack, the same…