LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-17-2009, 09:16 AM   #1
ch19251
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
Do you need STP enabled to run active active bonding one CentOS4?


I would like to improve the throughput of my db servers, running CentOS4.7 64bit. I wanted to bond the 2 interfaces together, and active active configuration to provide more throughput and provide fault tolerance. My question is this, my network is a flat Layer 2, with 2 gigabit dumb switches, so no Spanning Tree Protocol (STP). If I bond the 2 nics active active, then plug one nic in one switch and one nic in the other switch, would I create a routing loop?
 
Old 06-17-2009, 09:30 AM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
no you dont need it, Here are my config files you can copy them to the /etc/sysconfig/network-scripts/

ifcfg-bond0
----------------------------------------
DEVICE=bond0
BOOTPROTO=none
IPADDR=10.XX.XX.1
NETMASK=255.255.255.248
NETWORK=10.12.XX.XX
BROADCAST=10.12.XX.XX
ONBOOT=yes
USERCTL=no
----------------------------------------
ifcfg-eth0
----------------------------------------
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=eth0
MASTER=bond0
SLAVE=yes
HWADDR=00XXXXXXXXXXXX
BOOTPROTO=none
IPADDR=10.12.XX.XX
NETMASK=255.255.255.248
NETWORK=10.12.XX.XX
BROADCAST=10.12.XX.XX
ONBOOT=yes
USERCTL=no
----------------------------------------
also you need /etc/modprobe.conf
alias bond0 bonding
options bond0 miimon=100 mode=0
alias eth0 bnx2
alias eth1 bnx2
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIC Bonding: Does not failover successfully. Only one NIC is active Akhran Debian 2 02-18-2011 07:26 PM
active active servers to same memory space c@ml Linux - Server 2 10-31-2008 08:19 AM
how do i let dhclient3 run at a later runlevel with concurrency active? MrInept Debian 6 03-29-2007 08:33 AM
Ethernet Bonding - Active Load Balancing synpse Linux - Networking 3 10-11-2006 06:25 AM
How to Run my Active X Control Developed in VB6 in Linux? yesrajesh General 8 09-27-2004 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration