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 a virtual bridge through CLI

Perform the following steps to create a virtual bridge in Proxmox through the CLI:

  1. Log in to the Proxmox node through the console.
  2. Open the interface file /etc/network/interfaces using an editor.
  3. Add the configuration lines using the following format at the end of the file:
        auto <bridge_name> 
        iface <bridge_name> inet static 
             address 192.168.10.1 
             netmask 255.255.255.0
             bridge_ports ens21 
             bridge_stp off 
             bridge_fd 0 
  1. Save the file and exit the editor.
  2. Activate the bridge from the CLI using the following command:
        # ifup <bridge_name>

The new virtual bridge should now be activated and running. If virtual machines are to be migrated to other nodes, then the configuration must be duplicated in all the nodes. ...

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