Page 1 of 1

Problem Adding >30 interfaces to vJunos-switch image

Posted: Thu Apr 27, 2023 2:37 am
by dark_15
Hi All! Let's get the details out of the way:

Your install is: Bare metal: Intel BOXNUC8I3BEH3 NUC
CPU model: Intel Core i3 (8th Gen) 8109U/ 3-3.6GHz
RAM: 32GB
HD: 500GB SSD
Eve Version: 5.0.1-19-Community

Code: Select all

root@eve:~# uname -a
Linux eve 5.17.8-eve-ng-uksm-wg+ #1 SMP PREEMPT Mon May 16 10:08:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
I am having an issue where I cannot turn up more than 30 interfaces on a Eve-NG template I've written up.

Code: Select all

root@eve:~# cat /opt/unetlab/html/templates/intel/vjunosswitch.yml 
# Copyright (c) 2016, Andrea Dainese
# Copyright (c) 2018, Alain Degreffe
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#     * Redistributions of source code must retain the above copyright
#       notice, this list of conditions and the following disclaimer.
#     * Redistributions in binary form must reproduce the above copyright
#       notice, this list of conditions and the following disclaimer in the
#       documentation and/or other materials provided with the distribution.
#     * Neither the name of the UNetLab Ltd nor  the name of EVE-NG Ltd nor the
#       names of its contributors may be used to endorse or promote products
#       derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---
type: qemu
name: vJunos-switch
config_script: config_vmxvcp.py
description: Juniper vJunos-switch
cpulimit: 1
icon: JunipervQFXpfe.png
cpu: 4
ram: 5120
ethernet: 27
eth_name:
- fxp0
eth_format: ge-0/0/{0}
shutdown: 1
console: telnet
qemu_arch: x86_64
qemu_version: 6.0.0
qemu_nic: virtio-net-pci
qemu_options: -machine type=pc,accel=kvm -serial mon:stdio -nographic -cpu host -smbios type=1,product=VM-VEX
When I try to run this image with more than 27 interfaces (two are reserved for fxp and internally), the vJunos-switch image will not boot. I know that up to 96 interfaces are supported, and I see the interfaces being created on the eve system when I start:

Code: Select all

root@eve:~# ifconfig| grep vun | wc -l
98
But at this point I need to restart the system in order to remove those interfaces properly so I can boot any further KVM images. Once I reboot and set the number of interfaces to 27, the image boots without an issue.

I did capture a screenshot (attached) with the error message I see on the console. Is there something I'm missing which prevents me from creating the maximum documented interfaces?

unl_wrapper.txt log:

Code: Select all

root@eve:~# cat /opt/unetlab/data/Logs/unl_wrapper.txt 
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_0 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_0.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_1 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_1.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_2 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_2.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_3 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_3.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_4 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_4.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_5 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_5.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_6 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_6.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_7 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_7.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_8 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_8.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_9 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_9.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_10 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_10.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_11 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_11.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_12 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_12.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_13 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_13.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_14 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_14.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_15 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_15.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_16 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_16.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_17 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_17.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_18 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_18.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_19 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_19.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_20 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_20.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_21 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_21.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_22 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_22.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_23 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_23.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_24 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_24.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_25 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_25.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_26 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_26.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_27 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_27.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_28 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_28.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_29 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_29.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_30 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_30.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_31 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_31.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_32 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_32.disable_ipv6=1
Apr 27 04:33:19 INFO: tunctl -u unl0 -g root -t vunl0_1_33 2>&1
Apr 27 04:33:19 INFO: sysctl -w net.ipv6.conf.vunl0_1_33.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_34 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_34.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_35 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_35.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_36 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_36.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_37 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_37.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_38 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_38.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_39 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_39.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_40 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_40.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_41 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_41.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_42 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_42.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_43 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_43.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_44 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_44.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_45 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_45.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_46 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_46.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_47 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_47.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_48 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_48.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_49 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_49.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_50 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_50.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_51 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_51.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_52 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_52.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_53 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_53.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_54 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_54.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_55 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_55.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_56 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_56.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_57 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_57.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_58 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_58.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_59 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_59.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_60 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_60.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_61 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_61.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_62 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_62.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_63 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_63.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_64 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_64.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_65 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_65.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_66 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_66.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_67 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_67.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_68 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_68.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_69 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_69.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_70 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_70.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_71 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_71.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_72 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_72.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_73 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_73.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_74 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_74.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_75 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_75.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_76 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_76.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_77 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_77.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_78 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_78.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_79 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_79.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_80 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_80.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_81 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_81.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_82 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_82.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_83 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_83.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_84 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_84.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_85 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_85.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_86 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_86.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_87 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_87.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_88 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_88.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_89 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_89.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_90 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_90.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_91 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_91.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_92 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_92.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_93 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_93.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_94 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_94.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_95 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_95.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_96 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_96.disable_ipv6=1
Apr 27 04:33:20 INFO: tunctl -u unl0 -g root -t vunl0_1_97 2>&1
Apr 27 04:33:20 INFO: sysctl -w net.ipv6.conf.vunl0_1_97.disable_ipv6=1
Apr 27 04:33:21 cmd = cp -ar /opt/unetlab/skeleton/* /opt/unetlab/tmp/0/f8c0cb9b-2dfc-43bf-ae65-008f696075a2/1/
Apr 27 04:33:21 cmd = mountpoint -q /opt/unetlab/tmp/0/f8c0cb9b-2dfc-43bf-ae65-008f696075a2/1/jail || mount -B -o ro /opt/unetlab/jail /opt/unetlab/tmp/0/f8c0cb9b-2dfc-43bf-ae65-008f696075a2/1/jail
Apr 27 04:33:21 cmd = for i in /opt/qemu-*; do ( mountpoint -q /opt/unetlab/tmp/0/f8c0cb9b-2dfc-43bf-ae65-008f696075a2/1/$i || mount -B -o ro $i /opt/unetlab/tmp/0/f8c0cb9b-2dfc-43bf-ae65-008f696075a2/1/$i ) ; done 
Apr 27 04:33:21 cmd =  mountpoint -q /opt/unetlab/tmp/0/f8c0cb9b-2dfc-43bf-ae65-008f696075a2/1/opt/unetlab/addons/qemu || mount -B -o ro /opt/unetlab/addons/qemu /opt/unetlab/tmp/0/f8c0cb9b-2dfc-43bf-ae65-008f696075a2/1/opt/unetlab/addons/qemu
Apr 27 04:33:21 INFO: CWD is /opt/unetlab/tmp/0/f8c0cb9b-2dfc-43bf-ae65-008f696075a2/1
Apr 27 04:33:21 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -T 0 -D 1 -t "vJunos-switch" -F /opt/qemu-6.0.0/bin/qemu-system-x86_64 -d 0 --  -nographic -device virtio-net-pci,netdev=net0,mac=50:00:00:01:00:00 -netdev tap,id=net0,ifname=vunl0_1_0,script=no -device virtio-net-pci,netdev=net1,mac=50:00:00:01:00:01 -netdev tap,id=net1,ifname=vunl0_1_1,script=no -device virtio-net-pci,netdev=net2,mac=50:00:00:01:00:02 -netdev tap,id=net2,ifname=vunl0_1_2,script=no -device virtio-net-pci,netdev=net3,mac=50:00:00:01:00:03 -netdev tap,id=net3,ifname=vunl0_1_3,script=no -device virtio-net-pci,netdev=net4,mac=50:00:00:01:00:04 -netdev tap,id=net4,ifname=vunl0_1_4,script=no -device virtio-net-pci,netdev=net5,mac=50:00:00:01:00:05 -netdev tap,id=net5,ifname=vunl0_1_5,script=no -device virtio-net-pci,netdev=net6,mac=50:00:00:01:00:06 -netdev tap,id=net6,ifname=vunl0_1_6,script=no -device virtio-net-pci,netdev=net7,mac=50:00:00:01:00:07 -netdev tap,id=net7,ifname=vunl0_1_7,script=no -device virtio-net-pci,netdev=net8,mac=50:00:00:01:00:08 -netdev tap,id=net8,ifname=vunl0_1_8,script=no -device virtio-net-pci,netdev=net9,mac=50:00:00:01:00:09 -netdev tap,id=net9,ifname=vunl0_1_9,script=no -device virtio-net-pci,netdev=net10,mac=50:00:00:01:00:0a -netdev tap,id=net10,ifname=vunl0_1_10,script=no -device virtio-net-pci,netdev=net11,mac=50:00:00:01:00:0b -netdev tap,id=net11,ifname=vunl0_1_11,script=no -device virtio-net-pci,netdev=net12,mac=50:00:00:01:00:0c -netdev tap,id=net12,ifname=vunl0_1_12,script=no -device virtio-net-pci,netdev=net13,mac=50:00:00:01:00:0d -netdev tap,id=net13,ifname=vunl0_1_13,script=no -device virtio-net-pci,netdev=net14,mac=50:00:00:01:00:0e -netdev tap,id=net14,ifname=vunl0_1_14,script=no -device virtio-net-pci,netdev=net15,mac=50:00:00:01:00:0f -netdev tap,id=net15,ifname=vunl0_1_15,script=no -device virtio-net-pci,netdev=net16,mac=50:00:00:01:00:10 -netdev tap,id=net16,ifname=vunl0_1_16,script=no -device virtio-net-pci,netdev=net17,mac=50:00:00:01:00:11 -netdev tap,id=net17,ifname=vunl0_1_17,script=no -device virtio-net-pci,netdev=net18,mac=50:00:00:01:00:12 -netdev tap,id=net18,ifname=vunl0_1_18,script=no -device virtio-net-pci,netdev=net19,mac=50:00:00:01:00:13 -netdev tap,id=net19,ifname=vunl0_1_19,script=no -device virtio-net-pci,netdev=net20,mac=50:00:00:01:00:14 -netdev tap,id=net20,ifname=vunl0_1_20,script=no -device virtio-net-pci,netdev=net21,mac=50:00:00:01:00:15 -netdev tap,id=net21,ifname=vunl0_1_21,script=no -device virtio-net-pci,netdev=net22,mac=50:00:00:01:00:16 -netdev tap,id=net22,ifname=vunl0_1_22,script=no -device virtio-net-pci,netdev=net23,mac=50:00:00:01:00:17 -netdev tap,id=net23,ifname=vunl0_1_23,script=no -device virtio-net-pci,netdev=net24,mac=50:00:00:01:00:18 -netdev tap,id=net24,ifname=vunl0_1_24,script=no -device virtio-net-pci,netdev=net25,mac=50:00:00:01:00:19 -netdev tap,id=net25,ifname=vunl0_1_25,script=no -device virtio-net-pci,netdev=net26,mac=50:00:00:01:00:1a -netdev tap,id=net26,ifname=vunl0_1_26,script=no -device virtio-net-pci,netdev=net27,mac=50:00:00:01:00:1b -netdev tap,id=net27,ifname=vunl0_1_27,script=no -device virtio-net-pci,netdev=net28,mac=50:00:00:01:00:1c -netdev tap,id=net28,ifname=vunl0_1_28,script=no -device virtio-net-pci,netdev=net29,mac=50:00:00:01:00:1d -netdev tap,id=net29,ifname=vunl0_1_29,script=no -device virtio-net-pci,netdev=net30,mac=50:00:00:01:00:1e -netdev tap,id=net30,ifname=vunl0_1_30,script=no -device virtio-net-pci,netdev=net31,mac=50:00:00:01:00:1f -netdev tap,id=net31,ifname=vunl0_1_31,script=no -device virtio-net-pci,netdev=net32,mac=50:00:00:01:00:20 -netdev tap,id=net32,ifname=vunl0_1_32,script=no -device virtio-net-pci,netdev=net33,mac=50:00:00:01:00:21 -netdev tap,id=net33,ifname=vunl0_1_33,script=no -device virtio-net-pci,netdev=net34,mac=50:00:00:01:00:22 -netdev tap,id=net34,ifname=vunl0_1_34,script=no -device virtio-net-pci,netdev=net35,mac=50:00:00:01:00:23 -netdev tap,id=net35,ifname=vunl0_1_35,script=no -device virtio-net-pci,netdev=net36,mac=50:00:00:01:00:24 -netdev tap,id=net36,ifname=vunl0_1_36,script=no -device virtio-net-pci,netdev=net37,mac=50:00:00:01:00:25 -netdev tap,id=net37,ifname=vunl0_1_37,script=no -device virtio-net-pci,netdev=net38,mac=50:00:00:01:00:26 -netdev tap,id=net38,ifname=vunl0_1_38,script=no -device virtio-net-pci,netdev=net39,mac=50:00:00:01:00:27 -netdev tap,id=net39,ifname=vunl0_1_39,script=no -device virtio-net-pci,netdev=net40,mac=50:00:00:01:00:28 -netdev tap,id=net40,ifname=vunl0_1_40,script=no -device virtio-net-pci,netdev=net41,mac=50:00:00:01:00:29 -netdev tap,id=net41,ifname=vunl0_1_41,script=no -device virtio-net-pci,netdev=net42,mac=50:00:00:01:00:2a -netdev tap,id=net42,ifname=vunl0_1_42,script=no -device virtio-net-pci,netdev=net43,mac=50:00:00:01:00:2b -netdev tap,id=net43,ifname=vunl0_1_43,script=no -device virtio-net-pci,netdev=net44,mac=50:00:00:01:00:2c -netdev tap,id=net44,ifname=vunl0_1_44,script=no -device virtio-net-pci,netdev=net45,mac=50:00:00:01:00:2d -netdev tap,id=net45,ifname=vunl0_1_45,script=no -device virtio-net-pci,netdev=net46,mac=50:00:00:01:00:2e -netdev tap,id=net46,ifname=vunl0_1_46,script=no -device virtio-net-pci,netdev=net47,mac=50:00:00:01:00:2f -netdev tap,id=net47,ifname=vunl0_1_47,script=no -device virtio-net-pci,netdev=net48,mac=50:00:00:01:00:30 -netdev tap,id=net48,ifname=vunl0_1_48,script=no -device virtio-net-pci,netdev=net49,mac=50:00:00:01:00:31 -netdev tap,id=net49,ifname=vunl0_1_49,script=no -device virtio-net-pci,netdev=net50,mac=50:00:00:01:00:32 -netdev tap,id=net50,ifname=vunl0_1_50,script=no -device virtio-net-pci,netdev=net51,mac=50:00:00:01:00:33 -netdev tap,id=net51,ifname=vunl0_1_51,script=no -device virtio-net-pci,netdev=net52,mac=50:00:00:01:00:34 -netdev tap,id=net52,ifname=vunl0_1_52,script=no -device virtio-net-pci,netdev=net53,mac=50:00:00:01:00:35 -netdev tap,id=net53,ifname=vunl0_1_53,script=no -device virtio-net-pci,netdev=net54,mac=50:00:00:01:00:36 -netdev tap,id=net54,ifname=vunl0_1_54,script=no -device virtio-net-pci,netdev=net55,mac=50:00:00:01:00:37 -netdev tap,id=net55,ifname=vunl0_1_55,script=no -device virtio-net-pci,netdev=net56,mac=50:00:00:01:00:38 -netdev tap,id=net56,ifname=vunl0_1_56,script=no -device virtio-net-pci,netdev=net57,mac=50:00:00:01:00:39 -netdev tap,id=net57,ifname=vunl0_1_57,script=no -device virtio-net-pci,netdev=net58,mac=50:00:00:01:00:3a -netdev tap,id=net58,ifname=vunl0_1_58,script=no -device virtio-net-pci,netdev=net59,mac=50:00:00:01:00:3b -netdev tap,id=net59,ifname=vunl0_1_59,script=no -device virtio-net-pci,netdev=net60,mac=50:00:00:01:00:3c -netdev tap,id=net60,ifname=vunl0_1_60,script=no -device virtio-net-pci,netdev=net61,mac=50:00:00:01:00:3d -netdev tap,id=net61,ifname=vunl0_1_61,script=no -device virtio-net-pci,netdev=net62,mac=50:00:00:01:00:3e -netdev tap,id=net62,ifname=vunl0_1_62,script=no -device virtio-net-pci,netdev=net63,mac=50:00:00:01:00:3f -netdev tap,id=net63,ifname=vunl0_1_63,script=no -device virtio-net-pci,netdev=net64,mac=50:00:00:01:00:40 -netdev tap,id=net64,ifname=vunl0_1_64,script=no -device virtio-net-pci,netdev=net65,mac=50:00:00:01:00:41 -netdev tap,id=net65,ifname=vunl0_1_65,script=no -device virtio-net-pci,netdev=net66,mac=50:00:00:01:00:42 -netdev tap,id=net66,ifname=vunl0_1_66,script=no -device virtio-net-pci,netdev=net67,mac=50:00:00:01:00:43 -netdev tap,id=net67,ifname=vunl0_1_67,script=no -device virtio-net-pci,netdev=net68,mac=50:00:00:01:00:44 -netdev tap,id=net68,ifname=vunl0_1_68,script=no -device virtio-net-pci,netdev=net69,mac=50:00:00:01:00:45 -netdev tap,id=net69,ifname=vunl0_1_69,script=no -device virtio-net-pci,netdev=net70,mac=50:00:00:01:00:46 -netdev tap,id=net70,ifname=vunl0_1_70,script=no -device virtio-net-pci,netdev=net71,mac=50:00:00:01:00:47 -netdev tap,id=net71,ifname=vunl0_1_71,script=no -device virtio-net-pci,netdev=net72,mac=50:00:00:01:00:48 -netdev tap,id=net72,ifname=vunl0_1_72,script=no -device virtio-net-pci,netdev=net73,mac=50:00:00:01:00:49 -netdev tap,id=net73,ifname=vunl0_1_73,script=no -device virtio-net-pci,netdev=net74,mac=50:00:00:01:00:4a -netdev tap,id=net74,ifname=vunl0_1_74,script=no -device virtio-net-pci,netdev=net75,mac=50:00:00:01:00:4b -netdev tap,id=net75,ifname=vunl0_1_75,script=no -device virtio-net-pci,netdev=net76,mac=50:00:00:01:00:4c -netdev tap,id=net76,ifname=vunl0_1_76,script=no -device virtio-net-pci,netdev=net77,mac=50:00:00:01:00:4d -netdev tap,id=net77,ifname=vunl0_1_77,script=no -device virtio-net-pci,netdev=net78,mac=50:00:00:01:00:4e -netdev tap,id=net78,ifname=vunl0_1_78,script=no -device virtio-net-pci,netdev=net79,mac=50:00:00:01:00:4f -netdev tap,id=net79,ifname=vunl0_1_79,script=no -device virtio-net-pci,netdev=net80,mac=50:00:00:01:00:50 -netdev tap,id=net80,ifname=vunl0_1_80,script=no -device virtio-net-pci,netdev=net81,mac=50:00:00:01:00:51 -netdev tap,id=net81,ifname=vunl0_1_81,script=no -device virtio-net-pci,netdev=net82,mac=50:00:00:01:00:52 -netdev tap,id=net82,ifname=vunl0_1_82,script=no -device virtio-net-pci,netdev=net83,mac=50:00:00:01:00:53 -netdev tap,id=net83,ifname=vunl0_1_83,script=no -device virtio-net-pci,netdev=net84,mac=50:00:00:01:00:54 -netdev tap,id=net84,ifname=vunl0_1_84,script=no -device virtio-net-pci,netdev=net85,mac=50:00:00:01:00:55 -netdev tap,id=net85,ifname=vunl0_1_85,script=no -device virtio-net-pci,netdev=net86,mac=50:00:00:01:00:56 -netdev tap,id=net86,ifname=vunl0_1_86,script=no -device virtio-net-pci,netdev=net87,mac=50:00:00:01:00:57 -netdev tap,id=net87,ifname=vunl0_1_87,script=no -device virtio-net-pci,netdev=net88,mac=50:00:00:01:00:58 -netdev tap,id=net88,ifname=vunl0_1_88,script=no -device virtio-net-pci,netdev=net89,mac=50:00:00:01:00:59 -netdev tap,id=net89,ifname=vunl0_1_89,script=no -device virtio-net-pci,netdev=net90,mac=50:00:00:01:00:5a -netdev tap,id=net90,ifname=vunl0_1_90,script=no -device virtio-net-pci,netdev=net91,mac=50:00:00:01:00:5b -netdev tap,id=net91,ifname=vunl0_1_91,script=no -device virtio-net-pci,netdev=net92,mac=50:00:00:01:00:5c -netdev tap,id=net92,ifname=vunl0_1_92,script=no -device virtio-net-pci,netdev=net93,mac=50:00:00:01:00:5d -netdev tap,id=net93,ifname=vunl0_1_93,script=no -device virtio-net-pci,netdev=net94,mac=50:00:00:01:00:5e -netdev tap,id=net94,ifname=vunl0_1_94,script=no -device virtio-net-pci,netdev=net95,mac=50:00:00:01:00:5f -netdev tap,id=net95,ifname=vunl0_1_95,script=no -device virtio-net-pci,netdev=net96,mac=50:00:00:01:00:60 -netdev tap,id=net96,ifname=vunl0_1_96,script=no -device virtio-net-pci,netdev=net97,mac=50:00:00:01:00:61 -netdev tap,id=net97,ifname=vunl0_1_97,script=no -smp 4 -m 5120 -name vJunos-switch -uuid ac7d4bc3-e8f7-471d-9177-288b1ede4e35 -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc,accel=kvm -serial mon:stdio -nographic -cpu host -smbios type=1,product=VM-VEX > /opt/unetlab/tmp/0/f8c0cb9b-2dfc-43bf-ae65-008f696075a2/1/wrapper.txt 2>&1 &
One of the failed VM's wrapper.txt:

Code: Select all

root@eve:~# cat  /opt/unetlab/tmp/0/f8c0cb9b-2dfc-43bf-ae65-008f696075a2/1/wrapper.txt
27/3 2:42:28.178 INF	Tennant_id = 0
27/3 2:42:28.178 INF	Device_id = 1
27/3 2:42:28.178 INF	TS configured.
27/3 2:42:28.179 INF	Starting child (TAG=T0D1- chroot . /opt/qemu-6.0.0/bin/qemu-system-x86_64 -nographic -device virtio-net-pci,netdev=net0,mac=50:00:00:01:00:00 -netdev tap,id=net0,ifname=vunl0_1_0,script=no -device virtio-net-pci,netdev=net1,mac=50:00:00:01:00:01 -netdev tap,id=net1,ifname=vunl0_1_1,script=no -device virtio-net-pci,netdev=net2,mac=50:00:00:01:00:02 -netdev tap,id=net2,ifname=vunl0_1_2,script=no -device virtio-net-pci,netdev=net3,mac=50:00:00:01:00:03 -netdev tap,id=net3,ifname=vunl0_1_3,script=no -device virtio-net-pci,netdev=net4,mac=50:00:00:01:00:04 -netdev tap,id=net4,ifname=vunl0_1_4,script=no -device virtio-net-pci,netdev=net5,mac=50:00:00:01:00:05 -netdev tap,id=net5,ifname=vunl0_1_5,script=no -device virtio-net-pci,netdev=net6,mac=50:00:00:01:00:06 -netdev tap,id=net6,ifname=vunl0_1_6,script=no -device virtio-net-pci,netdev=net7,mac=50:00:00:01:00:07 -netdev tap,id=net7,ifname=vunl0_1_7,script=no -device virtio-net-pci,netdev=net8,mac=50:00:00:01:00:08 -netdev tap,id=net8,ifname=vunl0_1_8,script=no -device virtio-net-pci,netdev=net9,mac=50:00:00:01:00:09 -netdev tap,id=net9,ifname=vunl0_1_9,script=no -device virtio-net-pci,netdev=net10,mac=50:00:00:01:00:0a -netdev tap,id=net10,ifname=vunl0_1_10,script=no -device virtio-net-pci,netdev=net11,mac=50:00:00:01:00:0b -netdev tap,id=net11,ifname=vunl0_1_11,script=no -device virtio-net-pci,netdev=net12,mac=50:00:00:01:00:0c -netdev tap,id=net12,ifname=vunl0_1_12,script=no -device virtio-net-pci,netdev=net13,mac=50:00:00:01:00:0d -netdev tap,id=net13,ifname=vunl0_1_13,script=no -device virtio-net-pci,netdev=net14,mac=50:00:00:01:00:0e -netdev tap,id=net14,ifname=vunl0_1_14,script=no -device virtio-net-pci,netdev=net15,mac=50:00:00:01:00:0f -netdev tap,id=net15,ifname=vunl0_1_15,script=no -device virtio-net-pci,netdev=net16,mac=50:00:00:01:00:10 -netdev tap,id=net16,ifname=vunl0_1_16,script=no -device virtio-net-pci,netdev=net17,mac=50:00:00:01:00:11 -netdev tap,id=net17,ifname=vunl0_1_17,script=no -device virtio-net-pci,netdev=net18,mac=50:00:00:01:00:12 -netdev tap,id=net18,ifname=vunl0_1_18,script=no -device virtio-net-pci,netdev=net19,mac=50:00:00:01:00:13 -netdev tap,id=net19,ifname=vunl0_1_19,script=no -device virtio-net-pci,netdev=net20,mac=50:00:00:01:00:14 -netdev tap,id=net20,ifname=vunl0_1_20,script=no -device virtio-net-pci,netdev=net21,mac=50:00:00:01:00:15 -netdev tap,id=net21,ifname=vunl0_1_21,script=no -device virtio-net-pci,netdev=net22,mac=50:00:00:01:00:16 -netdev tap,id=net22,ifname=vunl0_1_22,script=no -device virtio-net-pci,netdev=net23,mac=50:00:00:01:00:17 -netdev tap,id=net23,ifname=vunl0_1_23,script=no -device virtio-net-pci,netdev=net24,mac=50:00:00:01:00:18 -netdev tap,id=net24,ifname=vunl0_1_24,script=no -device virtio-net-pci,netdev=net25,mac=50:00:00:01:00:19 -netdev tap,id=net25,ifname=vunl0_1_25,script=no -device virtio-net-pci,netdev=net26,mac=50:00:00:01:00:1a -netdev tap,id=net26,ifname=vunl0_1_26,script=no -device virtio-net-pci,netdev=net27,mac=50:00:00:01:00:1b -netdev tap,id=net27,ifname=vunl0_1_27,script=no -device virtio-net-pci,netdev=net28,mac=50:00:00:01:00:1c -netdev tap,id=net28,ifname=vunl0_1_28,script=no -device virtio-net-pci,netdev=net29,mac=50:00:00:01:00:1d -netdev tap,id=net29,ifname=vunl0_1_29,script=no -device virtio-net-pci,netdev=net30,mac=50:00:00:01:00:1e -netdev tap,id=net30,ifname=vunl0_1_30,script=no -device virtio-net-pci,netdev=net31,mac=50:00:00:01:00:1f -netdev tap,id=net31,ifname=vunl0_1_31,script=no -device virtio-net-pci,netdev=net32,mac=50:00:00:01:00:20 -netdev tap,id=net32,ifname=vunl0_1_32,script=no -device virtio-net-pci,netdev=net33,mac=50:00:00:01:00:21 -netdev tap,id=net33,ifname=vunl0_1_33,script=no -device virtio-net-pci,netdev=net34,mac=50:00:00:01:00:22 -netdev tap,id=net34,ifname=vunl0_1_34,script=no -device virtio-net-pci,netdev=net35,mac=50:00:00:01:00:23 -netdev tap,id=net35,ifname=vunl0_1_35,script=no -device virtio-net-pci,netdev=net36,mac=50:00:00:01:00:24 -netdev tap,id=net36,ifname=vunl0_1_36,script=no -device virtio-net-pci,netdev=net37,mac=50:00:00:01:00:25 -netdev tap,id=net37,ifname=vunl0_1_37,script=no -device virtio-net-pci,netdev=net38,mac=50:00:00:01:00:26 -netdev tap,id=net38,ifname=vunl0_1_38,script=no -device virtio-net-pci,netdev=net39,mac=50:00:00:01:00:27 -netdev tap,id=net39,ifname=vunl0_1_39,script=no -device virtio-net-pci,netdev=net40,mac=50:00:00:01:00:28 -netdev tap,id=net40,ifname=vunl0_1_40,script=no -device virtio-net-pci,netdev=net41,mac=50:00:00:01:00:29 -netdev tap,id=net41,ifname=vunl0_1_41,script=no -device virtio-net-pci,netdev=net42,mac=50:00:00:01:00:2a -netdev tap,id=net42,ifname=vunl0_1_42,script=no -device virtio-net-pci,netdev=net43,mac=50:00:00:01:00:2b -netdev tap,id=net43,ifname=vunl0_1_43,script=no -device virtio-net-pci,netdev=net44,mac=50:00:00:01:00:2c -netdev tap,id=net44,ifname=vunl0_1_44,script=no -device virtio-net-pci,netdev=net45,mac=50:00:00:01:00:2d -netdev tap,id=net45,ifname=vunl0_1_45,script=no -device virtio-net-pci,netdev=net46,mac=50:00:00:01:00:2e -netdev tap,id=net46,ifname=vunl0_1_46,script=no -device virtio-net-pci,netdev=net47,mac=50:00:00:01:00:2f -netdev tap,id=net47,ifname=vunl0_1_47,script=no -device virtio-net-pci,netdev=net48,mac=50:00:00:01:00:30 -netdev tap,id=net48,ifname=vunl0_1_48,script=no -device virtio-net-pci,netdev=net49,mac=50:00:00:01:00:31 -netdev tap,id=net49,ifname=vunl0_1_49,script=no -device virtio-net-pci,netdev=net50,mac=50:00:00:01:00:32 -netdev tap,id=net50,ifname=vunl0_1_50,script=no -device virtio-net-pci,netdev=net51,mac=50:00:00:01:00:33 -netdev tap,id=net51,ifname=vunl0_1_51,script=no -device virtio-net-pci,netdev=net52,mac=50:00:00:01:00:34 -netdev tap,id=net52,ifname=vunl0_1_52,script=no -device virtio-net-pci,netdev=net53,mac=50:00:00:01:00:35 -netdev tap,id=net53,ifname=vunl0_1_53,script=no -device virtio-net-pci,netdev=net54,mac=50:00:00:01:00:36 -netdev tap,id=net54,ifname=vunl0_1_54,script=no -device virtio-net-pci,netdev=net55,mac=50:00:00:01:00:37 -netdev tap,id=net55,ifname=vunl0_1_55,script=no -device virtio-net-pci,netdev=net56,mac=50:00:00:01:00:38 -netdev tap,id=net56,ifname=vunl0_1_56,script=no -device virtio-net-pci,netdev=net57,mac=50:00:00:01:00:39 -netdev tap,id=net57,ifname=vunl0_1_57,script=no -device virtio-net-pci,netdev=net58,mac=50:00:00:01:00:3a -netdev tap,id=net58,ifname=vunl0_1_58,script=no -device virtio-net-pci,netdev=net59,mac=50:00:00:01:00:3b -netdev tap,id=net59,ifname=vunl0_1_59,script=no -device virtio-net-pci,netdev=net60,mac=50:00:00:01:00:3c -netdev tap,id=net60,ifname=vunl0_1_60,script=no -device virtio-net-pci,netdev=net61,mac=50:00:00:01:00:3d -netdev tap,id=net61,ifname=vunl0_1_61,script=no -device virtio-net-pci,netdev=net62,mac=50:00:00:01:00:3e -netdev tap,id=net62,ifname=vunl0_1_62,script=no -device virtio-net-pci,netdev=net63,mac=50:00:00:01:00:3f -netdev tap,id=net63,ifname=vunl0_1_63,script=no -device virtio-net-pci,netdev=net64,mac=50:00:00:01:00:40 -netdev tap,id=net64,ifname=vunl0_1_64,script=no -device virtio-net-pci,netdev=net65,mac=50:00:00:01:00:41 -netdev tap,id=net65,ifname=vunl0_1_65,script=no -device virtio-net-pci,netdev=net66,mac=50:00:00:01:00:42 -netdev tap,id=net66,ifname=vunl0_1_66,script=no -device virtio-net-pci,netdev=net67,mac=50:00:00:01:00:43 -netdev tap,id=net67,ifname=vunl0_1_67,script=no -device virtio-net-pci,netdev=net68,mac=50:00:00:01:00:44 -netdev tap,id=net68,ifname=vunl0_1_68,script=no -device virtio-net-pci,netdev=net69,mac=50:00:00:01:00:45 -netdev tap,id=net69,ifname=vunl0_1_69,script=no -device virtio-net-pci,netdev=net70,mac=50:00:00:01:00:46 -netdev tap,id=net70,ifname=vunl0_1_70,script=no -device virtio-net-pci,netdev=net71,mac=50:00:00:01:00:47 -netdev tap,id=net71,ifname=vunl0_1_71,script=no -device virtio-net-pci,netdev=net72,mac=50:00:00:01:00:48 -netdev tap,id=net72,ifname=vunl0_1_72,script=no -device virtio-net-pci,netdev=net73,mac=50:00:00:01:00:49 -netdev tap,id=net73,ifname=vunl0_1_73,script=no -device virtio-net-pci,netdev=net74,mac=50:00:00:01:00:4a -netdev tap,id=net74,ifname=vunl027/3 2:42:28.178 INF	Tennant_id = 0
27/3 2:42:28.178 INF	Device_id = 1
27/3 2:42:28.178 INF	TS configured.

Re: Problem Adding >30 interfaces to vJunos-switch image

Posted: Thu Apr 27, 2023 6:45 am
by Uldis (UD)
Juniper claimed themselves, only 11 interfaces are supported for vEX 23.1

And on this CPU i3, it is wonder if you could even start this vEX

Re: Problem Adding >30 interfaces to vJunos-switch image

Posted: Thu Apr 27, 2023 12:26 pm
by dark_15
I've been able to get 25 interfaces connected easily. And boot up 4 vJunos-switch appliances without a problem at 25 interfaces, and forward traffic on all of them. But it really looks like the wrapper script is truncating commands somehow or breaking something.
Juniper claimed themselves, only 11 interfaces are supported for vEX 23.1
They claim 96 interfaces, but have an open PR (PR1720270) that limits interface configuration to 64 interfaces. You can adjust the number of interfaces on the PIC using the command set chassis fpc 0 pic 0 number-of-ports <n> <- the default is 10.

But I can't even get 30 interfaces to boot. 29 interfaces works; 30 does not. I should note this is the interface count in Eve-NG; which translates out to 27 configurable interfaces inside vJunos-switch.

The CPU is i3, but it's Coffee Lake and has VT-x support. It's nice to have a bare metal Eve-NG lab that fits in the palm of my hand and is near silent.

Are there better diagnostics/logs I can run in order to see why the qemu-ifdown command is failing?

Re: Problem Adding >30 interfaces to vJunos-switch image

Posted: Fri Apr 28, 2023 1:53 pm
by Uldis (UD)
You WAS able...
but current Juniper EX supports only 11, thats it
it is official announce from from Juniper...

read here
https://www.eve-ng.net/index.php/docume ... ex-switch/

I was happey with pre release, but now it is what it is

Re: Problem Adding >30 interfaces to vJunos-switch image

Posted: Fri Apr 28, 2023 3:50 pm
by dark_15
but current Juniper EX supports only 11, thats it
This is an incorrect statement, and I would ask that you please provide a link to where the 11 interface limitation is documented.

Juniper has made no such announcement on the interface limitations outside of the aforementioned PR where 96 interfaces can be added to the pic, but only 64 interfaces can be configured. The release notes show no such limitations. Here is my current lab setup:
Screenshot 2023-04-28 at 16.25.26.png
By default the image will only show 11 interfaces, including fxp0 (and em1, IIRC):

Code: Select all

[edit]
root@vJunos-switch-1# run show interfaces terse ge*             
Interface               Admin Link Proto    Local                 Remote
ge-0/0/0                up    up
ge-0/0/0.0              up    up   
ge-0/0/1                up    up
ge-0/0/1.16386          up    up  
ge-0/0/2                up    up
ge-0/0/2.16386          up    up  
ge-0/0/3                up    up
ge-0/0/3.16386          up    up  
ge-0/0/4                up    up
ge-0/0/4.16386          up    up  
ge-0/0/5                up    up
ge-0/0/5.16386          up    up  
ge-0/0/6                up    up
ge-0/0/6.16386          up    up  
ge-0/0/7                up    up
ge-0/0/7.16386          up    up  
ge-0/0/8                up    up
ge-0/0/8.16386          up    up  
ge-0/0/9                up    up
ge-0/0/9.16386          up    up  

[edit]
root@vJunos-switch-1# run show interfaces terse fxp*   
Interface               Admin Link Proto    Local                 Remote
fxp0                    up    up
fxp0.0                  up    up   inet     10.200.15.36/24 
                                   inet6    2a09:4c0:57e0:1d7::d577
                                            fe80::5200:ff:fe01:0/64
You can easily change this by adjusting the chassis FPC/PIC settings:

Code: Select all


[edit]
root@vJunos-switch-1# set chassis fpc 0 pic 0 number-of-ports ?     
Possible completions:
  <number-of-ports>    Number of physical ports to enable on PIC (1..96)

[edit]
root@vJunos-switch-1# set chassis fpc 0 pic 0 number-of-ports 26 

[edit]
root@vJunos-switch-1# commit             
commit complete
Now when I check the interface statuses you can see the interfaces and I can configure them without issue:

Code: Select all

[edit]
root@vJunos-switch-1# run show interfaces terse ge* | grep inet 
ge-0/0/0.0              up    up   inet     192.168.100.1/24
ge-0/0/15.0             up    up   inet     172.24.1.1/24   
ge-0/0/25.0             up    up   inet     10.255.1.1/24   

Code: Select all

root@vJunos-switch-2> show interfaces ge-0/0/* terse | grep inet 
ge-0/0/0.0              up    up   inet     192.168.100.2/24
ge-0/0/15.0             up    up   inet     172.24.1.2/24   
ge-0/0/25.0             up    up   inet     10.255.1.2/24   
I am able to pass traffic on the interfaces - including those beyond ge-0/0/9 - without a problem. I just configured BGP on those interfaces which establish just fine:

Code: Select all

root@vJunos-switch-1> show bgp summary 

Warning: License key missing; requires 'bgp' license

Threading mode: BGP I/O
Default eBGP mode: advertise - accept, receive - accept
Groups: 3 Peers: 3 Down peers: 0
Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
inet.0               
                       0          0          0          0          0          0
Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
10.255.1.2            65001         11         10       0       0        3:40 Establ
  inet.0: 0/0/0/0
172.24.1.2            65001         11         10       0       0        3:40 Establ
  inet.0: 0/0/0/0
192.168.100.2         65001         11         10       0       3        3:42 Establ
  inet.0: 0/0/0/0

Code: Select all

root@vJunos-switch-2> show bgp summary 

Warning: License key missing; requires 'bgp' license

Threading mode: BGP I/O
Default eBGP mode: advertise - accept, receive - accept
Groups: 3 Peers: 3 Down peers: 0
Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
inet.0               
                       0          0          0          0          0          0
Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
10.255.1.1            65000          6          5       0       0        1:48 Establ
  inet.0: 0/0/0/0
172.24.1.1            65000          6          5       0       0        1:48 Establ
  inet.0: 0/0/0/0
192.168.100.1         65000          7          6       0       3        1:51 Establ
  inet.0: 0/0/0/0


Configuration aside, when I try to start the VM with 30+ interfaces the VM fails to boot, and I end up with a mess of vun interfaces that don't clear out until I reboot the system running eve-ng. and the the error messages on the console in the attached picture clearly show that something is borked with qemu/unl_wrapper, and right at interface #29:

Image

I can also reproduce this behaviour on other VMs, such as the vMX-VFP, which is supposed to support 96 interfaces as well; when I add 30 interfaces or more the VM will not start, and leaves a mess of vun interfaces:

Code: Select all

root@eve:~# ifconfig| grep vun

<...snip...>

vunl0_3_0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_3: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_4: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_5: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_6: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_7: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_8: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_9: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_10: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_11: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_12: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_13: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_14: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_15: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_16: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_17: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_18: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_19: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_20: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_21: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_22: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_23: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_24: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_25: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_26: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_27: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_28: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
vunl0_3_29: flags=4099<UP,BROADCAST,MULTICAST>  mtu 9000
I'm fairly confident the unl_wrapper is truncating the interface config, based on the logs I've gleaned so far. What other logs/details can I look at to confirm my suspicions?

Re: Problem Adding >30 interfaces to vJunos-switch image

Posted: Fri Apr 28, 2023 8:39 pm
by Uldis (UD)
https://www.linkedin.com/posts/uldisdze ... er_desktop

https://www.eve-ng.net/index.php/docume ... ex-switch/

All works, 11 interfaces VEX

previous image vEX 21.1R1 which I got from Juniper was ok with 24 NICs

For vMX is hint
Edit vMX templates and set VFP and VCP ethernet interface type to virtio
Edit VCP template to set int qnty to 25

Code: Select all

[edit]
root@vmx# set chassis fpc 0 pic 0 number-of-ports 23
65 NICs also works on cisco Nexus 9000v

just a question why for labbing need 100 NICs???

Re: Problem Adding >30 interfaces to vJunos-switch image

Posted: Mon May 01, 2023 10:55 pm
by Uldis (UD)
Solved, Attached updated template
and after in edit mode issue:

Code: Select all

set chassis fpc 0 pic 0 number-of-ports 64
On Pic 64 interfaces Juniper vEX switch