[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] where are vmnet0 and other virtual interfaces defined by virt-manager

On Mon, Jan 10, 2011 at 01:40:31PM +0530, Tapas Mishra wrote:
> How ever I am curious to look at where are the vmnet0 vmnet 1 defined
> by the virt-manager(which I see in brctl show)
>  so which files should I look in?

[The interfaces are called vnet0, etc]

You're getting confused about what interface is named on the host side
(vnet0 etc) and what the guest sees.  The guest sees eth0 for a Linux
guest, it would be something completely different for a Windows guest.

To list the host devices do:

/sbin/ifconfig vnet0

_on the host_.

As explained here:


the <target dev='...'/> element is optional, and only needed if you
want to specify a particular host network device.  In almost all cases
you would leave it out and libvirt/the hypervisor will pick one for
you.  And if you do 'virsh dumpxml' then libvirt will show you which
temporary host device was assigned to the interface.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]