dainok / unetlab

BSD 3-Clause "New" or "Revised" License
181 stars 97 forks source link

vsrxng template using incorrect NIC driver causing L2 features to fail #182

Closed igorzejdlyk closed 7 years ago

igorzejdlyk commented 8 years ago

/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';

fallenfuzz commented 8 years ago

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

igorzejdlyk commented 8 years ago

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.