frankbustos
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?
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?
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks this worked for me.
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.