Giter Club home page Giter Club logo

Comments (6)

rupesh-papneja avatar rupesh-papneja commented on July 28, 2024 1

I have been able to connect the k3s linux master and k3s agent running via lima in bridged mode on M1 mac.

After creating the VM via limactl, bridge network is created. Identified it and manually bridged the "bridge" network, like bridge100 to the interface that is allocating ip to the host machine like on en1.
sudo ifconfig bridge100 addm en1

After that, restarted the k3s agent supplying the flag --node-ip (host-network ip) and also set '--flannel-iface' to point to the right host network interface.

from vde_vmnet.

AkihiroSuda avatar AkihiroSuda commented on July 28, 2024

"Switchless mode" may work as a workaround
https://github.com/lima-vm/vde_vmnet/tree/v0.4.0#ptp-mode-switchless-mode
https://github.com/lima-vm/lima/blob/v0.6.0/pkg/limayaml/default.yaml#L133

from vde_vmnet.

yuchanns avatar yuchanns commented on July 28, 2024

"Switchless mode" may work as a workaround
https://github.com/lima-vm/vde_vmnet/tree/v0.4.0#ptp-mode-switchless-mode
https://github.com/lima-vm/lima/blob/v0.6.0/pkg/limayaml/default.yaml#L133

$ sudo vde_vmnet /tmp/vde.ptp[]
zsh: no matches found: /tmp/vde.ptp[]

Did I missed anything?

Also, I notice that readme said the ptp mode doesn't support multi vm

from vde_vmnet.

AkihiroSuda avatar AkihiroSuda commented on July 28, 2024

Did I missed anything?

I don't know about zsh, but you'll probably have to escape the brackets

Also, I notice that readme said the ptp mode doesn't support multi vm

That description is for shared mode.
Should work for multi-VM with bridged mode (untested).

from vde_vmnet.

rupesh-papneja avatar rupesh-papneja commented on July 28, 2024

I am also facing the same issue. I am testing lima-vm and creating k3s agent on mac M1, which I want to connect to another system on host network. (k3s-sever on existing linux box)

Is there a way for the VMs created be assigned the IP address from the host network and be discoverable. bridged mode is not working as I thought it would.

Tried the command
sudo vde_vmnet /tmp/vde.ptp[]

getting below message:
vde_send: Destination address required

from vde_vmnet.

AkihiroSuda avatar AkihiroSuda commented on July 28, 2024

cc @jandubois

from vde_vmnet.

Related Issues (18)

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.