Proxmox Virtual Environment Complete Course Part 13 - Networking

Proxmox Virtual Environment Complete Course Part 13 - Networking

Introduction to Networking in Proxmox

In this section, the speaker introduces the topic of networking in Proxmox and explains its importance.

Networking as a Favorite Topic

  • The speaker expresses their enthusiasm for networking and enjoys connecting hardware, setting up rules, and routes.
  • Networking is an important aspect of Proxmox.

Importance of Separating VM Network and Management Network

  • The speaker emphasizes the significance of separating the VM network from the management network.
  • It is considered a good practice to have separate networks for virtual machines and management purposes.

Hardware Requirements and Network Setup

This section discusses the hardware requirements for following along with the tutorial and highlights the need for an existing network setup.

Hardware Requirements

  • Not all viewers may have the required hardware for certain topics covered in the series.
  • If unable to follow along due to hardware limitations, taking notes while watching is still beneficial.

Existing Network Setup

  • Having an existing network is helpful for understanding networking concepts in Proxmox.
  • Viewers are encouraged to use their own networks or create virtual networks if possible.
  • VLANs and subnetting are mentioned but not covered extensively due to variations in routers/firewalls among viewers.

Adding Additional Networks on Individual Hosts

This section focuses on adding additional networks on individual hosts in Proxmox.

Setting Up Additional Networks

  • To add another network, click on the desired host and then select "Network."
  • Creating a cluster is not necessary at this point.

Configuring Network Bridge

  • A specific network card (e.g., enp5s0f0) can be assigned to a different network by creating a bridge.
  • The speaker prefers using a 10-gigabit port for the new network.
  • Separating the management layer from virtual machines is recommended for security purposes.

Creating a Linux Bridge

This section explains how to create a Linux bridge for the additional network in Proxmox.

Creating a Linux Bridge

  • Click on "Create" and select "Linux Bridge" to create a bridge.
  • The default name assigned is vmbr1, but it can be customized if desired.

The transcript does not provide further details beyond this point.

Setting up the Subnet and VLAN

In this section, the speaker explains how to set up the subnet and VLAN for the network configuration.

Configuring the Subnet and VLAN

  • Determine your network classification and create the appropriate subnet and VLAN.
  • Type in the subnet details, such as "10.10.10.0/24," based on your network setup.
  • Ensure that you have already created the subnet and VLAN on your end.
  • If you haven't created them yet, don't worry; you can still follow along by watching the video and taking notes.
  • It's good practice to have multiple networks, but it's not required for this setup.

Adding Ethernet Adapter Port to Bridge

This section focuses on adding an Ethernet adapter port to a bridge for network configuration.

Adding Ethernet Adapter Port

  • Identify the port of the Ethernet adapter that you want to use for bridging.
  • Type in the port name, such as "emp5s0f1," in the designated field.
  • Add a comment if desired (e.g., vmnet).
  • Click "Create" to complete the process.
  • Note that there is no need to add another gateway since Proxmox only requires one gateway.

Applying Configuration Changes

Here, we learn about applying configuration changes in Proxmox.

Applying Configuration Changes

  • Review any pending changes shown on the screen.
  • Choose whether to apply them immediately or wait until rebooting the server.
  • To apply changes now, click "Apply Configuration" and confirm with "Yes."
  • After applying changes, two bridges will be displayed, with one active and ready for use.

Configuring Virtual Machine Network

This section explains how to configure the virtual machine network in Proxmox.

Configuring Virtual Machine Network

  • When creating a virtual machine, select the appropriate network for it.
  • In the networking section of the virtual machine creation process, choose "Network."
  • By default, it may be set to vmbr0 (management network), but change it to vmbr1 (virtual machine network).
  • Ensure that future virtual machines are created on the proper network for separation between management and VM networks.

Verifying IP Address Assignment

Here, we verify if the assigned IP address is correct for a virtual machine.

Verifying IP Address

  • Access the virtual machine's console or log in remotely.
  • Check if a new IP address has been assigned.
  • Confirm that the IP address is on the desired network (e.g., 10.10.10.206).

Best Practices and Next Steps

The speaker discusses best practices and hints at upcoming topics related to Proxmox.

Best Practices and Next Steps

  • It is recommended to separate management and VM networks as a best practice.
  • Networking configuration opens doors to other exciting features like shared storage clustering.
  • The next video will cover setting up shared storage, which promises to be interesting.
Video description

Setting up a separate network for your virtual machines is a great idea, especially since that allows you to segregate your management network. In class 13 of LearnLinuxTV's Proxmox series, we'll set up a new network and you'll see how to set up your virtual machines to use it. *Support Learn Linux TV* Note: Commission may be earned for any and all links presented here. - Get your own cloud server with Akamai Connected Cloud ➜ https://learnlinux.link/akamai - Support me on Patreon and get early access to new content! ➜ https://learnlinux.link/patron - Check out jay's latest book, Mastering Ubuntu Server 3rd Edition ➜ http://ubuntuserverbook.com - Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon - Check out the Tiny Pilot KVM for your Homelab ➜ https://learnlinux.link/tinypilot #*TIME CODES* 00:00 - Intro 00:59 - Quick comment about hardware requirements 02:36 - Looking at the available network interfaces 05:00 - Adding a network (Linux bridge) 07:35 - Creating a virtual machine on a separate network ## Other Proxmox episodes: Class 01 - Getting Started: https://linux.video/pve1 Class 02 - Installation Process: https://linux.video/pve2 Class 03 - Web Console Overview: https://linux.video/pve3 Class 04 - Containers vs Virtual Machines: https://linux.video/pve4 Class 05 - Launching a Virtual Machine: https://linux.video/pve5 Class 06 - Setting up Virtual Machine Templates: https://linux.video/pve6 Class 07 - Creating Containers: https://linux.video/pve7 Class 08 - Setting up Container Templates: https://linux.video/pve8 Class 09 - User Management: https://linux.video/pve9 Class 10 - Backups and Snapshots: https://linux.video/pve10 Class 11 - Integrated Firewall: https://linux.video/pve11 Class 12 - Command-line Interface: https://linux.video/pve12 Class 13 - Networking: This video Class 14 - Shared storage: https://linux.video/pve14 Class 15 - Clustering: https://linux.video/pve15 Class 16 - High availability: https://linux.video/pve16 Bonus video 1 - Launching a Windows VM: https://linux.video/pve-win Bonus video 2 - Getting started with Proxmox Backup Server: https://linux.video/pbs Bonus video 3 - Proxmox VE - How to build an Ubuntu 22.04 Template (Updated Method): https://linux.video/pve-2204 Bonus video 4 - Build a Kubernetes Cluster on Proxmox: https://linux.video/proxmox-k8s*🎓 Full Linux Courses* • Linux Crash Course ➜ https://linux.video/cc • tmux ➜ https://linux.video/tmux • vim ➜ https://linux.video/vim • Bash Scripting ➜ https://linux.video/bash • Proxmox VE ➜ https://linux.video/pve • Ansible (Udemy) ➜ https://learnlinux.link/ansible • Linux Essentials (Udemy) ➜ https://learnlinux.link/linux-essentials *🎓 More About Learn Linux TV* • Main site ➜ https://www.learnlinux.tv • Community Forums ➜ https://community.learnlinux.tv • Github Account ➜ https://github.com/LearnLinuxTV • Content Ethics ➜ https://www.learnlinux.tv/content-ethics • Request Paid Assistance ➜ https://www.learnlinux.tv/request-assistance Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. The person viewing Learn Linux TV's content is expected to follow their best judgement and to make their best decisions while working with any related technology. Always make sure you have written permission before working with any infrastructure. Also, be sure that you're compliant with all company rules, change control procedures, and local laws. #Proxmox #ProxmoxVE #Virtualization