connect guests via virtual network

pvenewbee

Member
Sep 19, 2022
12
0
6
Hello,
on my host, i have one physical network interface only that i want to use for dedicated traffic to the outside.
I want however to connect all guests with each other for internal traffic, a virtual one, to not limit internal traffic in any way by the physics of the network adapter.
I.e. i want to have one VM offering a SMB share and two other VM writing onto that share and i still can have the full speed on the physical network where i need to download the files that were written.

How do i do that? Is that possible at all to have a dummy internal network interface?
 
Last edited:
add to /etc/network/interfaces something like this

auto vmbr1
iface vmbr1 inet static
address 10.0.0.1/24
bridge-stp off
bridge-fd 0

After that you will be able see vmbr1 bridge in your web interface and connect all your hosts via it like via virtual switch.
 
  • Like
Reactions: pvenewbee
Hi,

many thanks!

can you or anyone else estimate based on experience how much speed i can expect via the virtual bridge? I will passthrough physical SATA3G ports with disks close to saturating the respective bandwidth in sequential writes, likely using Samba and SMBv3 with encryption off. CPU is i7 3770. Two guests will write steadily but with low bitrate (max. 150Mbps, i.e. 18,75MBps).
 
Last edited:

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!