Proxmox create VXLAN using its native SDN Rumi, January 12, 2024 Prerequisite: You need to have an Installed Proxmox and Configure a Clustered setup. The first step in any installation is to make sure your hosts are updated. By default, Proxmox hosts will reach out to the enterprise repository, so I need to configure the pve-no-subscription repository. To enable that, I added it to /etc/apt/sources.list like the image below. Add the pve-no-subscription repository After adding the repository, I run an apt update and upgrade to install the latest patches and make sure the new repository works. # apt update && apt upgrade -y Now I can install the needed dependencies on each host. Important note here, the next few steps are run on EVERY node in the cluster. # apt install libpve-network-perl ifupdown2 Configure Software Defined Networking in Proxmox After updating the hosts and installing the dependencies the last step to enable software defined networking is to add a line to the interface configuration. I added the line below to the /etc/network/interfaces file on every host. source /etc/network/interfaces.d/* Example /etc/network/interfaces file with additional line Once added, you should automatically see the software defined network menu in your datacenter view. Adding VXLANs to the Lab Network Configuring a software defined network in Proxmox consists of three steps for each network. I need to configure a Zone, a Vnet, and if I want to assign an IP range, a Subnet for each VXLAN. Adding a VXLAN zone To add a VXLAN zone, you select that zone type in the Proxmox SDN interface. According to Proxmox SDN documentation, when adding a VXLAN, you need to set the MTU to a slightly lower value than the standard 1500. A VXLANs is a simulated layer 2 network on top of the existing network. So the extra 50 bytes allows for the VXLAN header added to each packet. You also need to configure an ID and peer IP address list. Example VXLAN zone configuration DMZ and LAN VXLAN zones added to Lab Network Adding Vnets and Subnets Once you configure a VXLAN zone, the next step is to add the associated Vnets and Subnets to each zone. In my lab, each zone will have a single Vnet and Subnet. Here is an example configuration of the LANnet and LAN subnet. LANnet Vnet configuration Vnet configuration overview for Lab Network Example subnet configuration Apply to Configure Software Defined Networking in Proxmox Lab The last step is to go back to the SDN overview and apply the configuration. I hit apply and then Proxmox configures the DMZ and LAN VXLANs on each host in the cluster. Data center overview after software defined network configuration That’s all there is to it, my lab network is ready for virtual machines. Next up, I create a virtual firewall running pfsense and configure the WAN, LAN, and DMZ interfaces. Src: Configure Software Defined Networking in Proxmox Related Administrations Collected Articles Proxmox ProxmoxProxmox SDNSDNVXLAN
Refilling HP 682 Ink Cartridge November 8, 2023 This is an out-of-the-box context kinda post, however, felt kinda need it for myself- Related Read More
Installing new fonts in Collabora February 24, 2023 For the core MS fonts: sudo apt-get install ttf-mscorefonts-installer You may be asked to accept the license agreement, i was not asked. They end up in /usr/share/fonts/truetype/msttcorefonts Next is to install the clear types such as calibri This is a bit different but can be done with the vista fonts… Read More
Enable VNC viewer for Proxmox 2.x/3.x with tightvnc December 10, 2017 Configure Proxmox host for TLS connections: This configures the host to accept VNC connections. aptitude install openbsd-inetd Run this to get your KVM id’s : qm list root@homenet-home10 /etc # qm list VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID 101 freenas stopped 1024 32.00 0 102 debpbx running 512 0.00 573304 105… Read More