Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with VM port forwarding when on boot. #336

Open
jghuathuat opened this issue Dec 28, 2024 · 0 comments
Open

Issue with VM port forwarding when on boot. #336

jghuathuat opened this issue Dec 28, 2024 · 0 comments

Comments

@jghuathuat
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant