Skip to content

Instantly share code, notes, and snippets.

@platu
platu / ovs+vxlan+lxd-lab.md
Last active Oct 15, 2021
VXLAN lab based on OpenVSwitch and lxd containers
View ovs+vxlan+lxd-lab.md

% VXLAN lab based on OpenVSwitch and LXD containers


Preamble

The very first idea when I started writing this lab was to illustrate the Virtual Extensible LAN (VXLAN) technology. Now that OpenVSwitch configuration is smoothely integrated in the Debian networking configuration files, this should have resulted in somewhat easy-to-read gist.

View ovs+lxd-setup.md

Start UNprivileged lxd containers on top of Open vSwitch in a few steps

C-3PO has to be fixed

Starting from a Debian bullseye base install on host system with old naming interface scheme ...


Consistent vs Old fashioned network interface naming

Nowadays, network interface names follow the consistent naming rule. In

@platu
platu / ovs+lxd-shared-vlans.md
Last active Sep 29, 2021
LXD containers networked on VLANs shared with the (ancient) physical world
View ovs+lxd-shared-vlans.md

LXD containers networked on VLANs shared with the (ancient) physical world

Topology

Starting from a Debian testing base install on host system ...


Let's start with networking

Install OvS on host

@platu
platu / seafile-on-lxd.md
Last active Sep 29, 2021
Seafile instance on LXD
View seafile-on-lxd.md

Seafile + sqlite instance on LXD lab

This lab assumes that we have a running LXD setup based on this gist : UNprivileged lxd containers on top of Open vSwitch

Let's start with a container named seafile.

$ lxc ls
+---------+---------+-------------------+-----------------------------------+------------+-----------+
|  NAME   |  STATE  |       IPV4        |               IPV6                |    TYPE    | SNAPSHOTS |