por | 29 marzo, 2009

Hi All,

I am fairly new to Solaris. I am running Solaris10 on a SunFire V240. I’d like to team mutliple NIC’s into a single interface with a single IP address. I’d like the to operate in a hot-standby mode

(I have seen this done in Windows and Linux (via bond config)

I have read documentation «How to Configure a Standby Interface for an IPMP Group» but I do not understand why I need to configure «test addresses». This means I end up with 3 IP addresses, 2 test addresses on each NIC and then the actual interface IP address.

In the Windows and Linux setups, I have only 1 IP.

Has anybody done this with solaris 10 before?

Many thanks for any help you can provide. I apologise for the double-post. Can somebody remove my first post in «General Solaris 10 Discussion»


Edited by: jagajutt on Jul 15, 2008 6:46 AM

From your info, I think you are confusing «IPMP» and «trunking» (a.k.a. link aggregation).

When you say «‘d like to team mutliple NIC’s into a single interface with a single IP address» that is link aggregation. When you say «I’d like the to operate in a hot-standby mode», that sounds like IPMP.

BTW, to do link aggregation, you need a GLDv3 interface. If you are using the bge’s on the 240, they qualify. You can configure link aggregations from multiple interfaces and then put them into IPMP groups, does that sound like what you need?

IMPORTANT: you need to start with UNPLUMBED INTERFACES. You need to ensure the switchports you are using are also configured for link aggregations.

for purposes of example, assume you want to create 2 link aggrs, each containing 2 bge interfaces. First, create the link aggregations and plumb them up.

reference: Home > Solaris 10 System Administrator Collection > System Administration Guide: IP Services > TCP/IP Administration > 6. Administering Network Interfaces (Tasks)

dladm create-aggr -d bge0 -d bge1 1
ifconfig aggr1 plumb up

dladm create-aggr -d bge2 -d bge3 2
ifconfig aggr2 plumb up

dladm show-aggr (to list them)

create the files needed to make these persistent across reboots:

# vi /etc/hostname.aggr1

#vi /etc/hostname.aggr2

ifconfig will show these as «aggr1» and «aggr2» with the ip addresses you assigned. You can stop here if you just want link aggrs.

To put then in an active-active IPMP config:

ifconfig aggr1 group yourgroupname up

ifconfig aggr2 group yourgroupsname up

to make that persistent, add the «group yourgroupname» to the hostname.aggr1 and hostname.aggr2 files. To make one of the aggrs standby, include the «standby» keyword in the ifconfig command and the hostname.aggrX files.

I think that is all you need!