Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nullx5/cfc9da2df01d2ee36b1feb002ec7be72 to your computer and use it in GitHub Desktop.
Save nullx5/cfc9da2df01d2ee36b1feb002ec7be72 to your computer and use it in GitHub Desktop.

configurar QEMU interface bridge con iproute2 y discos con qemu-img


sudo apt update
sudo apt install qemu-kvm bridge-utils

# Crear el puente de red:
sudo ip link add name br0 type bridge

# Conectar una interfaz física al puente:
sudo ip link set eth0 master br0

# Asignar una dirección IP al puente:
sudo ip addr add 192.168.1.1/24 dev br0

# Activar el puente:
sudo ip link set br0 up


@nullx5
Copy link
Author

nullx5 commented Oct 17, 2024

interface bridge con iproute

@nullx5
Copy link
Author

nullx5 commented Oct 17, 2024

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment