If all you really want is a permanently static IP, I think the following 
still works:

1: svcadm disable nwam
2: svcadm enable network/physical:default
3: in /etc/hostname.<interfacename> put the name of the machine you want 
it to be.
4: In /etc/hosts, make sure there is an IP for the hostname above.

You may wish to set up your defaultrouter: /etc/defaultrouter

and you may wish to set up DNS as a nameservice: /etc/resolv.conf, and 
put "dns" on the hosts line (after files).


HTH,

Mike

Harry Putnam wrote:
> Halton Huo <Halton.Huo at Sun.COM> writes:
> 
> 
> [...]
> 
>> Now sure what's wrong with your nwam and packagemanager, if you're
>> urgent, I'm suggesting you upgrade your system to latest build.
> 
> I found it very difficult to set a a static IP, even after following a
> few documents on found on opensolaris.org.  Dont remember now what all
> I tried.  But finally resorted to making my dhcp server issue only one
> address to the osol machines MAC.  A non-static static address
> ... hehe.
> 
> So is the 208 nwam able to help users set a static address, or is
> there some sure fire way of doing that?
> 
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org


-- 
Mike Ramchand
Principal Field Technologist
Systems Practice
Sun Microsystems (UK)
Tel: +44 125 2421091, Ext: (70)21091, Mob: +44 780 1179593
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3253 bytes
Desc: S/MIME Cryptographic Signature
URL: 
<http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090304/875832c7/attachment.bin>

Reply via email to