« Doing it the hard way - ZFS, Dedup, and OpenSolarisScott Sigler »

OpenSolaris Static IP

01/16/10 | by Brian Fitzhugh [mail] | Categories: Linux
  1. Modify /etc/nwam/llp iface static IPADDRESS/SUBNETBITCOUNT Example: e1000g0 static 192.168.1.2/24
  2. Update DNS servers if needed in /etc/resolv.conf
  3. Setup server to use DNS servers:
    cp nsswitch.conf nsswitch.conf.original
    cp nsswitch.dns nsswitch.conf
    svcadm restart svc:/network/dns/client:default
  4. svcadm restart svc:/network/physical:nwam
  5. Setup default route by creating the file /etc/defaultrouter with the entry of the subnet's gateway.
  6. Then execute: pfexec svcadm restart network/routing-setup

Not adhering to these steps has resulted in my test box just booting to a bash environment without a functional network stack.

(Thanks for originally posting these Malachi)

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
September 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Search

Friend Connect

XML Feeds

powered by b2evolution