You are not logged in.

#1 2012-10-02 13:37:05

Charles
Member
Registered: 2011-01-18
Posts: 12

Netcfg and bonding

Hi,

I am trying to bond eth0 and eth1.

I have in /etc/network.d/bonding:

CONNECTION='bond'
DESCRIPTION='Bond Interface'
INTERFACE='bond0'
IP='static'
ADDR="192.168.3.240"
NETMASK="255.255.255.0"
SLAVE_INTERFACES=('eth0' 'eth1')

I am booting with systemd. After boot, according to "ip link", eth0 and eth1 are up, and bond0 is down.

So bond0 isn't working.

Nothing informative in the logs.

Any ideas ?

Thanks

Charles

Offline

#2 2012-10-02 14:12:31

progandy
Member
Registered: 2012-05-17
Posts: 2,143

Re: Netcfg and bonding

Did you select the netcfg-profile, e.g. with net-profile.service?
Does it work if you enable it manually ('netcfg bonding')?

Last edited by progandy (2012-10-02 14:13:20)

Offline

#3 2012-10-02 15:24:05

Charles
Member
Registered: 2011-01-18
Posts: 12

Re: Netcfg and bonding

Yes I did. Same result.

I think it's a problem with /usr/lib/network/connections/bond. I compared it with bonding (in AUR) (and some Googling, this for example)

According to both, the interface is started too early (with "$CONN_DIR/ethernet" up). It should be done with "bring_interface up" and the interface started at the end. I tested it, and it's working.

I opened a bug report: https://bugs.archlinux.org/task/31770

Charles

Last edited by Charles (2012-10-03 08:27:47)

Offline

Board footer

Powered by FluxBB