Book Image

Mastering Proxmox

By : Wasim Ahmed
Book Image

Mastering Proxmox

By: Wasim Ahmed

Overview of this book

Table of Contents (17 chapters)
Mastering Proxmox
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding a virtual bridge


We have seen the networking components used in Proxmox; we went through the configuration file and saw how those components come together. We are now going to create a new virtual bridge for our cluster. We will use this bridge to create an isolated network later on in this book. Perform the following steps to create a virtual bridge in Proxmox:

  1. Securely log in to the node pmxvm01.

  2. Open the interface file # nano /etc/network/interfaces using an editor.

  3. Add the following lines at the end of the file:

    auto vmbr200
    iface vmbr1 inet static
            bridge_ports none
            bridge_stp off
            bridge_fd 0
  4. Save the file and exit the editor

  5. Activate the bridge from the CLI using the following command:

    # ifup vmbr200
    
  6. Do the same for the second node pmxvm02.

The new virtual bridge vmbr200 should now be activated and running. If there are more cluster nodes, then the steps from 1 to 5 must be completed on all the nodes. The /etc/network/interfaces configuration file should look...