how to change ip address on SunOS release 5.9

Posted on 2014-12-12
Medium Priority
Last Modified: 2015-01-07
hi experts,

 I'm console into this server and I need to change the ip address but I have no experience with SUN. I do have root password though. I'm console in and I'm just getting this message below:

data  server name ypbind{325} NIS server not responding for domain "vista: still trying.... how do I get pass this so and how do I change the ip address/sub and dg?
Question by:frankbustos

Expert Comment

by:Scot Halvorsen
ID: 40497507
Your system is trying to contact your NIS server for authentication information. If you are unable to login to your system, you may need to reboot the server to single user mode.

On a Intel system you will need to modify your boot arguments by adding a "-s".
On a Sparc system you will need to type "boot -s" at the ok prompt.

This will cause the system to stop the boot process before it changes to multi-user and will allow you to enter the root password to get to a shell.

Once you have a shell you can update the IP of the system. In most cases this is managed by the /etc/hostname.<nic> (Where <nic> would be the interface name.) and /etc/hosts file.

Check the hostname file and see what host name it reference in the hosts file. It should be as simple as modifying the hosts file with the new IP.
LVL 81

Expert Comment

ID: 40498537
sys-unconfig will reset the system's configuration

you can use
ifconfig interface (iprb0, ):index plumb
ifconfig interface:index IP netmask up
this will have two IPs.

there are several location, you need to make sure that the IP is actually the issue

Accepted Solution

Pepe2323 earned 2000 total points
ID: 40503263
The easiest way to do it if u can reboot the server is using


and u will see a menu like this:
 Select the language you want to use: <select your language>
 Select a Locale,
 Please make a choice (0 - 59), or press h or ? for help:
<select your location>
 What type of terminal are you using?
 Type the number of your choice and press Return:
<select your terminal type, I use a DEC VT100>
 F2 continue, F2 continue
 Network Connectivity
       Networked [X] Yes
       Use DHCP [X] No
 Primary Network Interface
       Primary network interface [X] eri0
 Host Name <hostname>
 IP Address <ipaddress>
       System part of a subnet [X] Yes

IF you can't then

/etc/hosts shall be enough if you are only changing ips and not hostnames

/etc/hostname.[interface] -- > have the hostname for the ip that will be configured on that interface, that is associated with the /etc/hosts

/etc/nodename -- >> is the host of the whole server

I Hope it helps

Author Closing Comment

ID: 40536109
thanks this worked for me.

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question