Libro sobre Proxmox maestria
Network of Virtual Networks
For the most part, the default value of 0 is enough. In a very complex virtual environment with several dozen bridges, increasing this number to 3 or 4 might help. Without this delay, the bridge will start transmitting data packet regardless of whether the other destination bridge is available or not. Increasing the delay time allows the source bridge to check all bridges and not transmit any data if the destination bridge is down, thus preventing unnecessary network bandwidth consumption.
There are many more bridge_options to be used in the network configuration file, such as bridge_hello, bridge_maxage, bridge_bridgeprio, and so on. Bridge options are Linux- specific and beyond the topic of this book. For in-depth information on bridges, visit http://www.linuxfoundation.org/ collaborate/workgroups/networking/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 vmbrl 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.