You are not logged in.

#1 2011-06-13 18:55:44

inktvis75
Member
Registered: 2011-06-13
Posts: 36

new rc.conf networking and nic bonding

I understand that net-tools is deprecated (actually a good idea),
but i have the feeling that someone forget to think about bonds.
Netcfg should support it (optionally), but i am not able to get it working (lack of documentation).

It is possible to make the new method working:
in rc.conf:
interface=bond0
address=
..
then in rc.local
echo +eth0 > /sys/class/net/bond0/bonding/slaves
echo +eth1 > /sys/class/net/bond0/bonding/slaves
ip link set dev bond0 up

but i don't think that is *the* way to go

is there a better way  to do it ?
maybe a feature request ? wink

Offline

#2 2011-08-12 09:32:03

outerdark
Member
From: Germany, Freiburg
Registered: 2007-04-02
Posts: 38

Re: new rc.conf networking and nic bonding

Any news on this?

Offline

#3 2011-08-12 10:42:03

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: new rc.conf networking and nic bonding

If neither of you have the ability/motivation to patch netcfg yourselves, then one of you should indeed submit a feature request.

Last edited by tomk (2011-08-12 10:43:26)

Offline

#4 2011-08-12 18:59:04

inktvis75
Member
Registered: 2011-06-13
Posts: 36

Re: new rc.conf networking and nic bonding

@tomk
Maybe i'm wrong, but the first thing we need to know: what is the best way to do it.
The way i described in my initial posting still works for me. I just take a look at https://aur.archlinux.org/packages.php?ID=25771 and there is also a new release, i have to test or it's working again..

Offline

#5 2011-08-12 19:27:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: new rc.conf networking and nic bonding

OK - no doubt that AUR package has merit, but I still think it should be submitted as a patch.

Offline

#6 2011-09-01 11:30:24

geometric
Member
Registered: 2011-09-01
Posts: 3

Re: new rc.conf networking and nic bonding

I think that optimal decision would be both ways of configuring network.
Why developers wouldn't do that? the old way is more flexible anyway

Offline

#7 2011-09-01 13:51:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: new rc.conf networking and nic bonding

geometric wrote:

I think that optimal decision would be both ways of configuring network.
Why developers wouldn't do that? the old way is more flexible anyway

"Optimal" from who's point of view?
Have you read http://www.archlinux.org/news/deprecation-of-net-tools/ ?

Offline

Board footer

Powered by FluxBB