Unable to Access Internet from VM with SDN VXLAN Network in Proxmox

avinashboddeda

New Member
Dec 7, 2024
1
0
1
Hi all,

I am working with a Proxmox environment where we are managing multiple tenants, and I am trying to isolate their networks using SDN with VXLAN. However, I’m facing an issue where a VM assigned an IP address in a dedicated subnet cannot access the internet.

Here is my setup:

  • Proxmox IP: 192.168.88.51 (on subnet 192.168.88.0/24)

SDN Configuration:​

  1. Zone Configuration:
    • Zone Name: zone1
    • Peer Address List: 192.168.88.51
    • MTU: auto
    • Nodes: ALL
    • IPAM: pve
  2. VNET Configuration:
    • Name: vnet1
    • Zone: zone1
    • Tag: 1000
    • VLAN Aware: false
  3. Subnet Configuration:
    • Subnet: 192.168.200.0/24
    • Gateway: 192.168.200.1
    • SNAT: enabled
    • DHCP Range: 192.168.200.10 - 192.168.200.50
  4. VM Configuration:
    • IP: 192.168.200.10/24
    • Gateway: 192.168.200.1

Problem:​

Despite the VM being correctly configured within the 192.168.200.0/24 subnet, I am unable to ping the internet from the VM. The internal network seems fine, but external access does not work.

  • I have verified that the VM's network interface is configured properly.
  • I have also checked firewall settings but did not find any blocking rules.
Has anyone faced a similar issue or have any suggestions on what could be wrong with the SDN VXLAN setup?

Thanks in advance for your help!
 

Attachments

  • 1733641533744.png
    1733641533744.png
    21.1 KB · Views: 5
  • 1733641577516.png
    1733641577516.png
    11.5 KB · Views: 4
  • 1733641596444.png
    1733641596444.png
    12.6 KB · Views: 4
  • 1733641626438.png
    1733641626438.png
    49.9 KB · Views: 5
  • 1733641696267.png
    1733641696267.png
    23.9 KB · Views: 5
VXLAN is a layer2 network and as such does not provide any routing functionality - the gateway setting has no effect. You'd need to add a second network device for connecting to the internet or add a gateway VM/CT to the VXLAN that has internet access and can provide routing for that network.
 
VXLAN is a layer2 network and as such does not provide any routing functionality - the gateway setting has no effect. You'd need to add a second network device for connecting to the internet or add a gateway VM/CT to the VXLAN that has internet access and can provide routing for that network.
Can you explain in more detail? In a VXLAN network, how should I configure the network for the virtual machine so that it can access the internet?
 

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!