How to create a vm bridge?

TheCurano

Member
Nov 27, 2020
33
1
13
Hello,

I am new and trying to use proxmox, but I need a tutorial or help to create a vm bride for the vm.
Help please?

Thanks
 
What do you mean with VM bridge? You should have a linux bridge "vmbr0" which bridges on of your network cards with all VMs attached to it so every VM can get its own IP. And you can use the GUI to create new linux bridges if you want to bridge another network card or subnet.
 
Thanks, but my interfaces file is broken, my Server can not connect to the network.
Proxmox overrided my interfaces file.

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface enp8s0 inet manual

Thats my interfaces file, can you give me a correct file please.
Thanks you so much for help me
 
Use the GUI and go to "YourNodeName -> System -> Network -> Create -> Linux Bridge". Use as "Name" the value "vmbr0", as "IPv4/CIDR" the IP and subnet your server should get (for example "192.168.0.2/24"), for "Gateway (IPv4)" the IP of your Router (for example "192.168.0.1"), set the "Autostart" checkbox and use the value "enp8s0" for the field "Bridge ports".

Reboot.

If you still got no internet check using CLI if you set "net.ipv4.ip_forward = 1" in "/etc/sysctl.conf".
Install "bridge-utils" and "net-tools" if not already installed (apt install bridge-utils net-tools).
Create the file "/etc/resolv.conf" if not already existing and add your Routers IP as a nameserver (For eaxmple adding this line: "nameserver 192.168.0.1").
Verify that there is a line "127.0.0.1 localhost.localdomain localhost pvelocalhost" in the file "/etc/hosts".

Reboot
 
Last edited:
  • Like
Reactions: BigMike

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!