Hello All, 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. Basically I have the VM running on a bridged network which is also tied into GNS3 simulating a small-scale version of the production environment. I have tried bringing down the vnetX interface and the actual virtual network itself (virbrX) with no luck. Has anyone had to do this before/maybe knows some tips? If more info is required about my setup, I can give it. Thanks! Tait
Kanwar Ranbir Sandhu
2010-May-12 14:09 UTC
[CentOS-virt] Simulate Network Cable Disconnect
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