question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[usage] How to attach a VM in libvirt to a bridge instead a network?

See original GitHub issue

According to the docs:

nets: Array of networks to define. For each of them, you can specify just a string for the name, or a dict containing name, public and alias and ip, mask and gateway

But in libvirt you can attach a VM directly to a bridge such as:

<interface type="bridge">
  <mac address="52:54:00:60:5c:86"/>
  <source bridge="bridge0"/>
  <target dev="vnet0"/>
  <model type="virtio"/>
  <alias name="net0"/>
  <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>

Can kcli VMs be attached to a bridge?

Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
karmabcommented, Aug 24, 2020

are we all set? btw, enjoying your feedback, keep it coming, shall 2021 be the month of kcli in eduardo’s desktop!

1reaction
karmabcommented, Aug 24, 2020

if it doesnt behave this way, it’s a regression! let me check

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use bridged networking with libvirt and KVM
In this article we see how to use bridged networking with libvirt using a shared host physical interface.
Read more >
How to set up a network bridge for virtual machine ... - Red Hat
Use the nmtui console to set up network connectivity for VMs to communicate over an IP network.
Read more >
VM Networking ( Libvirt / Bridge ) - YouTube
In this video we explore some deep(ish) networking concepts that pertain to how VMs can communicate with one another!
Read more >
Networking - Libvirt Wiki
This page provides an introduction to the common networking configurations used by libvirt based applications. This information applies to ...
Read more >
Bridged network — libvirt Networking Handbook - Jamie Nguyen
A bridged network shares a real Ethernet device with virtual machines (VMs). Each VM can bind directly to any available IPv4 or IPv6 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found