XRV9K > 7.4.1 : How to add qemu option on some interfaces ?

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
achelminski
Posts: 5
Joined: Tue May 10, 2022 8:41 am

XRV9K > 7.4.1 : How to add qemu option on some interfaces ?

Post by achelminski » Thu Aug 11, 2022 12:51 pm

Hi,

It seems that starting Cisco XRV9K version 7.4.2, ARP resolution when using virtio-net-pci is no more working unless you specify some option on the traffic interfaces (not the first 3).
Is there a way to do so ?

Thanks.
Alexandre.
Running EVE PRO Version 5.0.1-20 on a cluster of 3 servers

achelminski
Posts: 5
Joined: Tue May 10, 2022 8:41 am

Re: XRV9K > 7.4.1 : How to add qemu option on some interfaces ?

Post by achelminski » Tue Aug 16, 2022 12:26 pm

Hi, Some more detail, today when xrv9k is launch, running QEMU is
qemu-system-x86_64 -nographic
-device virtio-net-pci,addr=3.0,multifunction=on,netdev=net0,mac=50:0f:00:13:00:00 -netdev tap,id=net0,ifname=vun001000f01300,script=no
-device virtio-net-pci,addr=3.1,multifunction=on,netdev=net1,mac=50:0f:00:13:00:01 -netdev tap,id=net1,ifname=vun001000f01301,script=no
-device virtio-net-pci,addr=3.2,multifunction=on,netdev=net2,mac=50:0f:00:13:00:02 -netdev tap,id=net2,ifname=vun001000f01302,script=no
-device virtio-net-pci,addr=3.3,multifunction=on,netdev=net3,mac=50:0f:00:13:00:03 -netdev tap,id=net3,ifname=vun001000f01303,script=no
-device virtio-net-pci,addr=3.4,multifunction=on,netdev=net4,mac=50:0f:00:13:00:04 -netdev tap,id=net4,ifname=vun001000f01304,script=no
-smp 4 -m 16384 -name vpce1 -uuid e51e4daa-be8c-4d2b-80a6-0ad2ad561fa6 -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -monitor unix:./mon2-sock,server,nowait -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -enable-kvm -smbios type=1,manufacturer=cisco,product=Cisco IOS XRv 9000 -machine type=pc,accel=kvm,usb=off -serial mon:stdio -nographic -no-user-config -nodefaults -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -realtime mlock=off -no-shutdown -boot order=c -serial null -serial null -serial null -cpu host

It seems that it should be:
qemu-system-x86_64 -nographic
-device virtio-net-pci,addr=3.0,multifunction=on,netdev=net0,mac=50:0f:00:13:00:00 -netdev tap,id=net0,ifname=vun001000f01300,script=no
-device virtio-net-pci,addr=3.1,multifunction=on,netdev=net1,mac=50:0f:00:13:00:01 -netdev tap,id=net1,ifname=vun001000f01301,script=no
-device virtio-net-pci,addr=3.2,multifunction=on,netdev=net2,mac=50:0f:00:13:00:02 -netdev tap,id=net2,ifname=vun001000f01302,script=no
-device virtio-net-pci,addr=3.3,multifunction=on,netdev=net3,mac=50:0f:00:13:00:03 -netdev tap,id=net3,ifname=vun001000f01303,script=no,vhost=on
-device virtio-net-pci,addr=3.4,multifunction=on,netdev=net4,mac=50:0f:00:13:00:04 -netdev tap,id=net4,ifname=vun001000f01304,script=no,vhost=on
-smp 4 -m 16384 -name vpce1 -uuid e51e4daa-be8c-4d2b-80a6-0ad2ad561fa6 -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -monitor unix:./mon2-sock,server,nowait -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -enable-kvm -smbios type=1,manufacturer=cisco,product=Cisco IOS XRv 9000 -machine type=pc,accel=kvm,usb=off -serial mon:stdio -nographic -no-user-config -nodefaults -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -realtime mlock=off -no-shutdown -boot order=c -serial null -serial null -serial null -cpu host

How can I add these option ?

Thanks a lot
Running EVE PRO Version 5.0.1-20 on a cluster of 3 servers

Post Reply