Cannot attach a NIC with unplugged cable by public_network on bridge mode
Yohnah opened this issue · comments
I'm trying to create a virtual machine using Vagrant + parallels plugin.
This virtual machine require 3 NIC and I setup the Vagrantfile using the public_network as follows:
Vagrant.configure("2") do |config|
config.vm.network "public_network", bridge: en0
config.vm.network "public_network", bridge: en8
config.vm.network "public_network", bridge: en9
end
en0, en8 and en9 are ethernet NICs and I need to attach them to virtual machine, and it is detected by prlsrvctl command
The main problem is en0 has unplugged the ethernet cable and, when I tried to vagrant up, I receive the next message:
![image](https://private-user-images.githubusercontent.com/5250544/279715950-2dec0fa1-f4bc-48a2-ad26-b320e0819d96.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDA5ODMzOTMsIm5iZiI6MTcwMDk4MzA5MywicGF0aCI6Ii81MjUwNTQ0LzI3OTcxNTk1MC0yZGVjMGZhMS1mNGJjLTQ4YTItYWQyNi1iMzIwZTA4MTlkOTYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQUlXTkpZQVg0Q1NWRUg1M0ElMkYyMDIzMTEyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyMzExMjZUMDcxODEzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2ZkNGRmNTFmN2ZlMTdlZjdiMjAyMmU2ZGYzNmIxM2ZiNmE2ZmQwNjk3ODU3NzFkYTZjYzA0YTIwN2I3NzA0YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.BH6pKaxKBVyJcDFPkFOqnszcZBK2kZVkJnG6YpM_ozY)
If I attach the cable it works fine.
I need to vagrant up the machine with the unplugged cable first, and once the machine is up, plugged it by own reasons.
Are there any configurations I can add to Vagrantfile to reach out this goal?
Thanks
In addition, I've just tested it by using Virtualbox (and same device), and Virtualbox allows to attach the NIC althoug the cable is unplugged.
So,the problem seems to be focussed on parallels plugin
Thanks