* [gentoo-user] Use brctl from bridge-utils or bridge from iproute2?
@ 2016-10-15 23:46 Miroslav Rovis
2016-10-16 3:05 ` Erik Mackdanz
0 siblings, 1 reply; 9+ messages in thread
From: Miroslav Rovis @ 2016-10-15 23:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]
Hi!
The:
/usr/share/doc/netifrc-0.4.0/net.example.bz2
from the net-misc/netifrc package reads:
# Bridging (802.1d)
# For bridging support emerge net-misc/bridge-utils
# To add ports to bridge br0
#bridge_br0="eth0 eth1"
...
et cetera
...
How is this done with the bridge utility from iproute2 package is not very
clear to a non-expert. It sure is all completely different than with brctl.
Reminds me of how lots of people still prefer iptables over netfilter,
because there are good reason to do so.
It this a similar case?
While managing ones' ethernet interfaces, esp. the link and address of,
surely iproute2 package is superior than net-tools suite (expecially
the ip is superior than the ifconfig), and I mostly switched to the
better iproute2 replacements for net-tools suite, as per:
https://wiki.gentoo.org/wiki/Iproute2#iproute2_for_net-tools_swappers
-- also notice that bridge in not in the swappers there --
).
The net-tools vs. iproute2 question is solved for me in that respect.
However I can much more easily use the brctl from:
net-misc/bridge-utils
(and indeed, https://wiki.gentoo.org/wiki/Network_bridge still suggests so)
than the bridge from Iproute2 package.
Stick to bridge-utils or try the bridge from Iproute2?
And if the latter, any suggestions of a more detailed and more complete
and more user friendly tutorials?
Regards!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Use brctl from bridge-utils or bridge from iproute2?
2016-10-15 23:46 [gentoo-user] Use brctl from bridge-utils or bridge from iproute2? Miroslav Rovis
@ 2016-10-16 3:05 ` Erik Mackdanz
2016-10-16 3:13 ` Erik Mackdanz
2016-10-16 5:10 ` Miroslav Rovis
0 siblings, 2 replies; 9+ messages in thread
From: Erik Mackdanz @ 2016-10-16 3:05 UTC (permalink / raw
To: gentoo-user
Miroslav Rovis <miro.rovis@croatiafidelis.hr> writes:
> How is this done with the bridge utility from iproute2 package is not very
> clear to a non-expert. It sure is all completely different than with brctl.
ip link set master br0 dev eth0
in the output of 'ip link' and 'ip addr' you'll see that eth0 shows
'master br0'
> https://wiki.gentoo.org/wiki/Iproute2#iproute2_for_net-tools_swappers
>
> -- also notice that bridge in not in the swappers there --
I just added 'ip link set master'
I agree it would be good if netifrc and other wiki documents converted
to iproute2 to replace brctl commands.
Erik
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Use brctl from bridge-utils or bridge from iproute2?
2016-10-16 3:05 ` Erik Mackdanz
@ 2016-10-16 3:13 ` Erik Mackdanz
2016-10-16 4:45 ` Miroslav Rovis
2016-10-16 5:10 ` Miroslav Rovis
1 sibling, 1 reply; 9+ messages in thread
From: Erik Mackdanz @ 2016-10-16 3:13 UTC (permalink / raw
To: gentoo-user
Erik Mackdanz <stasibear@gentoo.org> writes:
>> How is this done with the bridge utility from iproute2 package is not very
>> clear to a non-expert. It sure is all completely different than with brctl.
> ip link set master br0 dev eth0
Sorry, that's half the story. To create the bridge:
ip link add dev br0 type bridge
You'll see the link type and all the bridge settings if you use the
'details' flag:
ip -d link
Erik
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Use brctl from bridge-utils or bridge from iproute2?
2016-10-16 3:13 ` Erik Mackdanz
@ 2016-10-16 4:45 ` Miroslav Rovis
0 siblings, 0 replies; 9+ messages in thread
From: Miroslav Rovis @ 2016-10-16 4:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]
Hi, Erik!
On 161016-03:13+0000, Erik Mackdanz wrote:
> Erik Mackdanz <stasibear@gentoo.org> writes:
>
> >> How is this done with the bridge utility from iproute2 package is not very
> >> clear to a non-expert. It sure is all completely different than with brctl.
> > ip link set master br0 dev eth0
>
> Sorry, that's half the story. To create the bridge:
>
> ip link add dev br0 type bridge
>
> You'll see the link type and all the bridge settings if you use the
> 'details' flag:
>
> ip -d link
>
And thanks! For this and the previous email.
But I couldn't wait long enought, and I set my bridge up with brctl.
I need it for this complex story here:
http://www.croatiafidelis.hr/foss/cap/cap-161015-qemu-devuan/
and it has already tired me very much by now (and likely that story,
somewhat Gentoo specific on my part, is not over yet).
Once bridge from iproute2 is in the netifrc documentation, and esp. in
the https://wiki.gentoo.org/wiki/Network_bridge#OpenRC I sure will use
it. I'm not very advanced to be completely at ease even with brctl :-) .
And thanks for adding it to the Wiki.
Regards!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Use brctl from bridge-utils or bridge from iproute2?
2016-10-16 3:05 ` Erik Mackdanz
2016-10-16 3:13 ` Erik Mackdanz
@ 2016-10-16 5:10 ` Miroslav Rovis
2016-10-16 6:33 ` Alon Bar-Lev
1 sibling, 1 reply; 9+ messages in thread
From: Miroslav Rovis @ 2016-10-16 5:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 771 bytes --]
On 161016-03:05+0000, Erik Mackdanz wrote:
> Miroslav Rovis <miro.rovis@croatiafidelis.hr> writes:
...
> > https://wiki.gentoo.org/wiki/Iproute2#iproute2_for_net-tools_swappers
> >
> > -- also notice that bridge in not in the swappers there --
> I just added 'ip link set master'
But that's not entirely correct, although only because the:
brctl addbr
brctl addif
do not belong under "net-tools".
You, or someone else, should make a separate table with the comparison
of the bridge-utils (containing brctl) and iproute2's utilitiy bridge.
And then probably also the usermode-utilities (containing tunctl) and
whatever the iproute2's utilitiy is that replaces those.
Regards!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Use brctl from bridge-utils or bridge from iproute2?
2016-10-16 5:10 ` Miroslav Rovis
@ 2016-10-16 6:33 ` Alon Bar-Lev
2016-10-16 20:19 ` Miroslav Rovis
0 siblings, 1 reply; 9+ messages in thread
From: Alon Bar-Lev @ 2016-10-16 6:33 UTC (permalink / raw
To: gentoo-user
On 16 October 2016 at 08:10, Miroslav Rovis
<miro.rovis@croatiafidelis.hr> wrote:
> On 161016-03:05+0000, Erik Mackdanz wrote:
>> Miroslav Rovis <miro.rovis@croatiafidelis.hr> writes:
> ...
>> > https://wiki.gentoo.org/wiki/Iproute2#iproute2_for_net-tools_swappers
>> >
>> > -- also notice that bridge in not in the swappers there --
>> I just added 'ip link set master'
>
> But that's not entirely correct, although only because the:
>
> brctl addbr
> brctl addif
>
> do not belong under "net-tools".
>
> You, or someone else, should make a separate table with the comparison
> of the bridge-utils (containing brctl) and iproute2's utilitiy bridge.
>
> And then probably also the usermode-utilities (containing tunctl) and
> whatever the iproute2's utilitiy is that replaces those.
Hi,
The non stable netirfc supports bridge via iproute2, please see [1]
Regards,
Alon
[1] https://wiki.gentoo.org/wiki/Netifrc/Brctl_Migration
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Use brctl from bridge-utils or bridge from iproute2?
2016-10-16 6:33 ` Alon Bar-Lev
@ 2016-10-16 20:19 ` Miroslav Rovis
2016-10-16 20:23 ` Alon Bar-Lev
0 siblings, 1 reply; 9+ messages in thread
From: Miroslav Rovis @ 2016-10-16 20:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]
On 161016-09:33+0300, Alon Bar-Lev wrote:
> On 16 October 2016 at 08:10, Miroslav Rovis
> <miro.rovis@croatiafidelis.hr> wrote:
> > On 161016-03:05+0000, Erik Mackdanz wrote:
> >> Miroslav Rovis <miro.rovis@croatiafidelis.hr> writes:
> > ...
> >> > https://wiki.gentoo.org/wiki/Iproute2#iproute2_for_net-tools_swappers
> >> >
> >> > -- also notice that bridge in not in the swappers there --
> >> I just added 'ip link set master'
> >
> > But that's not entirely correct, although only because the:
> >
> > brctl addbr
> > brctl addif
> >
> > do not belong under "net-tools".
> >
> > You, or someone else, should make a separate table with the comparison
> > of the bridge-utils (containing brctl) and iproute2's utilitiy bridge.
> >
> > And then probably also the usermode-utilities (containing tunctl) and
> > whatever the iproute2's utilitiy is that replaces those.
>
> Hi,
>
> The non stable netirfc supports bridge via iproute2, please see [1]
I do live with a ~amd64 (for long years by now)...
> Regards,
> Alon
>
> [1] https://wiki.gentoo.org/wiki/Netifrc/Brctl_Migration
>
Thanks! I have taken notice.
I hope the:
/usr/share/doc/netifrc-0.4.0/net.example.bz2
of netifrc package has been updated, ot will soon be updated as well,
with tips for users who need lots of kind documentation like me ;-) !
I just looked it up, but it may be my lack of knowledge... I see brctl
there, but am unsure if iproute2's bridge is supported... Sorry!
(However, I've done my bridge configuration for now. More pressing
issues elsewhere I have...)
Regards!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Use brctl from bridge-utils or bridge from iproute2?
2016-10-16 20:19 ` Miroslav Rovis
@ 2016-10-16 20:23 ` Alon Bar-Lev
2016-10-17 0:14 ` Miroslav Rovis
0 siblings, 1 reply; 9+ messages in thread
From: Alon Bar-Lev @ 2016-10-16 20:23 UTC (permalink / raw
To: gentoo-user
On 16 October 2016 at 23:19, Miroslav Rovis
<miro.rovis@croatiafidelis.hr> wrote:
> On 161016-09:33+0300, Alon Bar-Lev wrote:
>> On 16 October 2016 at 08:10, Miroslav Rovis
>> <miro.rovis@croatiafidelis.hr> wrote:
>> > On 161016-03:05+0000, Erik Mackdanz wrote:
>> >> Miroslav Rovis <miro.rovis@croatiafidelis.hr> writes:
>> > ...
>> >> > https://wiki.gentoo.org/wiki/Iproute2#iproute2_for_net-tools_swappers
>> >> >
>> >> > -- also notice that bridge in not in the swappers there --
>> >> I just added 'ip link set master'
>> >
>> > But that's not entirely correct, although only because the:
>> >
>> > brctl addbr
>> > brctl addif
>> >
>> > do not belong under "net-tools".
>> >
>> > You, or someone else, should make a separate table with the comparison
>> > of the bridge-utils (containing brctl) and iproute2's utilitiy bridge.
>> >
>> > And then probably also the usermode-utilities (containing tunctl) and
>> > whatever the iproute2's utilitiy is that replaces those.
>>
>> Hi,
>>
>> The non stable netirfc supports bridge via iproute2, please see [1]
>
> I do live with a ~amd64 (for long years by now)...
>
>> Regards,
>> Alon
>>
>> [1] https://wiki.gentoo.org/wiki/Netifrc/Brctl_Migration
>>
> Thanks! I have taken notice.
>
> I hope the:
>
> /usr/share/doc/netifrc-0.4.0/net.example.bz2
>
> of netifrc package has been updated, ot will soon be updated as well,
> with tips for users who need lots of kind documentation like me ;-) !
Noted, added[1].
[1] https://github.com/gentoo/netifrc/pull/23
> I just looked it up, but it may be my lack of knowledge... I see brctl
> there, but am unsure if iproute2's bridge is supported... Sorry!
It is, see[2] :)
[2] https://github.com/gentoo/netifrc/pull/15
> (However, I've done my bridge configuration for now. More pressing
> issues elsewhere I have...)
>
> Regards!
> --
> Miroslav Rovis
> Zagreb, Croatia
> http://www.CroatiaFidelis.hr
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Use brctl from bridge-utils or bridge from iproute2?
2016-10-16 20:23 ` Alon Bar-Lev
@ 2016-10-17 0:14 ` Miroslav Rovis
0 siblings, 0 replies; 9+ messages in thread
From: Miroslav Rovis @ 2016-10-17 0:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]
On 161016-23:23+0300, Alon Bar-Lev wrote:
> On 16 October 2016 at 23:19, Miroslav Rovis
...
> >>
> >> [1] https://wiki.gentoo.org/wiki/Netifrc/Brctl_Migration
> >>
...
> > /usr/share/doc/netifrc-0.4.0/net.example.bz2
> >
> > of netifrc package has been updated, ot will soon be updated as well,
> > with tips for users who need lots of kind documentation like me ;-) !
This below is brand new, freshly created!
> Noted, added[1].
>
> [1] https://github.com/gentoo/netifrc/pull/23
>
> > I just looked it up, but it may be my lack of knowledge... I see brctl
> > there, but am unsure if iproute2's bridge is supported... Sorry!
And the below was happening around one year ago!
> It is, see[2] :)
>
> [2] https://github.com/gentoo/netifrc/pull/15
>
Esp. the one that was happening along with this discussion on
gentoo-users! THat's you in "doc: bridge: add explicit iproute2 hint #23" !
It reads:
alonbl committed a day ago
Great! Thanks! And sorry to be too slow to follow!
--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-10-17 0:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-15 23:46 [gentoo-user] Use brctl from bridge-utils or bridge from iproute2? Miroslav Rovis
2016-10-16 3:05 ` Erik Mackdanz
2016-10-16 3:13 ` Erik Mackdanz
2016-10-16 4:45 ` Miroslav Rovis
2016-10-16 5:10 ` Miroslav Rovis
2016-10-16 6:33 ` Alon Bar-Lev
2016-10-16 20:19 ` Miroslav Rovis
2016-10-16 20:23 ` Alon Bar-Lev
2016-10-17 0:14 ` Miroslav Rovis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox