Re: simulate "network cable unplugged"

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


On 03/26/2012 11:30 AM, David Mansfield wrote:
> Hi All,
> 
> Using the virt-manager/libvirtd/qemu-kvm stack (centos 6), is it
> possible to leave a NIC "installed" but cause it to simulate that the
> network cable is unplugged?  Preferably this could be "hot"
> plugged/unplugged but otherwise doing it cold.

Libvirt 0.9.5 added the ability to do <link state='down'/> for various
networks; I'm not sure if this has been backported to your version of
CentOS, or if you'll have to upgrade to something newer.

For more details on the addition:
https://www.redhat.com/archives/libvir-list/2011-September/msg00294.html

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net