DetectionLab icon indicating copy to clipboard operation
DetectionLab copied to clipboard

Failed to fix the broken static IP for eth1. Exiting because this will cause problems with other VMs.

Open rcegan opened this issue 3 years ago • 4 comments

  • Operating System Version: Ubuntu 20.04.4 LTS
  • Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): Virtualbox
  • Vagrant Version (if applicable): 2.2.19

I'm trying to build the lab using Virtualbox on a headless Ubuntu Linux VM. After running vagrant up (and verifying all green ticks in prepare.sh), I'm getting the following error from logger while bootstrap is running:

    logger: [+] python3-pip was successfully installed!
    logger: Incorrect IP Address settings detected. Attempting to fix.
    logger: [02:19:45]: Failed to fix the broken static IP for eth1. Exiting because this will cause problems with other VMs.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

I've searched some of the previous issues but not able to find anything directly relevant. I've also tried creating a dummy eth1 network device with ip as my VM doesn't have one, and same issue.

rcegan avatar Aug 07 '22 02:08 rcegan

Hello,

just encountered the same issue with virtualbox, while using the latest version on detectionlab and virualbox.

hosniadnane avatar Aug 18 '22 08:08 hosniadnane

  • Operating System Version: Ubuntu 20.04.4 LTS
  • Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): Virtualbox
  • Vagrant Version (if applicable): 2.2.19

I'm trying to build the lab using Virtualbox on a headless Ubuntu Linux VM. After running vagrant up (and verifying all green ticks in prepare.sh), I'm getting the following error from logger while bootstrap is running:

    logger: [+] python3-pip was successfully installed!
    logger: Incorrect IP Address settings detected. Attempting to fix.
    logger: [02:19:45]: Failed to fix the broken static IP for eth1. Exiting because this will cause problems with other VMs.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

I've searched some of the previous issues but not able to find anything directly relevant. I've also tried creating a dummy eth1 network device with ip as my VM doesn't have one, and same issue.

just did : vagrant reload logger --provision, and the issue has been solved.

hosniadnane avatar Aug 18 '22 08:08 hosniadnane

I just ran into this as well and I'm not totally sure why it's happening occasionally. I added a debug line to output what the script thinks the eth1 IP address is in a newer commit

clong avatar Sep 17 '22 05:09 clong

I had the same issue, another vagrant up solved the issue for me

security-companion avatar Dec 17 '22 16:12 security-companion