Suggested doc update...


Userlevel 2
In reading up on getting VX working with GNS3 via QEMU, I came across the doc on this site entitled "Using GNS3 with QEMU and KVM Virtual Machines" ( http://docs.cumulusnetworks.com/display/VX/Using+GNS3+with+QEMU+and+KVM+Virtual+Machines )

I came to find out that the examples in the section heading "KVM/QEMU from the Command Line" are using deprecated syntax; please see http://wiki.qemu.org/Documentation/Networking#The_legacy_-net_option for an explanation. Here is an example using the newer syntax on my GNS3 server system:

/bin/qemu-system-x86_64 -name Cumulus-VX-sw1-1 -m 1024M -smp cpus=1 -enable-kvm -boot order=c -drive file=/home/gns3user/GNS3/projects/784f6727-93c6-4773-ad1c-676cfb11cd89/project-files/qemu/95b90747-b610-420f-9377-d4d6956d547e/hda_disk.qcow2,if=ide,index=0,media=disk -serial telnet:0.0.0.0:2000,server,nowait -monitor tcp:127.0.0.1:52284,server,nowait -net user,vlan=0,net=192.168.0.0/24,hostfwd=tcp::1401-:22 -net none -device virtio-net-pci,mac=00:00:ab:54:7e:00 -device virtio-net-pci,mac=00:00:ab:54:7e:01 -device virtio-net-pci,mac=00:00:ab:54:7e:02 -device virtio-net-pci,mac=00:00:ab:54:7e:03 -nographic

Thanks,
Will

2 replies

Userlevel 3
Hey thanks for calling this out, Will. We'll get the docs updated soon to reflect the new syntax.
Userlevel 2
Hold the presses... Based on what I just learned via https://community.cumulusnetworks.com/cumulus/topics/cannot-ssh-into-a-vx-vm-running-in-qemu , going to the new style "-device ..." NIC config breaks the SSH access to the VM... So there's more than just a syntax change involved here.