[CentOS-virt] Simulate Network Cable Disconnect

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

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: signature.asc
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-0004.sig>