[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter
Subject:    Re: NCD, a light scripting language for network configs and much more
From:       Stephen Hemminger <shemminger () vyatta ! com>
Date:       2012-08-17 19:07:02
Message-ID: 20120817120702.62103ae4 () nehalam ! linuxnetplumber ! net
[Download RAW message or body]

On Fri, 17 Aug 2012 21:04:04 +0200
Ambroz Bizjak <ambrop7@gmail.com> wrote:

> Huh, really? I can't seem to find those commands. I only see a
> "bridge" program added to iproute2 which does "forwarding database
> management", and doesn't seem to have the usual addbr/addif commands.
> Anyway, if brctl did suddenly disappear, imagine how easier it would
> be to fix that script I showed you compared to fixing something
> hardcoded like NetworkManager :)
> 
> On Fri, Aug 17, 2012 at 6:22 PM, Stephen Hemminger
> <shemminger@vyatta.com> wrote:
> >
> > FYI - you can use ip commands now to control bridge.
> > For all the new features planned, they won't be controllable via brctl.

You can make a bridge with:
 # ip link add br3 type bridge

and delete with
 # ip link del br3

To add device to bridge
 # ip li set dev eth2 master br3

To take out of bridge
 # ip li set dev eth2 nomaster

The point is that bridge isn't special.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic