Ubuntu Networking :: NIC Bonding - Teaming And Switches ?
Jun 20, 2011
I have a question about bonded NICs and the switches they are connected to.
I have a server which needs to send a lot of data to another server quickly. Both have multiple GbE NICs. I understand what is required at the server end (I think) in that a pseudo-interface is created such as bond0 with the IP applied to that interface rather than eth0 and eth1.
My question relates to the connection between the servers, i.e. the switch. Is a specific type of switch required for this to work, as an IP will have 2 (or more) MAC addresses associated with it, or how does the switch decide to which port to route the traffic for the bond0 IP?
Also, will this only work when multiple connections are being made? What I mean is, will each individual TCP connection only use either the physical eth0 OR the physical eth1 interface, or can a single connection make use of the aggregated bandwidth, sending one packet to one physical interface and another to the other physical interface, using the bond0 IP as the destination?
What I am trying to work out is if I had a storage server connected to an application server and exporting storage using NFS or GlusterFS, would an aggregated link improve throughput?
View 7 Replies
ADVERTISEMENT
May 16, 2010
When running mii-tool , i get this resault eth0: negotiated 1000baseT-FD flow-control, link ok SIOCGMIIPHY on 'eth1' failed: Resource temporarily unavailable Which is probably preventing me from creating a "Bonding/Teaming". how to create a "teaming" with these 2 interfaces ?
View 2 Replies
View Related
Feb 16, 2010
I've run across a few threads in the archived forums regarding nic bonding. I could be wrong but I imagine most of the people that are looking at bonding are probably really wanting what they would get out of creating a LAG between their Ubuntu Server and a managed switch capable of LACP trunks. If you have two NICS on your ubuntu server and want 2gps throughput & failover check out the page on creating a LAG. Obviously this requires your switch to be compatible though. [URL]...
View 1 Replies
View Related
Sep 1, 2011
I have 2 Net connection and 2 NIC. I want to know how to make bonding for that. I am using Ubuntu Server Natty 11.04 - 64bit
[code]....
Is it possible to make Bonding?
View 1 Replies
View Related
Mar 26, 2010
I am running FC10, How to NIC bonding ..
View 1 Replies
View Related
Dec 3, 2010
I just set up NIC bonding in Ubuntu 10.4, following these instructions, and I've got it working except for one problem: Every time I up or down a network device, or every time the system reboots, my routes go all to hell with eth0 and eth1 entries next to my bond0 entries. When the eth0 and eth1 entries show up, my connection is hosed and I have to go in via the maintenance IP to kill each route one at a time, leaving only bond0. Here's how I want my routes to look at all times:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.87.9.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
0.0.0.0 10.87.9.1 0.0.0.0 UG 100 0 0 bond0
Here's my /etc/network/interfaces:
[Code]...
View 3 Replies
View Related
Feb 26, 2009
I installed Fedora 10 and used dynamic IP first. Then I found out that bonding works with static ip only so I switched to static IP. But then, since I have 3 NIC cards, I configured bonding. I need help in these points:
1- steps to follow so that I switch from dynamic to static IP
2- steps to follow so that I configure bonding
View 2 Replies
View Related
Apr 14, 2011
I am seeing an issue on a few servers where it doesn't appear all NICs in the 802.3ad lag are all operating at the same level. A few of the servers have two bonds each with two NICs in each bond.I have two NFS servers that each has 1 bond with 3 NICs.All are RHEL5 x64 2.6.18.I think the reason why I see one interface dominating RX and another dominating TX is due to the xmit_hash_policy but there are three hosts that use this particular server for network traffic.That's 3 different physical mac addresses.The layer2 algorithm should be fine in that situation I would think.Would I just be better off with balance-rr?
View 3 Replies
View Related
Nov 2, 2010
is possible to use linux (especially slackware) to bond 2 (ethernet modems) adsl connections. For example if i have 2 connection of 24mbs download and 512 upload i will create achieve 48 mgps dowload and 1 mgps upload . something like that
adsl1 modem <------ eth1--- (slackbox router) --- eth0---> my server
adsl2 modem <------ eth2----
View 4 Replies
View Related
Dec 15, 2010
I want to bond two NIC to the same IP, I was able to do this for Static IP but not DHCP.
Does anyone have any idea about the possibility of this?
The process at which i reached to this question is explained here:
http://ubuntuforums.org/showthread.php?t=1645440
View 1 Replies
View Related
Jul 19, 2011
I am confused as to what is going on with a particular box that I am working with.As you can see in the attached ifconfig print out, one eth port is basically only used as a output while the other is only really used as an input.I connect to the box via 10.20.40.104 for ssh,ftp,http,etc.I just want to know the name of what is happening (is it bonding,bridging?) and maybe some information about where it is configured.I looked in modprobe.conf
eth0 Link encap:Ethernet HWaddr 00:1E:C9:EE:5A:91
inet addr:10.20.40.105 Bcast:10.20.40.255 Mask:255.255.255.0
inet6 addr: fe80::21e:c9ff:feee:5a91/64 Scope:Link
View 6 Replies
View Related
May 27, 2010
I have 4 DSL modems connected with 4 different ISP's my scenario is
a) My FC-2 machine with LAN IP=192.168.10.1 and Bond0 IP=192.168.1.1
b) Modem-A LAN IP= 192.168.1.2 , ext IP=xxx.xxx.xxx.xxx
c) Modem-B LAN IP=192.168.1.3, ext IP=xxx.xxx.xxx.xxx
d) Modem-C LAN IP=192.168.1.4, ext IP=xxx.xxx.xxx.xxx
e) Modem-D LAN IP=192.168.1.5, ext IP=xxx.xxx.xxx.xxx
Modem-A, B, C, and D LAN connected with my FC-2 machine, and all 4 interfaces of my machine are in Bond0, Now please help me what default Gateway I should set in my FC-2 machine?>??? or I have to set 4 gateways in my machine?and will this configuration works?
View 1 Replies
View Related
Oct 8, 2010
I'm trying to set-up a back-up (mode 1) bonding nic. I can't ping the LAN, pinging bond0 locally however works. Here is my config:
/etc/modprobe.conf
Code:
alias eth0 e1000e
alias eth1 e1000e
alias eth2 e1000e
alias eth3 e1000e
alias scsi_hostadapter ahci
alias scsi_hostadapter1 usb-storage
alias bond0 bonding
[Code].....
View 1 Replies
View Related
Apr 16, 2010
As Xen is based on LINUX I'm hoping that someone out there could help me. I'm struggling with 802.3ad on a cisco switch (LACP). I'm going to be using this for my storage network on a dedicated cisco switch talking to a teamed pair of intel NIC's ISCSI storage. From the intel side I can set them to Link aggregated one team 2GB this is fine and my config shows active active on the NICs. How would I go about doing this from a LINUX box. In order to remove any bottle necks it needs to be active active from Xen. If I do a pif-forget uuid= on a XEN server I'm in complete control using Linux.
View 9 Replies
View Related
Oct 19, 2009
I instaled HPML350 G6 server. I would like to configure ethernet fail over. I got the script from my friend and configured and restarted the network services. I am getting the error message that ""Deprecated configure file /etc/modprobe.conf, all config files belonging to /etc/modprobe.d". System automatically assigning IP address also.
View 2 Replies
View Related
May 14, 2010
Just for the learning sake, I was going through this document for Bonding of Two Ethernet Cards for Fault-Tolerance (active-backup). Here, /etc/modprobe.conf is as
Code:
alias bond0 bonding
options bond0 mode=1 arp_ip_target=192.168.1.1 arp_interval=200 primary=eth0
Now, I just wanted to to know,
- What parameter is arp_ip_target and why it is used.
- Why the IP is 192.168.1.1, whereas the IP in /etc/sysconfig/network-script/ifcfg-bond0 is 192.168.1.5.
- Can I use the below /etc/modprobe.conf ?
Code:
alias bond0 bonding
options bond0 miimon=100 mode=1 primary=eth0
View 1 Replies
View Related
Mar 10, 2011
Upgraded a school network from FastEthernet to GigabitEthernet. Broke the network up into VLANs. Discovered that the router (Cisco 2821) could only route between the VLANs at around 400Mb/s. Tested out some layer three switches. They work very nicely, but are more than we need. So I started putting some spare equipment we had together as a Linux router.
Result: Underwhelmed. The machine has two Intel GigE interfaces. With the machine configured to route between two test VLANs I get about 855Mb/s with a single interface (all VLANs trunked over the single interface). That's about what I'd expect. Maybe a little low. With the two interfaces bonded, I get about the same.
For testing, I set up eight Windows machines, four on each VLAN. The Linux router is the only machine that can route between the two VLANs. I used Iperf to generate traffic and measure throughput between pairs of machines. Two machines on the same VLAN get about 300Mb/s between themselves. With the four machines organized into cross-VLAN pairs, I get about 855Mb/s total throughput on a single interface and very slightly more with two interfaces bonded.
The Linux router has an Intel Xeon E5506 CPU running at 2.13GHz and these are Intel GigE interfaces (built-in). I would expect to get a large boost by adding the second interface. I've confirmed that bonding is working (by pulling either of the cables and watching everything continue to function).
View 9 Replies
View Related
Jan 28, 2011
I am running RHEL 5.3 on a blade server w/ 2 NICs that are bonded. I have 2 VLANs that I am trying to configure. I have created the network-scripts ifcfg-bond0.<vlan#>. I can ping the device but the gateway won't ping. I am in console mode so cutting and pasting output doesn't work.
View 2 Replies
View Related
Aug 20, 2010
Is it possible to bond an existing bond. I have 4 nics assigned to 2 bonds for link aggregation. ie
e1000g0 - bond1 - mode =4
e1000g1 - bond1 - mode =4
e1000g2 - bond2 - mode =4
e1000g3 - bond2 - mode =4
I would have presumed that you have 2 x agregates giving 2 x 2gig links and the resilience is that if one nic fails in either bond you carry on with that bond running a 1 gig link until fixed. But, our architect wants to have an active/passive (mode 1) accross bond2 and bond3. I have setup tons of mode 1 bonds and mode 4 bonds but never tried bonding 2 x mode 4 bonds!
View 3 Replies
View Related
Nov 11, 2010
On my previous release *cough* if inenslave was needed, bonding instructions didn't work through aggregation did.
cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto bond0
iface bond0 inet static
address 192.168.1.149
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 127.0.0.1
broadcast 192.128.1.255
post-up ifenslave bond0 eth0 eth1
pre-down ifenslave -d bond0 eth0 eth1
#auto wlan0
#iface wlan0 inet dhcp
#netmask 255.255.255.0
#wpa-conf /etc/wpa_supplicant.conf
For some reason the unmentioned former disto, I could not get wireless networking under this configuration and a simple wlan0 interface, in case either cable were to sever it would retain a wireless. The bonding was done for speed, and I believe I can't get faster than mode=4.
View 1 Replies
View Related
Jul 7, 2011
We run redundant switches that two nic's on each server connect to. We also run bonding on our servers. Because we have two switches, we can't run lacp or anything. If a switch goes into a crashed state where it doesn't pass traffic but still provides link, bonding thinks the interface is still up and thus will still send traffic through it. Does anybody know a better way to configure the fail over of the interface? This would be a similar situation to somebody using a media converter.
View 1 Replies
View Related
Dec 9, 2010
I'm trying to configure my Red Hat server to use port bonding for two interfaces going to a switch, and I followed this redhat guide [URL]...-redhat-server but when I attempt to bring the bond up, it simply uses mode 0 (round robin) instead of mode 1, which I specifically configured in /etc/modprobe.conf by doing
Code:
options bond0 mode=1
Any ideas why the bond would continue to use round robin when I set it to active-backup?
View 2 Replies
View Related
Feb 26, 2011
I just setup a new LAMP server (CentOS 5.5 x86_64) box with channel bonding on NetXtreme II BCM5709 Gigabit Ethernet (IBM x3650 M3). The problem is I wasn't able to connect to this server when I'm in different VLAN's. This server also unable to ping different VLAN's. But everything works fine when I transact in the same VLAN.Here's the config:
Datacenter VLAN = 9
Firewall = Disabled
SELinux = Disabled
[code]...
View 10 Replies
View Related
Dec 10, 2010
We have a Blade server connected to a two internal ESM Cisco switch. We want to have a active-backup configuration with bonding. We follow the documentation and we hace configured the next:
Centos 5.5
ETH0:
[root etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme II BCM5709S Gigabit Ethernet
DEVICE=eth0
[Code].....
View 1 Replies
View Related
Jan 26, 2010
I'm configuring Nagios at the moment, but I'm doubting my approach to transparent switches a bit. It seems from reading the documentation that Nagios wants me to ignore transparent switches, although I also doubt this interpretation of mine.
A little example, a VPN:
Code:
demarcation point
|
[router]
/
[switch][switch]
| / |
[7 clients] [switch] [switch]
/ |
[6 clients] [4 clients] [5 clients]
As you can see, there are 22 clients connected to the router. Since switches don't have an address, they cannot be measured. But if I ignore the switches, the schema is an oversimplified picture of reality. So what I'm looking for is a way to display the switches, even though they don't have an address. What I did was, I created the switches as where they proper fully featured ones, and listening to 127.0.0.1 as address. Luckily, this tricked Nagios. And it works, but it's not very elegant. Is there a better way to approach this pseudo-problem? Perhaps a build-in I overlooked?
View 10 Replies
View Related
Feb 12, 2009
I have 2 cisco sw 3500xl series working properly forwarding traffic. All operations are Layer 2. I have setup keep alive 10 on all the ports. They are connected to another sw together with a Linux router on Cent OS 5.2. I can't ping the switches from the Linux box. If I arping them, I get a response and after that they are accessible for telnet. Otherwise they are not. After 5min the macs are flushed from the arp table of the Linux box, and then again they are not accessible only if I arping them, or set a static mac.
View 1 Replies
View Related
Feb 19, 2010
if could setup ethernet bonding in linux, does it require the switch to support link aggregation?
View 2 Replies
View Related
Aug 5, 2010
I'm trying to do some network bonding in RHEL 5.4, and I'm not seeing the results I expect. I have set up a number of servers using mode 1 with no issue, but I need to configure a new server differently. bond1 is created from eth1 & eth2 bonded together using mode 802.3ad with layer2 lacp bond0 is created from bond1 & eth3 using mode active-backup with bond1 as the primary interface When I bring the network services up, all traffic is passing over eth3 instead of bond1, which is the primary. Below are the modprobe.conf * ifcfg-* files involved.
My modprobe.conf:
alias eth0 e1000
alias eth1 e1000
alias eth2 e1000
alias eth3 e1000
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptsas
alias scsi_hostadapter2 qla2xxx
[Code].....
View 3 Replies
View Related
Dec 20, 2009
I'm curious as to what defines the SNMP trap info sent by switches? I would like to get updates on 802.1x authentication and state of switches (all manufacturers if possible). Is the data sent via traps determined by the manufacturer or is it possible to modify/select it from the switch MIB?
View 3 Replies
View Related
Jan 6, 2010
Right now we are running a gigabit network with unmanagead switches. What do i gain performance wise and capability wise with moving to smart and managed and do these benefits make the cost worth it?
View 1 Replies
View Related