[Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-12 Thread Vlad Yasevich
The series adds an ability for the bridge to function in non-promiscuous mode. We do it in 3 steps. First we add an interface to palce the switch into non-promisc mode. In this mode, all port of the switch turn promisc off and turn on IFF_ALLMULTI to continue handling multicast traffic. Second we

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-13 Thread Vlad Yasevich
On 03/13/2013 02:22 AM, "Oleg A. Arkhangelsky" wrote: 13.03.2013, 05:45, "Vlad Yasevich" : The series adds an ability for the bridge to function in non-promiscuous mode. What is the practical applications for such setup? In other words, in which cases I would want to put bridge into non-pro

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-13 Thread Stephen Hemminger
On Wed, 13 Mar 2013 08:12:29 -0400 Vlad Yasevich wrote: > On 03/13/2013 02:22 AM, "Oleg A. Arkhangelsky" wrote: > > > > > > 13.03.2013, 05:45, "Vlad Yasevich" : > > > >> The series adds an ability for the bridge to function in non-promiscuous > >> mode. > > > > What is the practical applications

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-13 Thread Vlad Yasevich
On 03/13/2013 11:39 AM, Stephen Hemminger wrote: On Wed, 13 Mar 2013 08:12:29 -0400 Vlad Yasevich wrote: On 03/13/2013 02:22 AM, "Oleg A. Arkhangelsky" wrote: 13.03.2013, 05:45, "Vlad Yasevich" : The series adds an ability for the bridge to function in non-promiscuous mode. What is the

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-13 Thread Stephen Hemminger
On Wed, 13 Mar 2013 11:45:40 -0400 Vlad Yasevich wrote: > On 03/13/2013 11:39 AM, Stephen Hemminger wrote: > > On Wed, 13 Mar 2013 08:12:29 -0400 > > Vlad Yasevich wrote: > > > >> On 03/13/2013 02:22 AM, "Oleg A. Arkhangelsky" wrote: > >>> > >>> > >>> 13.03.2013, 05:45, "Vlad Yasevich" : > >>> >

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-13 Thread "Oleg A. Arkhangelsky"
13.03.2013, 05:45, "Vlad Yasevich" : > The series adds an ability for the bridge to function in non-promiscuous mode. What is the practical applications for such setup? In other words, in which cases I would want to put bridge into non-promiscuous mode and specify some uplink ports? -- wbr, O

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-13 Thread Vlad Yasevich
On 03/13/2013 12:09 PM, Stephen Hemminger wrote: On Wed, 13 Mar 2013 11:45:40 -0400 Vlad Yasevich wrote: On 03/13/2013 11:39 AM, Stephen Hemminger wrote: On Wed, 13 Mar 2013 08:12:29 -0400 Vlad Yasevich wrote: On 03/13/2013 02:22 AM, "Oleg A. Arkhangelsky" wrote: 13.03.2013, 05:45, "Vla

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-13 Thread Joel Wirāmu Pauling
I agree that this is a useful behavior, often we will use a bridge in the same scenario (multiple virtio tap adapters belonging to VM's) another scenario is when creating a bridge for chaining multiple VPN's together. -Joel On 14 March 2013 06:04, Vlad Yasevich wrote: > On 03/13/2013 12:09 PM, S

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-13 Thread Michael S. Tsirkin
On Wed, Mar 13, 2013 at 01:04:51PM -0400, Vlad Yasevich wrote: > On 03/13/2013 12:09 PM, Stephen Hemminger wrote: > >On Wed, 13 Mar 2013 11:45:40 -0400 > >Vlad Yasevich wrote: > > > >>On 03/13/2013 11:39 AM, Stephen Hemminger wrote: > >>>On Wed, 13 Mar 2013 08:12:29 -0400 > >>>Vlad Yasevich wrote

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-13 Thread Michael S. Tsirkin
On Tue, Mar 12, 2013 at 09:45:22PM -0400, Vlad Yasevich wrote: > The series adds an ability for the bridge to function in non-promiscuous mode. > We do it in 3 steps. > First we add an interface to palce the switch into non-promisc mode. In > this mode, all port of the switch turn promisc off and

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-14 Thread Vlad Yasevich
On 03/13/2013 04:31 PM, Michael S. Tsirkin wrote: On Tue, Mar 12, 2013 at 09:45:22PM -0400, Vlad Yasevich wrote: The series adds an ability for the bridge to function in non-promiscuous mode. We do it in 3 steps. First we add an interface to palce the switch into non-promisc mode. In this mode,

Re: [Bridge] [PATCH net-next 0/4] Allow bridge to function in non-promisc mode

2013-03-14 Thread Michael S. Tsirkin
On Thu, Mar 14, 2013 at 11:10:34AM -0400, Vlad Yasevich wrote: > On 03/13/2013 04:31 PM, Michael S. Tsirkin wrote: > >On Tue, Mar 12, 2013 at 09:45:22PM -0400, Vlad Yasevich wrote: > >>The series adds an ability for the bridge to function in non-promiscuous > >>mode. > >>We do it in 3 steps. > >>F