SDN - Trying to make VMs on different hosts talk to each other

dpearceFL

Active Member
Jun 1, 2020
94
3
28
65
I have a three-node Proxmox cluster, all running 8.2.7. I would like to create two Linux VMs on different nodes in the same cluster and have them be able to talk to each other. I assume using the SDN functionality is the proper way to do this.

  1. I have created a zone with an ID of sdn100
  2. I have created a VNet using sdn100
  3. I then created a subnet off of that VNet using 10.2.0.0/24 and a gateway of 10.2.0.1 and a DHCP range of 10.2.0.10 to 10.2.0.250
The two VMs will request and are granted IP addresses with that range.

When I log into the two VMs, they can not ping the other VM.

What am I missing? Thanks!
 
You are right, I was using "simple".

I deleted the entries in Proxmox associated with my simple zone.

I have tried "VLAN Zones" but DHCP is no longer working.

Now what?
 
Correct, DHCP is only working for simple as far as I know, it will be there in the future for other zone types.

What is your goal? To test SDN or to make a VM running on different nodes?

If your goal is to have VMs communicating between eachother then you don't need SDN, you just need to configure your Proxmox nodes to access your home subnets, and all VMs should be able to talk to all others (as long as routing and firewall allows for it).

But it depends on your router. I have a pfSense as main router and I can create VLANs with DHCP enabled.

But you could also install a pfSense router as a Virtual machine, configure it to provide VLANs/DHCP and point your VMs to this router.
Many options are available.
 

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!