[libvirt] hooking a physical nic to a bridge with net-create

Daniel P. Berrange berrange at redhat.com
Wed Jun 24 09:02:59 UTC 2009


On Tue, Jun 23, 2009 at 07:52:25AM -0700, Shahar Klein wrote:
> 
> 
> Hi 
> 
> I trying to set up a network configuration using libvirt
> 
> The setup is:
> 
> 1. a VM using virtio using a tap device connected to a bridge device
> 2. on the host side eth0 added to the same bridge device(without ip)
> 
> using libvirt application (say virsh) I want to launch this set up:
> 
> virsh net-create for the second part
> virsh create for the first part(tap, virtio, vm etc)
> 
> I can set the first part(vm, tap, virtio) using the domain xml
> but I'm also interested in XMLing the second part and net-create it.
> I tried but only suceeded in creating the bridge
> 
> Is it possible? am I missing somthing?

This isn't what the net-XXX commnads is for. The functionality you are
after is in process of being implemented and will appear as iface-XXX
commands (for host interface managment)


For more info about libvirt networking, read this page

http://wiki.libvirt.org/page/Networking

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list