Open Vswitch Projekt VM: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „= Open vSwitch Lab VM in VirtualBox anlegen = == Ziel == Es soll eine Debian 12 VM mit dem Namen '''ovs-lab''' in VirtualBox erstellt werden. Die VM nutzt d…“) |
|||
| Zeile 25: | Zeile 25: | ||
== Netzwerkadapter (8 VirtIO-NICs) hinzufügen == | == Netzwerkadapter (8 VirtIO-NICs) hinzufügen == | ||
<pre> | <pre> | ||
| − | for | + | for k in $(seq 11) |
| − | VBoxManage modifyvm ovs-lab --nic | + | do |
| − | + | VBoxManage modifyvm ovs-lab --nic$k bridged --nictype$k virtio --bridgeadapter$k "eth$k" | |
| + | done | ||
</pre> | </pre> | ||
Version vom 18. September 2025, 14:39 Uhr
Open vSwitch Lab VM in VirtualBox anlegen
Ziel
Es soll eine Debian 12 VM mit dem Namen ovs-lab in VirtualBox erstellt werden. Die VM nutzt den ICH9-Chipsatz, 2 vCPUs, 2 GB RAM, eine 20 GB Festplatte und 8 VirtIO-Netzwerkkarten.
VM erstellen
- VBoxManage createvm --name ovs-lab --ostype Debian_64 --register
Basis-Hardware konfigurieren
- VBoxManage modifyvm ovs-lab --chipset ich9 --memory 2048 --cpus 2 --vram 16
Storage-Controller hinzufügen
- VBoxManage storagectl ovs-lab --name "SATA Controller" --add sata --controller IntelAHCI
Festplatte anlegen
- VBoxManage createmedium disk --filename "C:\Users\<BENUTZER>\VirtualBox VMs\ovs-lab\ovs-lab.vdi" --size 20480 --format VDI
Festplatte anhängen
- VBoxManage storageattach ovs-lab --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium "C:\Users\<BENUTZER>\VirtualBox VMs\ovs-lab\ovs-lab.vdi"
Debian 12 ISO einbinden
- VBoxManage storageattach ovs-lab --storagectl "SATA Controller" --port 1 --device 0 --type dvddrive --medium "C:\Pfad\zu\debian-12.iso"
Netzwerkadapter (8 VirtIO-NICs) hinzufügen
for k in $(seq 11) do VBoxManage modifyvm ovs-lab --nic$k bridged --nictype$k virtio --bridgeadapter$k "eth$k" done
Ergebnis
- VM-Name: ovs-lab
- OS: Debian 12 (64-Bit)
- CPU: 2 vCPUs
- RAM: 4 GB
- Disk: 20 GB VDI
- Netz: 10 VirtIO-NICs (bridged)
- Chipsatz: ICH9
Die VM ist nun bereit für die Debian-Installation.