ASP Developer Network - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com

Menu [hide]

SolarisConfigStaticIP

Configure a static IP Address on Solaris print
similar comment
Steps to configure a static IP address on Solaris 10 - by default DHCP is used, at least in the developer preview builds I've used..

Disable NWAM (Auto Configuration via DHCP) and enable "default" (static) type config:

svcadm disable physical:nwam
svcadm enable physical:default 
{CODE)

Edit the following files in /etc - 
hostname.e1000g0 : to IP address - hostname.(Interface name) is the filename..
/etc/hosts - add IP you want and short name + long name (fully qualified name)
/etc/nodename - the primary name to use (for example in sendmail, etc.).
/etc/defaultrouter - the IP of the default gateway
/etc/netmasks - set the netmasks of your networks, i.e. 255.255.255.0 generally for a /24, if you don't know probably this..
/etc/resolv.conf - list the name servers - for example:
{CODE()}
nameserver 192.168.1.1
nameserver 192.168.1.2
{CODE}
copy /etc/nsswitch.dns to /etc/nsswitch.conf - so dns is used

Restart network to check:
{CODE()}
svcadm restart milestone/network
{CODE}

If all is ok reboot just to confirm all comes up as expected

Created by: steveradich last modification: Monday 23 of June, 2008 [20:30:31 UTC] by steveradich



Search
in:
Our Sponsors
Quality Business Internet Technology Shop - http://www.bitshop.com Sponsor of site and hosting
Want to contribute to aspdeveloper.net? Contact us! suggest@aspdeveloper.net
FREE .Net 2.0 Tutorials Available Now
http://www.aspdeveloper.net
Quality Business Internet Technology Shop - http://www.bitshop.com Sponsor of site and hosting
Need a Virtual Server 2005 Hosted Account? Why not trust ASPDeveloper's Team? We're a division of www.bitshop.com
rss Wiki rss Blogs rss Articles rss Image galleries rss File galleries rss Forums rss Maps rss Directories
ASP Developer Network (since 1996) - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com
Copyright © 1997-2005 by BitShop, Inc. All Rights Reserved.
No content may be reproduced in any form without written permission from BitShop, Inc.
We will be honored to assist with reproduction rights on our material if you contact us.
We also can provide print articles for your magazine, private training seminars at your site, and conference presentations.

Thank you for visiting. Please bookmark our site if you found it useful!
If you wish to make a donation it will help further the development of these free resources: