Giter Club home page Giter Club logo

Comments (6)

Kristian4078 avatar Kristian4078 commented on June 3, 2024

same issue even on

multipass version

multipass   1.14.0-dev.1742+g19f84771
multipassd  1.14.0-dev.1742+g19f84771

multipass info

Name:           node1
State:          Running
Snapshots:      0
IPv4:           10.61.145.82
Release:        Ubuntu 22.04.4 LTS
Image hash:     bd476bc534ba (Ubuntu 22.04 LTS)
CPU(s):         1
Load:           0.00 0.00 0.00
Disk usage:     1.4GiB out of 4.8GiB
Memory usage:   172.2MiB out of 951.8MiB
Mounts:         --

ubuntu@node1:~$ ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2046ms

Not only can my instance not send or receive any network packets. but instance cannot send or receive packets from each other via local DNS. e.g.

I have two instances.

multipass info node1 && multipass info node2

Name:           node1
State:          Running
Snapshots:      0
IPv4:           10.61.145.82
Release:        Ubuntu 22.04.4 LTS
Image hash:     bd476bc534ba (Ubuntu 22.04 LTS)
CPU(s):         1
Load:           0.00 0.00 0.00
Disk usage:     1.4GiB out of 4.8GiB
Memory usage:   171.7MiB out of 951.8MiB
Mounts:         --
Name:           node2
State:          Running
Snapshots:      0
IPv4:           10.61.145.180
Release:        Ubuntu 22.04.4 LTS
Image hash:     bd476bc534ba (Ubuntu 22.04 LTS)
CPU(s):         1
Load:           0.00 0.02 0.00
Disk usage:     1.4GiB out of 4.8GiB
Memory usage:   175.8MiB out of 951.8MiB
Mounts:         --

multipass exec node2 -- ping 10.61.145.82

PING 10.61.145.82 (10.61.145.82) 56(84) bytes of data.

--- 10.61.145.82 ping statistics ---
19 packets transmitted, 0 received, 100% packet loss, time 18419ms

from multipass.

andrei-toterman avatar andrei-toterman commented on June 3, 2024

Hey @uishon and @Kristian4078! Multipass is also available directly on Windows (get the latest version here: https://multipass.run/download/windows). Is there a particular reason for running it inside WSL? We don't officially support running Multipass inside WSL, so the version of Linux that it provides might be missing some needed features.

from multipass.

uishon avatar uishon commented on June 3, 2024

Thanks. I'm aware of multipass on WIndows and I'm actually using it. Works well. My specific use case, however, is that I have a linux VPN client running on WSL. When I want to spin up a multipass instance that uses this VPN connection (set up by that linux VPN client on WSL), the simplest way I could think of was to run multipass on my WSL. If I'm not mistaken (and, indeed, I can't be sure since I'm, indeed, using multipass on Windows most of the time) - this used to work for me in the past. Anyway, if not supported, is there a way to get mulitpass on Windows instances use the WSL network?

from multipass.

andrei-toterman avatar andrei-toterman commented on June 3, 2024

I'm not very knowledgeable about how WSL works, but if it exposes a switch, you should be able to connect to it by launching an instance using the --network option.

from multipass.

uishon avatar uishon commented on June 3, 2024

Thanks. That didn't work for me though. Connecting to the WSL network is not enough for sharing the VPN connection. I believe I need the VPN connection to be set up at the host OS level. Anyway, ended up with using multipass on an Ubuntu VM instead of WSL.

from multipass.

townsend2010 avatar townsend2010 commented on June 3, 2024

Hi @uishon!

Thanks for following up. We're going to go ahead and close this since we really don't support running in a WSL instance anyways.

from multipass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.