From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [RFC] iproute2: add br command Date: Tue, 4 Oct 2011 15:42:44 -0700 Message-ID: <20111004154244.3530f21c@nehalam.linuxnetplumber.net> References: <20111004093413.2f6bbd67@nehalam.linuxnetplumber.net> <20111004140754.0e677941@nehalam.linuxnetplumber.net> <1317766638.21658.11.camel@w-sridhar.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Sridhar Samudrala , Andi Kleen , Kevin Wilson , netdev@vger.kernel.org To: =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= Return-path: Received: from mail.vyatta.com ([76.74.103.46]:56666 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933158Ab1JDWmr convert rfc822-to-8bit (ORCPT ); Tue, 4 Oct 2011 18:42:47 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 5 Oct 2011 00:32:31 +0200 Micha=C5=82 Miros=C5=82aw wrote: > 2011/10/5 Sridhar Samudrala : > > On Tue, 2011-10-04 at 14:07 -0700, Stephen Hemminger wrote: > >> On Tue, 04 Oct 2011 09:58:55 -0700 > >> Andi Kleen wrote: > >> > Stephen Hemminger writes: > >> > > This adds a new 'br' command which is the bridging equivalent = of > >> > > the ip command. More of a demo of how to use netlink and bridg= ing > >> > > at this point. > >> > Please name it "bridge", not "br" > >> Ok, but it breaks the existing pattern. > > Is this supposed to replace brctl utility? > > > > Can we add/delete a bridge and add/delete interfaces to a bridge us= ing > > this command? > > > > If so, why not make it > > =C2=A0 ip bridge add/del > > =C2=A0 ip bridge addif/delif >=20 > I'll add one more idea: >=20 > ip link add/del type bridge > ip bridge add/del > ip bridge fdb ... In 3.0 you can already do: # ip link add dev br3 type bridge # ip link set dev eth3 master br3 I see no reason to add 'ip bridge' syntax wrappers.