- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to combine multiple nics
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2008 09:09 AM
04-12-2008 09:09 AM
is it possible to combine 2 nics ?
if one nic goes down due to hardware error(malfunction) the other nic will continue to work, so that services remains available to the client, and machine remains available on the network.
Regards
Maa
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2008 10:06 AM
04-12-2008 10:06 AM
Re: how to combine multiple nics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2008 02:26 PM
04-13-2008 02:26 PM
SolutionYes it is possible by using the linux ethernet bonding driver:
1. configure the bond interface
vi /etc/sysconfig/network/ifcfg-bond0
BOOTPROTO="static"
BROADCAST="10.0.0.255"
IPADDR="10.0.0.10"
NETMASK="255.255.255.0"
NETWORK=""
REMOTE_IPADDR=""
STARTMODE="onboot"
BONDING_MASTER="yes"
BONDING_MODULE_OPTS="mode=balance-alb miimon=100"
BONDING_SLAVE0="eth0"
BONDING_SLAVE1="eth1"
2. make alias and set options for bonding options
# load and configure module
alias bond0 bonding
options bond0 mode=balance-alb miimon=100
alias bond1 bonding
options bond1 mode=balance-alb miimon=100
3. remove old records
vi ifcfg-id-xx:xx:xx:xx:xx:xx
BOOTPROTO='none'
STARTMODE='off'
4. test
modprobe bonding
service network restart
cat /proc/net/bonding/bond0
Typical bonding configuration should look like this:
sve@angmar:~/project/mvn$ cat bond0
Ethernet Channel Bonding Driver: v3.0.1 (January 9, 2006)
Bonding Mode: adaptive load balancing
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:19:bb:30:21:d0
Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:19:bb:30:21:cf
For more information refer to the kernel documentaion:
/usr/src/linux/Documentation/networking/bonding.txt
Good luck!
--
sve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 07:43 AM
04-15-2008 07:43 AM
Re: how to combine multiple nics
does "mode=balance-alb" provides High Availability and/or fault tolerance ?
Svetoslav Gyurov, in SUSE options are provided in single quotes in the nic configuration file.
there is no need to configure in /etc/modprobe.conf
I also tried to configure the bonding using YaST, and using mouse clicks its done(nice tool). Yast also doesnt modify the /etc/modprobe.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 08:06 AM
04-15-2008 08:06 AM
Re: how to combine multiple nics
Yes it provides failover in case of a failure of one of the nics. I used this feature to provide HA to the network interfaces in regard to Oracle RAC. I used to have two servers each with four nics connected to two (stacked) switches. So I had two bonded interfaces, one for the public and one for the private network and I never used to have problems with this setup.
Regards,
sve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2008 09:00 PM
04-15-2008 09:00 PM