Skip to content

20171018_DockerConEu17_2

20171018_DockerConEu17_2

2 - Deep dive into overlay network

https://github.com/lbernail/dockercon2017

2.1 - Intro

What is an overlay network ?
How does it work ?
Demo

Merged in Kernel
-> Available through “classic” tools

  • ip netns add overns # Create a NetSapce
  • ip netns exec overns ip link create ... # Create link in the NS
  • ip netns exec overns ip address add ... # Give address

2.2 - VxLan Controle planes

  • MultiCast
  • P2P
  • User-land

=> Video: DockerCon Austin 2017

2.3 - BGP dynamic Control Plane

Intro

Option4

++
* bgpd + evpn for L2 and L3
* Standards and supported by SDNs


* Requieres knowledge

BGP
  • Routing protocol
  • Is an EGP
  • We will ise iBGP (Internal)

Evpn
* Parts of MG-BGP

Demo
  • Quagga
  • Containerized (cumulusnetworks/quagga:CL3.2.1_evpn)
  • --priviliged

  • VxLan setup

  • Bridge
  • VxLAN ID
  • In the QUAGGA container

  • Connect 2 containers through Quagga

  • eth0 -> br42

-> ControlPlane
-> DataPlane

Advantage
* ARP
* Broadcat (DHCP)
* Multicast

2.4 - Getting out of VxLan

  • Gateway machine running Quagga
  • Adding a veth with NAT