Page 1 of 1

Sophos XG - virtiob.qcow2 problem

Posted: Tue Sep 05, 2023 7:42 pm
by BernardC1982
Hello.

I'm experimenting with EVE-NG community edition.
I've set it up and it works, but only if I place only one image drive to the image folder, for example virtioa.qcow2.

If I try to add an extra disk image virtiob.qcow2, the node starts for 0.2 sec and the it stops.

I only noticed it when I tried Sophos XG firewall image, since it needs 2 disk images to start.

Is it maybe that community addition is limited to only one disk image or am I doing something wrong?

starting /opt/unetlab/wrappers/qemu_wrapper -T 0 -D 2 -t "SophosXG" -F /opt/qemu-2.12.0/bin/qemu-system-x86_64 -d 0 -- -nographic -device virtio-net-pci,netdev=net0,mac=50:00:00:02:00:00 -netdev tap,id=net0,ifname=vunl0_2_0,script=no -device virtio-net-pci,netdev=net1,mac=50:00:00:02:00:01 -netdev tap,id=net1,ifname=vunl0_2_1,script=no -device virtio-net-pci,netdev=net2,mac=50:00:00:02:00:02 -netdev tap,id=net2,ifname=vunl0_2_2,script=no -device virtio-net-pci,netdev=net3,mac=50:00:00:02:00:03 -netdev tap,id=net3,ifname=vunl0_2_3,script=no -smp 2 -m 4096 -name SophosXG -uuid d7557344-a9fe-46ed-b2a1-b86e6776c52e -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -drive file=virtiob.qcow2,if=virtio,bus=0,unit=1,cache=none -machine type=pc,accel=kvm -vga std -usbdevice tablet -boot order=cd > /opt/unetlab/tmp/0/30e1e44c-276a-4bcd-b067-ebe207e692d0/2/wrapper.txt 2>&1 &

I thank you in advance.

Re: Sophos XG - virtiob.qcow2 problem

Posted: Thu Sep 07, 2023 8:06 am
by Uldis (UD)
You simply do not follow our how to create Sophos FW image
https://www.eve-ng.net/index.php/docume ... sophos-fw/

Re: Sophos XG - virtiob.qcow2 problem

Posted: Thu Sep 07, 2023 8:38 am
by BernardC1982
I deleted Sophos images and recreated it from from the oldest Sophos image I could get from https://download.sophos.com/network/Sop ... index.html
The version is VI-17.5.12_MR-12.KVM-664 and in the attachment is the procedure that I used to create Sophos FW image.

I think I'm doing everything right, maybe its the source image that isn't correct and it doesn't work?

Re: Sophos XG - virtiob.qcow2 problem

Posted: Thu Sep 07, 2023 9:06 am
by BernardC1982
Version VI-18.0.4_MR-4.KVM-506 works.

Problem solved.