Results 1 to 4 of 4
I am new to Linux, however I have managed a Unix 11.00 system for the past few years so that experience has come in handy. We are currently setting up ...
- 05-21-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 2
[SOLVED] Bonding questions
I am new to Linux, however I have managed a Unix 11.00 system for the past few years so that experience has come in handy. We are currently setting up a RHEL5 system and I'm trying to get the NIC bonding to work for failover. I currently have it working on the system, however whenever the system reboots it will not start the bonding until I run the "ifup bond0" command. Once I run this command the bonding interface comes online without issue. Do I need to create a script to run this ifup command at startup or is there something I'm missing? Here is configuration of my NICS and the bond0 file.
bond0:
DEVICE=bond0
IPADDR=10.10.*.58
NETMASK=255.255.255.0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
GATEWAY=10.10.*.254
eth0:
DEVICE=eth0
BOOTPROTO=none
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=00:23:81:A9:**:90
IPV6INIT=yes
IPV6_AUTOCONF=yes
ONBOOT=yes
TYPE=Ethernet
ETHTOOL_OPTS="speed 1000 duplex full autoneg on"
eth1:
"DEVICE=eth1
BOOTPROTO=none
USERCTL=no
MASTER=bond0
SLAVE=YES
HWADDR=00:23:81:A9:**:8C
ONBOOT=yes
TYPE=Ethernet
ETHTOOL__OPTS="speed 1000 duplex full autoneg on"
Any insight would be greatly appreciated.
- 05-23-2009 #2
When it comes to singular commands I just stick them in /etc/rc.d/rc.local, I'm not entirely sure where yours is as you're using sysvinit scripts but I imagine it would be /etc/rc.d/rc.3/rc.local, for example. You will need to choose the right runlevel to put it in, I'm assuming you're familiar with that. I hope this helps.
- 05-25-2009 #3
- 05-27-2009 #4Just Joined!
- Join Date
- May 2009
- Posts
- 2
Thanks
Thanks for your help. I did get the bonding to work, but I believe it was a syntax error on my end. Thanks again.



