Skip to end of metadata
Go to start of metadata

Table of Contents

  • No labels


  1. Anonymous

    Some comments on nwam and comparison of physical:nwam and physical:default would be useful here. Should physical:nwam ever be used on server? What are pros and cons of this?

  2. Anonymous

    There also seem to be some difficulties with nwam which need to be addressed. I was never able to figure out how to use nwam with exclusive-IP zones. in the global zone nwam seems to want to grab all of the interfaces and then the zones complain that they aren't available for them. There may be a way to fix this using nwam but I couldn't find it. I ended up disabling nwam on machines with exclusive IP zones because the physical:default method didn't grab all of the available interfaces.

  3. Anonymous

    I can not believe this would be released without being able to change the IP from DHCP to Static.

  4. Anonymous

    Any chance you can update the page to include what a LINK_ADDRESS is?  Tried e1000g0 but it didn't like it for me

  5. Anonymous

    The easy way to configure a static ip address

    # sudo su -

    # svcadm disable network/physical:nwam

    # svcadm enable network/physical:default

    # cp /etc/nsswitch.dns /etc/nsswitch.conf

    # exit

    $ sudo network-admin     (which provides GUI configuration of IP, gateway, etc)

    1. Anonymous

      The easy way to change to static IP is using GUI. This is how I did it in OpenSolaris (not tried in OI though).

  6. Anonymous

    There is a typo:
    Update /etc/hosts

    Since long time ago, it is symlink to /etc/inet/hosts and that one should be used.

    Also, i am getting error:

    ipadm create-addr -T static -a solarix/24 e1000g0/v4
    ipadm: Could not create address: Persistent operation on temporary object

    if omit /v4

    ipadm: invalid address object name: e1000g0

    And that IF is up and running. Have to reboot to see if change will survive.

    Predrag Zecevic

  7. The easy way

    • Find interface name with 'ifconfig -a' or 'dladm showphys'. If it's not visible with ifconfig, it's not plumbed, so ifconfig plumb devname. For this example, we'll use e1000g0
    • Disable NWAM: svcadm disable svc:/network/physical:nwam
    • Set IP address in /etc/hostname.e1000g0: echo > /etc/hostname.e1000g0
    • Set netmask in /etc/netmasks (there's an example in there)
    • Set default gateway in /etc/defaultrouter: echo > /etc/defaultrouter
    • Set DNS servers in /etc/resolv.conf (example: printf "search my.tld\nnameserver\nnameserver\n" > /etc/resolv.conf)
    • Enable default: svcadm enable svc:/network/physical:default
    • Restart networking: svcadm restart svc:/milestone/network:default
    1. Anonymous

      Trying to setup a static IP on my home network. Just a little ZFS fileserver for streaming music and storing backups. Nothing fancy.

      I followed these steps:

      *Got my interface name (e1000g0)
      *Disabled NWAM
      *Added my static IP: echo > /etc/hostname.e1000g0
      *Added "" to /etc/netmasks (unsure about the
      *Added my router's IP address: echo > /etc/defaultrouter
      *Added my ISP's nameservers: printf "search\nnameserver\nnameserver\n" > /etc/resolv.conf ( required if I have no domain name?)
      *Enable Default and restart networking.

      Right now if I ping I get "unknown host"


      1. Anonymous

        In /etc/nsswitch.conf update "hosts" field from "files" to "files dns".

        Dmitry Kozhinov.

        1. Anonymous

          That did it, thanks.


  8. Anonymous

    Or you can used NWAM and setting a static IP without disabling NWAM. It is very usefull if, like me, you have 2 or more NIC with some in DHCP.
    Here a good example :
    I have trying to setup static ip removing NWAMP during 4 hours without succes and it took me 10 minutes using NWAM (wink)

    1. Anonymous

      There are two problems with NWAM, from my perspective:

      • It seems to come up later in the startup process, so services that start early sometimes think there's no network.
      • As far as I can tell there's no way to configure NWAM without the GUI. This is a problem if you're running a server without the GUI enabled.
      1. Anonymous

        And vice versa, in OpenSolaris 2009.06 (if I remember version number correctly) it was possible to configure static IP address using GUI exclusively. You got warning that network is configured automatically, click "manual", and NWAM was disabled - without issuing commands

        1. svcadm disable network/physical:nwam
        2. svcadm enable network/physical:default

        In OpenIndiana GUI network configuration is not working that way.

        Dmitry Kozhinov.

      2. $ uname -a
        SunOS amd 5.11 oi_151a i86pc i386 i86pc
        $ whence nwamadm
        $ whence nwamcfg

        1. Anonymous

          uname -a
          SunOS ze 5.11 oi_151a i86pc i386 i86pc Solaris

          whence nwamadm
          -bash: whence: command not found

          which nwamadm
          which nwamcfg

          From where whence comes (linux)?

          Best regards

          Predrag Zecevic

          1. Anonymous



            pkg publisher -a
   (preferred) origin online
            sfe origin online
            sfe-encumbered origin online

            pkg search -r whence
            {returns no result

          2. `whence is a Korn shell built-in.

            1. Anonymous


              Since Solaris 2.7 i am not using it, so i forgot.

              Best regards
              Predrag Zecevic

  9. Anonymous

    I wrote an article a while back which covers how to configure basic networking on Solaris 11 Express (it is valid on OpenIndiana as well).

    I also have a subsequent article which covered configuring VLANs, Jumbo Frames, and Aggregation groups.