Creating a virtual network for VM's

check-ict

Well-Known Member
Apr 19, 2011
102
18
58
Hello,

I want to host VM's on a Proxmox server with a internal LAN.

I setup a vmbr0 on Proxmox.

Created a Router with 2 network adapters (both on vmbr0)
eth0 is for the WAN side (connection outside of Proxmox and internet)
eth1 is for the LAN side (10.10.X.X for internal communication)

I created a guest VM with one network adapter (on vmbr0) and set it to IP 10.10.1.2.

Everything is working, untill I started hosting websites in the LAN

Sometimes the LAN side server can't reach the router, and the router seems to have ARP problems.

What can I do to prevent this? Will it matter if I create another bridge (vmbr1) and put all VM's + eth1 of the router in this fake network card?

Yours,

Nomad
 
Hello,

I want to host VM's on a Proxmox server with a internal LAN.

I setup a vmbr0 on Proxmox.

Created a Router with 2 network adapters (both on vmbr0)
eth0 is for the WAN side (connection outside of Proxmox and internet)
eth1 is for the LAN side (10.10.X.X for internal communication)

I created a guest VM with one network adapter (on vmbr0) and set it to IP 10.10.1.2.

Everything is working, untill I started hosting websites in the LAN

Sometimes the LAN side server can't reach the router, and the router seems to have ARP problems.

What can I do to prevent this? Will it matter if I create another bridge (vmbr1) and put all VM's + eth1 of the router in this fake network card?

Yours,

Nomad
Hi,
i prefer to use one bridge for the traffic on this bridge only.
It's easy to create an internal-bridge, i use this script to generating two bridges:
Code:
modprobe -o dummy0 dummy
modprobe -o dummy1 dummy
ifconfig dummy0 up
ifconfig dummy1 up
brctl addbr vmbr10
brctl addif vmbr10 dummy0
brctl addbr vmbr20
brctl addif vmbr20 dummy1
Udo
 
Thanks Udo, this worked for me. I created a vmbr1 on my second network card.

Just don't forget to bring up the vmbr (ifconfig vmbrX up)

ifconfig eth1 up
brctl addbr vmbr1
brctl addif vmbr1 eth1
ifconfig vmbr1 up
 

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!