Replies: 2 comments 2 replies
-
Please check https://github.com/lima-vm/lima/blob/master/docs/network.md#managed-vmnet-networks-192168105024 for more information on how to create virtual networks between Lima VMs. Look on slide 22 from our talk for a visualization of how networking is configured: https://static.sched.com/hosted_files/kccnceu2022/5f/lima.pdf. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jandubois Thank you very much for the resources. The only point I'm not really clear about is the way to declare a new network in the Would you happen to have an example? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are currently testing DHCP and PXE servers for our infrastructure. For the time being I am using qemu and vde_switch to create the infrastructure.
Typically, I do have a pfsense vm with two links. The WAN link is connected to a user network and the LAN link is connected to the vde switch. Pfsense is nice to use because it has a DHCP server than can be configured to send a
next
server in the DHCP offer and it includes tcpdump directly.Then I have my TFTP server running on a VM connected only to the vde switch. The last machine is a simple VM trying to boot up.
This setup works pretty well aside from some slowness related to the use of x86_64 architecture on a M1 mac.
I would like to move this infrastructure to lima. Unfortunately, I could not find any reference on how to create an isolated network (a custom switch).
Does anyone know if it's feasible?
Beta Was this translation helpful? Give feedback.
All reactions