SUMMARY: Changing ip address on server

From: P Sharma <psharmaus_at_yahoo.com>
Date: Tue Aug 13 2002 - 16:16:00 EDT
I thank all who helped Maadhav, John, Michael, Randy,

 Gavin, Jason & Hichael.

 

1) edit /etc/hosts file, change ip to new address.

 

2) edit /etc/hostname.hme0  (or hostname.le0 , or hostname.hme1, 

whatever

   your primary interface is. Change IP and subnet mask to those on the

   new subnet.

   

2b) if the subnet mask is changing you may also want to edit 

/etc/netmasks

 

3) you will probably need to change your default gateway, 

   edit /etc/defaultrouter 

 

4) If you are using NIS and have a different NIS server on the new

   subnet, you will probably need to edit /etc/hosts and put an entry

    for the new NIS server. Then edit 

/var/yp/binding/<domain>/ypservers

    or use the command 'ypinit -c'

 

5) if the new subnet uses a different DNS server then edit 

/etc/resolv.conf

 

6) shut down machine. move and attach to new network location.

 

7) change IP address for the machine in your name resolution scheme

   [ DNS, NIS, or hosts files ]

   

6) start up machine.

 

 
Thanks a lot'PS
HotJobs, a Yahoo! service - Search Thousands of New Jobs
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Aug 13 16:19:15 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:52 EST