From: "Nicolas de Pesloüan" <nicolas.2p.debian@gmail.com>
To: Weiping Pan <panweiping3@gmail.com>
Cc: Andy Gospodarek <andy@greyhouse.net>,
netdev@vger.kernel.org, bonding-devel@lists.sourceforge.net,
Linda Wang <lwang@redhat.com>
Subject: Re: bonding can't change to another slave if you ifdown the active slave
Date: Sat, 05 Mar 2011 14:49:55 +0100 [thread overview]
Message-ID: <4D723F83.7080309@gmail.com> (raw)
In-Reply-To: <20110305025332.GR11864@gospo.rdu.redhat.com>
Le 05/03/2011 03:53, Andy Gospodarek a écrit :
> On Fri, Mar 04, 2011 at 10:15:17AM +0800, Weiping Pan wrote:
>> Hi,
>>
>> I'm doing some Linux bonding driver test, and I find a problem in
>> balance-rr mode.
>> That's it can't change to another slave if you ifdown the active slave.
>> Any comments are warmly welcomed!
>>
>> regards
>> Weiping Pan
>>
>> My host is Fedora 14, and I install VirtualBox (4.0.2), and enable 4
>> nics for the guest system.
>
> Does this mean you are passing 4 NICs from your host to your guest
> (maybe via direct pci-device assignment to the guest) or are you
> creating 4 virtual devices on the host that are in a bridge group on the
> host?
VirtualBox does not allow assignment of pci-device to the guest. The network interfaces on the guest
are pure virtual one, with several modes available. In order to help you trouble shooting this
problem, we need to know the mode form each of the virtual interfaces. Possible modes are NAT,
bridged, internal-network, and host-only-network.
Please provide the output of the following command:
VBoxManage showvminfo <your-vm-uuid> | grep ^NIC
To display your vm uuid, use the following command:
VBoxManage list vms
>
> [...]
>> [root@localhost ~]# ifconfig eth7 down
>
> This is not a great way to test link failure with bonding. The best way
> is to actually pull the cable so the interface is truly down.
To virtually plug or unplug the cable from a virtual interface, use the following command, replacing
the # with the interface number (from 1 to 8):
VBoxManage controlvm setlinkstate# on
VBoxManage controlvm setlinkstate# off
Nicolas.
next prev parent reply other threads:[~2011-03-05 13:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-04 2:15 bonding can't change to another slave if you ifdown the active slave Weiping Pan
2011-03-05 0:38 ` Jay Vosburgh
2011-03-07 3:23 ` Weiping Pan
2011-03-05 2:53 ` Andy Gospodarek
2011-03-05 13:49 ` Nicolas de Pesloüan [this message]
2011-03-07 3:13 ` Weiping Pan
2011-03-07 21:15 ` Nicolas de Pesloüan
2011-03-07 4:20 ` Weiping Pan
-- strict thread matches above, loose matches on Subject: below --
2011-03-08 6:52 Weiping Pan
2011-03-08 12:51 ` WANG Cong
2011-03-09 2:40 ` Weiping Pan
2011-03-09 6:02 ` Américo Wang
2011-03-09 3:38 ` Weiping Pan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D723F83.7080309@gmail.com \
--to=nicolas.2p.debian@gmail.com \
--cc=andy@greyhouse.net \
--cc=bonding-devel@lists.sourceforge.net \
--cc=lwang@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=panweiping3@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.