Home > Networking, OpenSolaris > opensolaris – network teaming

opensolaris – network teaming

Otherwise known as trunking or link aggregation. I believe it is the best way to get that additional boost out of your network server while providing a bit of redundancy on link failure. here is how to do it…

Official docs on the process here… http://docs.sun.com/app/docs/doc/819-6990/gdysn?a=view and some good bits here http://blogs.sun.com/nickyv/entry/link_aggregation_jumpstart_post_install

dladm (data link admin) is the tool for the job. List the links you currently have…

dladm show-link

First shut down the links you are currently using..  (you will have to do this on the console)

ifconfig e1000g1 unplumb

Now join the two nics into one aggregate connection via….

dladm create-aggr -l e1000g1 -l rge0 aggr1

then bring up the new aggregate link

ifconfig aggr1 plumb IP-address up

Show link

dladm show-aggr

(Optional) Make the IP configuration of the link aggregation persist across reboots.

  1. Create the /etc/hostname file for the aggregation’s interface.

    If the aggregation contains IPv4 addresses, the corresponding hostname file is/etc/hostname.aggr1. For IPv6–based link aggregations, the corresponding hostname file is/etc/hostname6.aggr1.

  2. Type the IPv4 or IPv6 address of the link aggregation into the file.

  3. Perform a reconfiguration boot.

I have teamed an intel nic (e1000g) and a (rge) together without any issues…  the rge drive by itself had issues, but i have not come across them again since i trunked both interfaces together. Perhaps the e1000g takes the load while the other nic dies off..

Updated : 4/08/2009

To test the throughput / load balancing run these commands (in two terminal sesssions);

dladm show-link -s -i 5 rge0

dladm show-link -s -i 5 e1000g1

It will return the packets going over each nic. Copy some files back and forth over the interface and watch the numbers. RBYTES and OBYTES are the fields to watch (received and out bytes)

Related posts:

  1. opensolaris – jumbo frames If your keen on enabling jumbo frames in opensolaris this...
  2. Opensolaris – Samba and Network browsing If you’ve setup samba (rather than the builtin cifs/smb) chances...
  3. ESX – network utilization One of the best articles i have found on this...
  4. Opensolaris – configuring squid as a transparent proxy I used to have a virtual machine that acted as...

Related posts brought to you by Yet Another Related Posts Plugin.

Categories: Networking, OpenSolaris
  1. July 21st, 2009 at 00:35 | #1

    So, are you still having problems with the rge driver in 2009.06? I haven’t been able to test that driver in my upgraded setup.

  2. July 21st, 2009 at 12:28 | #2

    I can say that i haven’t had any problems while they are teamed together, unsure if the Intel card (e1000g) is covering for it. For the most part they seem to work well together.

    Haven’t had the chance to re-tested the rge driver by itself in 2009.06

  3. August 8th, 2009 at 14:37 | #3

    I dropped back to just the rge nic recently – and the old problem came back. Looks like it hasn’t been fixed yet. :(

  4. Amos
    October 23rd, 2009 at 12:56 | #4

    Has anyone had an issue booting back into Gnome after creating an aggr and setting a manual IP, and on my second time around I actually added the default route and modified the nsswitch.conf to its original configuration (nsswitch.dns values).

    I got the same result, stuck on the OpenSolaris Loading screen with the bar moving across the bottom.

  5. mike
    December 22nd, 2009 at 08:06 | #5

    Hi witch switch are you using for linkaggregation ?

  1. No trackbacks yet.
To submit your comment, click the image below where it asks you to... Clickcha - The One-click Captcha