Proxmox server how to get vm's to internet with bridge and nat over single ethernet card?

pilgrimage

Member
Oct 17, 2021
58
2
13
43
I have only one network card on my Proxmox server and I log out to the internet via that network card. It matches mac addresses in our organization and allows to log out to the internet. What I want to do is that I want my proxmox server, which currently logs out to the internet without any problems, to log out to the internet with a different ip by making a bridge and nat in my newly installed vm machines via vmbr0. How can I do this? Please, which change should I make on /etc/network/interface on this subject?

auto lo
iface lo inet loopback

iface enp1s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.45.35.205/23
gateway 10.45.35.1
bridge-port enp1s0
bridge-stp off
bridge-fs 0


When I assign vmbr0 to my vm machines, I want it to be able to exit with bridge and nat. How can I do this?
 

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!