Difference between IPMP and Link Aggregation ?


 
Thread Tools Search this Thread
Operating Systems Solaris Difference between IPMP and Link Aggregation ?
# 1  
Old 05-12-2009
Difference between IPMP and Link Aggregation ?

Hi everybody,

One client asked me to configure network failover and load balancing for two Ethernet interfaces, I tried IPMP but I was unable to do so, because he's using his Gateway as firewall and PING is disabled.

so IPMP kept telling me that all interfaces failed because gateway can't be pinged.


I thought of using Link Aggregation, but I have never used it before.

So can anybody tell me the difference in the failover and loadbalancing provided by IPMP and link aggregation?

And what are the limitations of Link Aggregation ?
# 2  
Old 05-12-2009
As far as i know you cannot do failover with link aggregation as linkaggregation wants you to have both the interfaces on the same switch and that defies the impm configuration basic which wants you to have the interfaces on 2 different switches .. that what i know correct me if wrong.
# 3  
Old 05-12-2009
here is an article regarding some differences between them: Nicolas Droux' Blog

so fugitive is basically right. link aggregration is the act of basically taking multiple ethernet cables and trunking them together to increase the link speed beyond the limits of any one single cable or port, and to increase the redundancy for higher availability. at my shop, we do this to the same switch to increase our copper backup network speed (1 cat6 line to 2 cat6 lines, thus allowing for 2 gig limit). we use a juniper ex4200 that already comes more or less out of the box to do LA (although these switches i feel are a pain to deal with).

here is an article on how to work with dladm: Solaris tip of the week: Link Aggregation and Logical Interfaces - greetings from network.com

as for ipmp, you are looking to run 2 ethernet cables to two seperate switches which gives you the HA situation but not just at the host, but the switch and essentially the router levels (if you have cross-connects between switches and routers).
for ipmp, check out this article: Solaris IP Multipathing made easy
# 4  
Old 05-13-2009
IPMP has two modes for checking the health of an interface:
a) Link Status
b) External ping


Utilizing the Link Status method (as provided by the NIC driver) should solve your issue. Assuming bge0 and nxge0, here is how to set it up.

Code:
I. Put and IP address and IPMP group name on the 1st NIC:

   /etc/hostname.bge0:
  192.168.1.1 group ipmp_front up

II. Put the same group name on the 2nd NIC:

   /etc/hostname.nxge0:
   group ipmp_front up

III. Then reboot to take effect.

This will create and active/passive IPMP failover group with outgoing load-balancing.

KW
# 5  
Old 05-13-2009
Is the reboot necessary? This should be possible to setup by an unplumb/plumb sequence as well.
# 6  
Old 05-14-2009
Hi

I thought that what ever route host statement you've manually added, ipmp would use this host to `ping` when deciding to failover. So, on the network, find 3 hosts that you can create a direct link into within your routing table and use those. E.g.

# Copyright (c) 2003 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident "@(#)staticroutes 1.0.1
#
# Edit the following IPMP test TARGETS to suit your needs.
# To install:
# 1) cp S70staticroutes to /etc/rc2.d
# 2) perform edits on the script as required
# 3) chmod 744 /etc/rc2.d/S70staticroutes
# 4) chown root:sys /etc/rc2.d/S70staticroutes
# 5) ln /etc/rc2.d/S70staticroutes /etc/init.d/staticroutes
#
TARGET1=148.253.132.10
TARGET2=148.253.132.11
case "$1" in
'start')
/usr/bin/echo "Adding static routes for IPMP ..."
/usr/sbin/route add host $TARGET1 $TARGET1
/usr/sbin/route add host $TARGET2 $TARGET2
;;
'stop')
/usr/bin/echo "Deleting static routes for IPMP ..."
/usr/sbin/route delete host $TARGET1 $TARGET1
/usr/sbin/route delete host $TARGET2 $TARGET2
;;

SBK
# 7  
Old 05-14-2009
IPMP reboot not nessesary

Frozentin,
Yes, ifconfig can be used to setup IPMP live, but you still need to configure hostname.xxx files to make it persistent across reboots.

Reiterating, IPMP has two failure detection modes: 1) pinging, typically a router, 2) link status on the NIC, which does not ping. I have found link status to be a dependable IPMP failover trigger, conversely, I have found the ping method to falsely trigger failover when the default router was busy and could not respond to ping in a timely manner (but this is very rare).

KW
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How can I test link aggregation?

Hi, I have Solaris-10 server and link aggregation is configured on this in below way # dladm show-aggr key: 1 (0x0001) policy: L4 address: 3c:d9:2b:ee:a8:a (auto) device address speed duplex link state bnx1 3c:d9:2b:ee:a8:a... (8 Replies)
Discussion started by: solaris_1977
8 Replies

2. IP Networking

Link Aggregation

Hi ihave three link of internet and iwant to put one linux front of a firewall that this three linux speard firewall such az load balance and fialover but dont close any port and protocol and only firewall have been internet what way can i use for it ? are there any script and services do that... (0 Replies)
Discussion started by: mnnn
0 Replies

3. Solaris

Link Aggregation without LACP

Hi, I'm not from the Solaris world and some of these things are new to me. Can someone tell me if it is possible to configure link aggregation without using LACP? I am told etherchannel was setup without LACP. (3 Replies)
Discussion started by: techy1
3 Replies

4. HP-UX

Break Link Aggregation in HP UX.

Hi, I want to Break the Link Aggregation. My aggregation are lan0+lan1 = lan900. Now I want to break this and put the IP in lan0. But i have cluster environment and this is the main database server. So It need to change in cluster script. But I dont know where I have to change it. Please... (1 Reply)
Discussion started by: mkiron
1 Replies

5. Solaris

Link aggregation

Me again :) I'm trying to find a page describing the L2, L3 und L4 modes of dladm. It's nice to read "hashed by ip header", but how should I use that? On the file-server it's ok to have the six interfaces serving six clients each on it's own. But an rsync connection via switch between two... (8 Replies)
Discussion started by: PatrickBaer
8 Replies

6. HP-UX

Link Aggregation HPUX

Hi, Hoping someone can offer some advice on something i have not dealt with before. We have a server that seems to have some very strange configuration done on it. It has 2 physical NIC's and rather than both be aggregated into LAN900 we have 1 in LAN900 and 1 in LAN901? (See Below)... (2 Replies)
Discussion started by: Andyp2704
2 Replies

7. AIX

Link aggregation with hacmp ?

Hi, I need to setup a hacmp cluster (my first one, we usually use VCS on AIX), but I require more network bandwith than a normal gigabit etherchannel setup can provide, so I am thinking about using linkaggregation - 2 active adapters to one switch and a single backup adapter to another switch... (4 Replies)
Discussion started by: zxmaus
4 Replies

8. IP Networking

bonding without switch link aggregation

I have some linux machines that I am trying to increase the throughput to on a single connection. They connect to a switch with two 1GbE lines and the switch does not have Link Aggregation support for these machines. I have tried bonding with balance-rr, balance-alb, but the machines can only... (4 Replies)
Discussion started by: Eruditass
4 Replies

9. UNIX for Advanced & Expert Users

Link Aggregation and LACP

Hi there I have a requirement to provide failover to our customer boxes in case of interface / switch failure, I have been looking at Solaris Link Aggregation with LACP and I wanted to ask a question Ive seen multiple websites that say the following Does this also mean that if the... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

10. Solaris

Link Aggregation

Hi there I have a requirement to provide failover to our customer boxes in case of interface / switch failure, I have been looking at Solaris Link Aggregation with LACP and I wanted to ask a question Ive seen multiple websites that say the following Does this also mean that if the... (2 Replies)
Discussion started by: hcclnoodles
2 Replies
Login or Register to Ask a Question