VM to VM communication?

aeg90

New Member
Aug 29, 2024
2
1
3
I am wondering if it is possible to use a bridge to connect both vms together without having traffic over the lan? Like direct connection between truenas and my media server vms?
 
I am wondering if it is possible to use a bridge to connect both vms together without having traffic over the lan?
Yes, absolutely!

If this is a single host you just create an "empty" bridge (e.g. "vmbr1") without a physical NIC. Give both VMs a NIC connected to this bridge, assign manually (there is no DHCP available on an isolated network!) an IP address and you are good to go :)

For the IP address range choose a free and unused and conflict-free network. See RFC1918 https://en.wikipedia.org/wiki/Private_network. Avoid to set a gateway - as there is none.

Good luck... and have fun! :cool:
 
Yes, absolutely!

If this is a single host you just create an "empty" bridge (e.g. "vmbr1") without a physical NIC. Give both VMs a NIC connected to this bridge, assign manually (there is no DHCP available on an isolated network!) an IP address and you are good to go :)

For the IP address range choose a free and unused and conflict-free network. See RFC1918 https://en.wikipedia.org/wiki/Private_network. Avoid to set a gateway - as there is none.

Good luck... and have fun! :cool:
I got nfs mount working via the host bridge. Thanks!
 
  • Like
Reactions: UdoB

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!