-
Notifications
You must be signed in to change notification settings - Fork 660
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
No IP address when using the VirtualBox driver #1262
Comments
Hi @SchnuckySchuster, you're using the VirtualBox backend, right? The problem with VBox's default networking is that it is not accessible from the host, so it seemed wrong to show it in If you switch to the default We'll enable more networking options (#118, #309) in due course, bear with us! In the mean time, we'll improve our documentation on this. |
Well, what shall I say, that was the problem. |
I met same problem, when I set up microk8s env in multipass vm: Hope multipass supports virutalbox better ASAP |
Hi @gino2010 indeed it's a routing problem, you'd need to tell your VPN software to route traffic from the With VirtualBox, however, you can use the port forwarding features to expose ports from the instance on your |
Hi @Saviq |
I faced this problem, but it seems on my system that VBoxManage has no knowledge of the VM multipass created, thus I can't do any port mapping |
@Saviq Are you saying that despite the fact that “multipass list” command does not display any IP when the local.driver is VirtualBox, that there is still a way to access ports (like Nginx or Kubernetes API server ports) from the local host? Any pointers/documentation on how to do it? |
@salerio-gs did you use @indrayam yes, by means of VBox's internal port forwarding. See the vboxmanage manual I mentioned above. |
@Saviq no |
@salerio-gs you'll need that, the VMs are defined under the SYSTEM user's VirtualBox profile. |
@Saviq Ok, I am a bit lost. Setup:
My local.driver setting is If I try to use Thoughts? |
@indrayam on macOS you need to run |
Thanks @Saviq. That indeed did the trick. However, it begs the question: Is there a way to run multipass and multipassd as a regular (non-root) user so that I do not have to run
to see all my VirtualBox VMs. In any case, I do appreciate you helping me solve this riddle. I was really stumped where my VirtualBox VMs were 😄 ~Anand |
Hi @indrayam, not at the moment, I'm afraid. Multipass is (on purpose) a system-wide service, so there's no way to bind it to your account. |
It would be really great to have instructions on how to manage this using VirtualBox on Windows 10. Things are super easy with |
You can now use |
Hi there,
I realise that there is the closed issue "Instances has no IPv4 address #839", but please continue reading
I run the following commands
I see
The entire rest of the world seems to get something like this
Why do I see no IPv4 address?
I can ping out to the internet
But I can not ping my "spacious-gryphon" as I have no IPv4 address.
13:14:37 ~ > multipass info spacious-gryphon
Name: spacious-gryphon
State: Running
IPv4: N/A
Release: Ubuntu 18.04.3 LTS
Image hash: 6afb97af96b6 (Ubuntu 18.04 LTS)
Load: 0.00 0.00 0.00
Disk usage: 999.5M out of 4.7G
Memory usage: 71.9M out of 985.5M
The text was updated successfully, but these errors were encountered: