Open Vswitch Projekt VM: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 14: | Zeile 14: | ||
vboxmanage modifyvm ovs --nicpromisc$k allow-all | vboxmanage modifyvm ovs --nicpromisc$k allow-all | ||
done | done | ||
| − | # NIC | + | # NIC 18 auf NAT setzen |
vboxmanage modifyvm ovs --nic18 nat --nictype11 virtio --cableconnected11 on | vboxmanage modifyvm ovs --nic18 nat --nictype11 virtio --cableconnected11 on | ||
Version vom 2. Mai 2026, 07:38 Uhr
Open vSwitch Lab VM in VirtualBox anlegen
Ziel
Es soll eine Debian 13 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.
Netzwerkadapter (11 VirtIO-NICs) hinzufügen
- Anlegen
for k in $(seq 1 18); do l=$(($k-1)) vboxmanage modifyvm ovs --nic$k intnet --nictype$k virtio --intnet$k "eth$l" --cableconnected$k on vboxmanage modifyvm ovs --nicpromisc$k allow-all done # NIC 18 auf NAT setzen vboxmanage modifyvm ovs --nic18 nat --nictype11 virtio --cableconnected11 on # Portforwarding für SSH einrichten (Host 2222 → Guest 22) vboxmanage modifyvm ovs --natpf18 "ssh,tcp,,2222,,22"
- Anzeigen
- vboxmanage showvminfo ovs-lab
Ergebnis
- VM-Name: ovs-lab
- OS: Debian 12 (64-Bit)
- CPU: 2 vCPUs
- RAM: 4 GB
- Disk: 20 GB VDI
- Netz: 18 VirtIO-NICs (bridged)
- Chipsatz: ICH9
Die VM ist nun bereit für die Debian-Installation.