Virtual switch and 10Gb

Nicolas550

New Member
Mar 10, 2022
6
0
1
43
Hello,

I got :
-1 PVE server with 2x10G ethernet card 192.168.1.*/192.168.2.*
-some VM on PVE 192.168.1.*
-1 gateway on 10Gb ethernet 192.168.1.*
-1 Windows client on 10Gb 192.168.2.*

I would like bridge my both NIC on PVE on a virtual swith and let PVE route Windows <=> gateway and share bridge to my VM

-Vswitch can do this job (native NAT)? (for my personnal use i don't want to spend on a expensive 10Gb switch for 3 users)
-Are there some loss on 10G on PVE virtual switch?

Thanks.
 
Do not cross the network layers. :)

If you bridge two networks they will become the same broadcast domain. But this will still not give you IP access from your Windows machine to your gateway as they "live" in different IP networks.
You could create a router VM (or even an LXC container) that doe sIP routing between two interfaces (one in 192.168.1.0/24 and the other in 192.168.2.0/24). The windows machine would have this router as the default gateway, your Internet gateway would have to have a static route to 192.168.2.0/24 through this router VM.

If you want to bridge both networks you can remove 192.168.2.0/24 and renumber the Windows machine to also be in 192.168.1.0/24 and use your Internet gateway as default router.
 
  • 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!