Issues Routing between VM and Management Network

ErikM1970

New Member
Apr 29, 2023
5
1
3
Hello,

Very new to Proxmox and set up my first virtual machine running Windows Server. My intent is to have the VM environment exist in a 10.0.0.0/24 network with the Proxmox host sitting on my physical 192.168.1.0/24. I configured my UniFi Controller with a 10.0.0.0/24 network and did not define a DHCP server (looking to have the DNS/DHCP handle these duties inside the virtual environment.)

Using the Learn Linux TV videos, I created a Linux Bridge (vmbr0) to allow communication between the VM and Management (physical) networks. The issue is that I have not yet been able to establish a connection between the VM network (10.0.0.0/24) to the Internet. The Windows Server with a static IP of 10.0.0.2 cannot communicate out. I tried it with both a default gateway of 10.0.0.1 and leaving the default gateway blank. My interfaces file currently reads:

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.23/24
gateway 192.168.1.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
#Management Network

auto vmbr1
iface vmbr1 inet static
address 10.0.0.0/24
bridge-ports eth1
bridge-stp off
bridge-fd 0
#VM Network

Everything was configured via the GUI and I left the default gateway field blank for the VM network as indicated by one of the videos I saw online. My Proxmox server has a single physical connection to the switch and both eno1 and eth1 are referenced. I also made sure the "VM Network" switch profile was applied to the UniFi switch port.

Finally, I connected a notebook to another port with the "VM Network" switch profile applied, manually configured the notebook with a 10.0.0.4 address, and was able to communicate out--just as a means of confirming communication outside of the virtual environment. This was probably unnecessary; however, I wanted to confirm nonetheless.

I welcome any guidance or direction to another post that can direct me to a solution.

Thank you,
Erik
 
is interface eth1 is connected to your unifi device? is the unifi controller a Layer 3 device?

an ip address of 10.0.0.0 for vmbr1 is not valid - it should be something like 10.0.0.1 or 10.0.0.100
 
is interface eth1 is connected to your unifi device? is the unifi controller a Layer 3 device?

an ip address of 10.0.0.0 for vmbr1 is not valid - it should be something like 10.0.0.1 or 10.0.0.100
Hello @bobmc , thank you for your reply. The UniFi US-16 PoE switch is a Layer 2 device. As for your feedback on the IP address for vmbr1, thank you. I went and changed it to 10.0.0.1 and applied the configuration change. My Windows Server 2022 VM immediately reported it was able to access the Internet. A single digit stood in my way.

I do appreciate the feedback.

Erik
 
  • Like
Reactions: bobmc

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!