[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:       Ambroz Bizjak <ambrop7 () gmail ! com>
Date:       2012-08-17 19:16:54
Message-ID: CAOA3yKKUANXu37eph1ohAUSrrJGd-fAQvi2qsz5CphKn7gMvXw () mail ! gmail ! com
[Download RAW message or body]

I see, thanks, it's even mentioned in the ip-link manpage. I think it
would be nice if it was a little less hidden though. I would never
guess "set master" is how you add a device to a bridge. Still, it's
good all the network config stuff is getting into a single command.

On Fri, Aug 17, 2012 at 9:07 PM, Stephen Hemminger
<shemminger@vyatta.com> wrote:
> 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