Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering KVM Virtualization

You're reading from   Mastering KVM Virtualization Design expert data center virtualization solutions with the power of Linux KVM

Arrow left icon
Product type Paperback
Published in Oct 2020
Publisher Packt
ISBN-13 9781838828714
Length 686 pages
Edition 2nd Edition
Tools
Concepts
Arrow right icon
Authors (4):
Arrow left icon
Humble Devassy Chirammal Humble Devassy Chirammal
Author Profile Icon Humble Devassy Chirammal
Humble Devassy Chirammal
Prasad Mukhedkar Prasad Mukhedkar
Author Profile Icon Prasad Mukhedkar
Prasad Mukhedkar
Vedran Dakic Vedran Dakic
Author Profile Icon Vedran Dakic
Vedran Dakic
Anil Vettathu Anil Vettathu
Author Profile Icon Anil Vettathu
Anil Vettathu
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Section 1: KVM Virtualization Basics
2. Chapter 1: Understanding Linux Virtualization FREE CHAPTER 3. Chapter 2: KVM as a Virtualization Solution 4. Section 2: libvirt and ovirt for Virtual Machine Management
5. Chapter 3: Installing KVM Hypervisor, libvirt, and oVirt 6. Chapter 4: Libvirt Networking 7. Chapter 5: Libvirt Storage 8. Chapter 6: Virtual Display Devices and Protocols 9. Chapter 7: Virtual Machines: Installation, Configuration, and Life Cycle Management 10. Chapter 8: Creating and Modifying VM Disks, Templates, and Snapshots 11. Section 3: Automation, Customization, and Orchestration for KVM VMs
12. Chapter 9: Customizing a Virtual Machine with cloud-init 13. Chapter 10: Automated Windows Guest Deployment and Customization 14. Chapter 11: Ansible and Scripting for Orchestration and Automation 15. Section 4: Scalability, Monitoring, Performance Tuning, and Troubleshooting
16. Chapter 12: Scaling Out KVM with OpenStack 17. Chapter 13: Scaling out KVM with AWS 18. Chapter 14: Monitoring the KVM Virtualization Platform 19. Chapter 15: Performance Tuning and Optimization for KVM VMs 20. Chapter 16: Troubleshooting Guidelines for the KVM Platform 21. Other Books You May Enjoy

Implementing Linux bridging

Let's create a bridge and then add a TAP device to it. Before we do that, we must make sure the bridge module is loaded into the kernel. Let's get started:

  1. If it is not loaded, use modprobe bridge to load the module:
    # lsmod | grep bridge

    Run the following command to create a bridge called tester:

    # brctl addbr tester

    Let's see if the bridge has been created:

    # brctl show
    bridge name bridge id STP enabled interfaces
    tester 8000.460a80dd627d no

    The # brctl show command will list all the available bridges on the server, along with some basic information, such as the ID of the bridge, Spanning Tree Protocol (STP) status, and the interfaces attached to it. Here, the tester bridge does not have any interfaces attached to its virtual ports.

  2. A Linux bridge will also be shown as a network device. To see the network details of the bridge tester, use the ip command:
    # ip link show tester
    6: tester: <BROADCAST,MULTICAST>mtu 1500 qdiscnoop...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime