Skip to content

Instantly share code, notes, and snippets.

View leifliddy's full-sized avatar

Leif Liddy leifliddy

  • Stuttgart, Germany
View GitHub Profile
@mcastelino
mcastelino / qemu_netdev_socket_vlan.md
Last active October 24, 2024 06:07
QEMU usermode virtual vlan using -netdev socket

Goal

How to launch multiple QEMU based VM's that can communicate with the outside world and between each other other without any setup on the host.

This uses two features available in qemu

  • User Mode Networking stack - SLIRP
  • Socket networking backend allows you to create a network of guests that can see each other

This allows us to have