Creating Solaris 11 aggregated network interface

This post provides a simple procedure to create an aggregated networker interface and configure networking address under Solaris 11

  1. Execute the dladm command to show available interfaces
    # dladm show-phys
    LINK       MEDIA        STATE    SPEED  DUPLEX    DEVICE
    net1       Ethernet     up       1000   full      e1000g1
    net0       Ethernet     up       1000   full      e1000g0
  2. Create an aggregated interface
    # dladm create-aggr -L active -l net0 -l net1 aggr0
  3. Create an IP interface to use the aggregated interface
    # ipadm create-ip aggr0
  4. Assign an IP address to the new interface
    # ipadm create-addr -a local=192.168.1.100/24 aggr0/v4
  5. Create default router for the network
    # route -p add default 192.168.1.1
  6. Set basic DNS client services
    # svccfg -s svc:/network/dns/client
    svc:/network/dns/client> setprop config/nameserver = net_address: (192.168.100.2)
    svc:/network/dns/client> quit
    # svcadm refresh svc:/network/dns/client

Note: The above examples consider that the IP 192.168.1.100 is the host and the IP 192.168.1.1 is the router in the network and the IP 192.168.1.2 is the DNS server in the network.