dainok/unetlab

vsrxng template using incorrect NIC driver causing L2 features to fail

Closed this issue · 2 comments

/opt/unetlab/html/templates/vsrxng.php

needs changin the default ethernet NIC driver from e1000 to virtio-net as the L2 functions dont work properly with the default driver.

the line missing is:

$p['qemu_nic'] = 'virtio-net-pci';

Make a deeper tests to make sure that everything else works properly with that change

After some research it seems that for vsrx the virtio is one of two supported NIC types on KVM types (the other being SR-IOV) see: http://www.juniper.net/techpubs/en_US/vsrx15.1x49/topics/reference/general/security-vsrx-system-requirement-with-kvm.html
Anyway I am running some l2 and l3 tests now and all seems fine so far.