Home Proxmox - SDN
Post
Cancel

Proxmox - SDN

In Proxmox cross node LAN networking can be accomplished through the use of software defined networking. In order to imitate seperate networks, while utilizing multiple nodes within these networks, software defined networking can be utilized. In this guide we will demonstrate cross-node vnet by creating a 10.0.2.0 network.

Software Defined Network Installation

  1. Install dependencies on every node
    1
    2
    
      apt update
      apt install libpve-network-perl ifupdown2
    
  2. Edit configuration file on every node

    add

    1
    
         source /etc/network/interfaces.d/*
    

    to the end of every node’s

    1
    
         /etc/network/interfaces
    

    Desktop View

    VXLAN

    These zones are used to detail the nodes that can cross communicate. For our purposes, we will allow all nodes to cross-communicate in our created zone.

    VXLAN Setup

  3. On the proxmox GUI, navigate to Datacenter->SDN->Zones
  4. Select “add vxlan” from the drop-down add tab at the top.
  5. Enter a name for the zone in the ID, the list of nodes that should be cross communicating in the “Peer Address List” an MTU of 4500, and the names of the nodes in “Nodes”. Desktop View
  6. Navigate to Vnets tab, under Zones and select the create button above. Enter a name starting with “vmbr” ex: “vmbr5”, choose a descriptive alias, select the zone previously created, and give the VNet a unique tag. Make sure to leave VLAN Aware unchecked. Desktop View
  7. Navigate to the “SDN” tab and click on “apply changes”.
    If the message indicates an error, it could just be a graphical bug, still test for functionality.

    Attatching Instances to VXlan

  8. Create or edit an existing VM.
  9. Attatch a network device under the hardware of the VM.
  10. Select the name of the bridge that corresponds to the VNet that was just created. Desktop View
  11. If on Ubuntu Server, edit
    1
    
         source /etc/network/interfaces.d/*
    

    Desktop View

Next Section: Proxmox Install