GOAD icon indicating copy to clipboard operation
GOAD copied to clipboard

Issue with VM port forwarding when on boot.

Open jghuathuat opened this issue 1 year ago • 0 comments

Not sure if this is the right place to share this.

When installing the labs, everything was okay. But after closing and launching it again with 'start', it seems that there is a mismatch in the VM IP address being selected for forwarding, such that the host-only interface ip address is selected instead of the NAT address, which leads to vagrant hanging at the step below and then timing out.

This issue is seemingly random across multiple installs, some VMs were OK some were not. I suspect it has to do with the boot order of the network interface but can't find a way to resolve them.

I'm using vmware workstation + vm provisioning on windows 11 host. Network setting in VMWare is pretty much default, VMNet1 (Host Only) and VMNet8 (NAT).

==> GOAD-Light-DC01: Forwarding ports...
    GOAD-Light-DC01: -- 5985 => 2200
    GOAD-Light-DC01: -- 5986 => 2201
    GOAD-Light-DC01: -- 22 => 2202
==> GOAD-Light-DC01: Waiting for machine to boot. This may take a few minutes...
  GOAD-Light-DC01: WinRM address: 127.0.0.1:2200
  GOAD-Light-DC01: WinRM username: vagrant
  GOAD-Light-DC01: WinRM execution_time_limit: PT2H
  GOAD-Light-DC01: WinRM transport: plaintext

image

jghuathuat avatar Dec 28 '24 16:12 jghuathuat