Re: change IP address

From: Tony Curtis (tony_curtis32_at__SPAMTRAP_yahoo.com)
Date: 11/26/03


Date: Tue, 25 Nov 2003 17:02:17 -0600


>> On 25 Nov 2003 14:58:35 -0800,
>> maxyip@hotmail.com (Max Yip) said:

> Hi all, What's the easiest way to change IP address on a
> Sunblade 150 running Solaris 8. I know I can always run
> sys-config, but it seems to caruse a lot work. Thank you
> for all your input in advance.

If you just want to change the address assigned to a
particular interface, then you need to edit:

    /etc/inet/hosts
    /etc/hostname.<interface>

and possibly

    /etc/inet/netmasks

and ifconfig to taste.

hth
t