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.
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…
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
# 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’
Problems with Oracle Solaris 11 Aggregate Link and VirtualBox
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