[comp.sys.sun] changing IP address on a 3/50

grant@saturn.cs.swin.oz.au (Grant Collins) (09/29/89)

I need to change the IP address of a diskless 3/50 served by a 4/260
(running YP) but have struck a problem.  I have changed the IP address in
the /etc/hosts file and re-made the YP map, and renamed the /tftpboot file
appropriately, but when I reboot the 3/50 it gives 'access denied' when it
tries to mount the root file system from the server - it gets the boot
file OK and starts up vmunix OK, lists the configured devices, etc but
craps out when it has to mount & check the root file system.  The
/etc/bootparams YP map shows that the machine has access to the
appropriate file space on the server, as does the /etc/exports map.  I
just dont get it...

fabrice@sj.ate.slb.com (Fabrice Le Metayer) (10/11/89)

In article <1941@brazos.Rice.edu> Grant Collins writes:
>I need to change the IP address of a diskless 3/50 served by a 4/260
>(running YP) but have struck a problem.  I have changed the IP address in
>the /etc/hosts file and re-made the YP map, and renamed the /tftpboot file
>appropriately, but when I reboot the 3/50 it gives 'access denied' when it
>tries to mount the root file system from the server - it gets the boot
>file OK and starts up vmunix OK, lists the configured devices, etc but
>craps out when it has to mount & check the root file system.

It sounds like a problem similar to one I encountered on our site. I
swapped two machines and exchanged their Ethernet addresses in the ethers
file. They could get their IP address on reboot, but not any further.
After a lot of head scratching, the obvious fix was that the corresponding
entries had not changed in the Internet caching area of the servers, so,
although the IP address was correct, the host names did not match. Your
problem might be the same, except that you changed your Internet address.
But you may have rebooted your servers twenty times by now and seen your
problem disappear.  However, if it still persists, try :

   % arp -a           # This will list all the entries in the cache
   % arp -d hostname  # This will get rid of the entry for your machine

Enjoy.

joe@uunet.uu.net (Joe Michel-Angelo) (10/16/89)

In article <1941@brazos.Rice.edu>, by grant@saturn.cs.swin.oz.au (Grant Collins):
| I need to change the IP address of a diskless 3/50 served by a 4/260
| (running YP) but have struck a problem.  I have changed the IP address in
| the /etc/hosts file and re-made the YP map, and renamed the /tftpboot file
| appropriately, but when I reboot the 3/50 it gives 'access denied' when it

Did you also change /export/root/whomever/etc/hosts? Remember, rc.boot
sets the hostname and IP address from the client-local /etc/hosts file
BEFORE ypbind is run.

"The Network        Joe Angelo -- Support Group @ Teknekron Software Systems
 Adminstrator       Palo Alto, Ca 94301 415-325-1025
 Is The          
 Computer..."       uunet!tekbspa!joe - joe@tss.com - tekbspa!joe@uunet.uu.com