[CentOS-virt] Simulate Network Cable Disconnect

Tait Clarridge tait at clarridge.ca
Thu May 13 14:44:56 UTC 2010


On Wed, 2010-05-12 at 10:09 -0400, Kanwar Ranbir Sandhu wrote: 
> 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

I did try that but it didn't fail over, actually I think I did "ifconfig
ethX down" instead of ifdown ethX. I will try again when I get some
time, thanks for the pointer! :)

Tait
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos-virt/attachments/20100513/de6e4904/attachment.bin 


More information about the CentOS-virt mailing list