Skip to Content
Mastering Proxmox - Third Edition
book

Mastering Proxmox - Third Edition

by Wasim Ahmed
November 2017
Intermediate to advanced
494 pages
14h 29m
English
Packt Publishing
Content preview from Mastering Proxmox - Third Edition

Adding an Open vSwitch bridge

The Open vSwitch bridge is similar to the Linux bridge except that it is enough to configure one Open vSwitch bridge, such as a physical switch, where we can pass several VLANs. We do not need to create separate bridges for each VLAN, like Linux bridges. Configuring an Open vSwitch bridge is a little more complicated than a Linux bridge. We need to configure the port first before creating the actual bridge. In our example, we are going to configure the port, eth1, which is what our Open vSwitch bridge, vmbr1, is going to be based on. For this, we need to add the following lines of code to /etc/network/interfaces:

allow-vmbr1 ens21 iface ens21 inet manual ovs_type OVSPort ovs_bridge vmbr1 auto vmbr1 allow-ovs ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Security and Hardening - Third Edition

Mastering Linux Security and Hardening - Third Edition

Donald A. Tevault
Mastering KVM Virtualization - Second Edition

Mastering KVM Virtualization - Second Edition

Vedran Dakic, Humble Devassy Chirammal, Prasad Mukhedkar, Anil Vettathu

Publisher Resources

ISBN: 9781788397605Other