Skip to content

Instantly share code, notes, and snippets.

@platu
platu / ovs+vxlan+lxd-lab.md
Last active April 10, 2023 20:51
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.

@platu
platu / ovs+lxd-shared-vlans.md
Last active September 29, 2021 15:44
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 September 29, 2021 15:40
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 |
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 Oldfashioned network interface naming

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