Replies: 2 comments 1 reply
-
eg networks:
# Lima can manage the socket_vmnet daemon for networks defined in $LIMA_HOME/_config/networks.yaml automatically.
# The socket_vmnet binary must be installed into a secure location only alterable by the admin.
# $LIMA_HOME/_config/networks.yaml. Supported network types are "host", "shared", or "bridged".
- lima: bridged
# Interface "lima0": shared mode (IP is assigned by macOS's bootpd)
interface: "lima0"
- lima: shared
# Interface "lima1": bridged mode (IP is assigned by a DHCP server on the physical network)
interface: "lima1" |
Beta Was this translation helpful? Give feedback.
-
Hi @Ranjandas , I sympathize and think i have near the same issue. One of my kube clusters with 3 VMs is managed by Lima on my MacBookPro (with DHCP adresses and thus DHCP provided nameserver and so on thanks to socket_vmnet) and now that i have got also a MiniPC (UM890 Pro) with 64Go 1Tb 8C/16T i struggle to replicate my cherished setup with VMNet on mac on the minipc linux (ubuntu 24.04 LTS), for the network part: my VMs on Mac are addressed by my local DHCP server and it doesn't look supported under Linux by Lima. I plan to replicate the command line used by Lima to bootstrap one VM with an added tap interface for my Linux VM, then probably i could patch Lima to add the tap extra interface to the boot. But perhaps it is stupid and i loose my time. Also notice that as it is, running any VMs on Wifi on Linux and hoping they will be seen from outside hosts (and do DHCP) looks like a pipe dream actually (albeit i think we could do something with tap and parprouted, i think what does vmnet is the same but for macos). Anyway in my case i will focus to support somewhat bridged tap on ethernet for my VMs in Lima under Linux host. But even then perhaps i will take a more native route (libvirt). I probably miss something in the Linux host side of LimaVM for networks, i try to understand :-) Thanks all i hope i don't derail the subject too much, please correct me and thanks for your time and answers! |
Beta Was this translation helpful? Give feedback.
-
What are the networking options available on Lima on Linux Hosts. Is it possible to have networking similar to that of
socket_vmnet
on macOS? When I tried using thebridged
networking mode it errors.Beta Was this translation helpful? Give feedback.
All reactions