Comments (6)
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.
"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.
"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.
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.
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.
cc @jandubois
from vde_vmnet.
Related Issues (18)
- Support bridge mode
- Cross-compile vde_vmnet for ARM target HOT 4
- Conflicts with VMware Fusion
- Move from github.com/AkihiroSuda to github.com/lima-vm
- Installing vde via brew doesn't work HOT 4
- Why is the `vde_switch` daemon running as `daemon` HOT 1
- Which device drivers are supported? HOT 1
- sudoers entries should be prefixed with a digest spec HOT 2
- Include a tarball with pre-compiled binaries in vde_vmnet releases HOT 6
- Build an installer that can be installed as a brew cask HOT 3
- Consider creating VDE-less version with `-netdev socket,fd=N` HOT 1
- Networking speeds are slow, is this expected? HOT 7
- /var/run/vde.ctl and /var/run/vde.bridged.en0.ctl missing HOT 1
- vde_vmnet fails to start when Internet Sharing is active.
- Unable to ping VM host (lima/colima) HOT 1
- Security Policy violation Branch Protection HOT 2
- Security Policy violation SECURITY.md HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vde_vmnet.