FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 07-24-2008, 04:20 PM
Marco Fretz
Default Possible bug in ifup-eth script of Centos 5.2 (combination of bond and bridge)

Dear CentOS,

I think i found a "bug" in the /etc/sysconfig/network-scripts/ifup-eth script of CentOS 5.2. i can post the my changed ifup-eth script if you want.
Am I the first one with this problem?

- eth2 and eth3 should be in bond1 interface
- bond1 should be an interface of bridge named "iscsi"

the problem is that the brctl addif command in ifup-eth gets executed before the slave interfaces of a bonding are enslaved.

brctl addif fails if you are trying to add a bonding interface to a bridge and the bonding interface have no slaves.

my solution was to switch the order in the ifup-eth script:
- to the bonding (slave interfaces) stuff before the bridge stuff

and its working... the bonding interface gets his slaves and can be added to the bridge without any errors.

best regards

CentOS mailing list

Thread Tools

All times are GMT. The time now is 05:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org