[OpenIndiana-discuss] [b 147] Consensus on how to set up static IP

DerSaidin dersaidin at gmail.com
Tue Nov 9 08:51:10 UTC 2010


Hello,

See: http://blogs.sun.com/PlasticPixel/entry/nwam_static_ip_address_for

The other files you'll want to check (I'm unsure if these are essential)
when setting up a NIC are:
/etc/nsswitch.conf
/etc/defaultrouter

NWAM does static IP nicely, just not all settings are entirely accessible by
GUI (imo config files are simpler/nicer anyway).

On Tue, Nov 9, 2010 at 11:13, Christopher Chan <
christopher.chan at bradbury.edu.hk> wrote:

> On Tuesday, November 09, 2010 07:16 AM, Harry Putnam wrote:
>
>> Can anyone point me to, or supply a brief step thru describing a known
>> to work method for setting up a static IP address.
>>
>> One with complete steps that are current, as it appears from googling
>> around that there are several ways described and not all work on newer
>> opensolaris like b 134.
>>
>
> ???
>
>
>
>> Does that also apply to oi?
>>
>
> I'd say
>
>
>
>
>> Do we have a standard way to do this now?
>>
>>
> I don't know about standard but for static ips, I use the 'old way' and not
> nwam. Which is stuff ip-address into /etc/hostname.interface0, svcadm
> disable network:nwam; svcadm enable network:physical and edit
> /etc/resolv.conf and check for dns in /etc/nsswitch.conf for hosts.
>
> netmasks and persistent routes are left for you to find out about.
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the OpenIndiana-discuss mailing list