Oracle Solaris 11 Express and Link Aggregation.

Note if you are not finding the following link aggregation commands, don’t worry they have just changed in Solaris 11 express.
     ipadm create-if  <has become> ipadm create-ip
     ipadm delete-if <has become> ipadm delete-ip

First things first.
Become root
Next you have to disable NWAM (Network Auto Magic) by:
# netadm enable -p ncp DefaultFixed   (you can reenable it later via: # netadm enable -p ncp Automatic)

I actually unplug the ethernet cables

 Find your physical ethernet devices:
# dladm show-phys

Make sure you don’t have any links:
# dladm show-links

You will have to fix DNS, smart things work after making the changes below, but Firefox and things that rely on basic DNS still don’t work. To Get DNS to work again you will need to do the following (Note DNS is
only partially working. I’ve found links saying I need to edit the
nsswitch.conf, however Oracle has made it a system updated file, so you
need to change the settings via svccfg.
if you cat /etc/nsswitch.conf and do not see hosts: and ipnodes: listed with files and dns, then perform the following…
# svccfg
svc:/network/dns/client:default> select name-service/switch
svc:/system/name-service/switch> setprop config/host = astring: “files dns”
svc:/system/name-service/switch> setprop config/ipnode = astring: “files dns”
svc:/system/name-service/switch> select system/name-service/switch:default
svc:/system/name-service/switch:default> refresh
svc:/system/name-service/switch:default> validate
svc:/system/name-service/switch:default>
# svcadm enable dns/client

#ipadm show-addr to see your actual address

If you cannot ping out do a ‘# netstat -r’ and look for a default route. If you do not see a default route then:
# route -p add default 192.168.1.1 (put your real gateway IP address here)
now a netstat -r should give you a default route. See if you can ping now.

If you can ping verify via ‘# dig slashdot.org’

I found some good DNS info on this site, And here is the Oracle Solaris 11 Site that tells howto for DNS configurations
Here is a site with a simple DNS verification procedure.

______________________________________________________________________________________
Problems with Oracle Solaris 11 Aggregate Link and VirtualBox
Some links:

  • http://docs.oracle.com/cd/E19082-01/819-6990/ggixp/index.html 
  • https://forums.virtualbox.org/viewtopic.php?f=11&t=47453&sid=20c9fc84fda5ea96fbc13451fd881ddd

After building the link aggregation VirtualBox will not be able to use the aggregated network adapter, so you need to build a virtual NIC with dladm. After the adapter is built go into each virtual machine and set it to use the new virtual adapter.
    # dladm create-vnic -l data-link vnic-name
    If the name of your aggregated NIC is agg0 and you want to build a virtual NIC called vnic0 then you would type the following
    # dladm create-vnic -l agg0 vnic0

Leave a Reply

Line and paragraph breaks automatic.
XHTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>