[CentOS-virt] Simulate Network Cable Disconnect

Wed May 12 14:09:21 UTC 2010
Kanwar Ranbir Sandhu <m3freak at thesandhufamily.ca>

On Tue, 2010-05-04 at 12:28 -0400, Tait Clarridge wrote:
> I am having trouble simulating a network cable disconnect with KVM. I
> would like to test active backup bonding for a switch IOS upgrade in a
> production environment.

Couldn't you just do a "ifdown ethX" in the KVM itself?  One of the
bonded NICs will go down, and the kernel should report it as such.

Regards,

Ranbir