Link to home
Start Free TrialLog in
Avatar of frankbustos
frankbustosFlag for United States of America

asked on

how to change ip address on SunOS release 5.9

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?
Avatar of Scot Halvorsen
Scot Halvorsen
Flag of United States of America image

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.
Avatar of arnold
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.

/etc/hosts
there are several location, you need to make sure that the IP is actually the issue
ASKER CERTIFIED SOLUTION
Avatar of Pepe2323
Pepe2323

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of frankbustos

ASKER

thanks this worked for me.