Posts

Showing posts with the label network

Docker persistent MAC address generation problem

When starting 150+ Docker containers with docker-compose, I encountered a strange problem: "Could not generate persistent MAC address".

Script to generate a MAC address

Very simple and useful script to generate a MAC address. Applicable for Docker, Xen, KVM, and other virtual environments.

How to forward one or a few VLANs to a KVM virtual machine

Next step using Open vSwitch (OVS) network configuration ( How to forward all VLANs to a KVM virtual machine using Open vSwitch (OVS) ) to provide only one VLAN.

How to forward all VLANs to a KVM virtual machine using Open vSwitch (OVS)

By default, documentation suggests sending all traffic via OVS. This is risky, because OVS is an independent service that can stop, restart, or fail. My approach separates management and production networks for reliability.