Re: NCD, a light scripting language for network configs and much more

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 17 Aug 2012 21:04:04 +0200
Ambroz Bizjak <ambrop7@xxxxxxxxx> 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@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux