Differences between revisions 5 and 11 (spanning 6 versions)
Revision 5 as of 2013-03-05 16:23:12
Size: 863
Comment:
Revision 11 as of 2013-03-06 15:45:26
Size: 1384
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:

-----
== To change master IP ==

==== 192.168.11.XXX to 192.168.11.YYY ====
 * /etc/hosts
 * /diskless/root/etc/hosts
 * /diskless/pxelicux.cfg/default
 * /etc/conf.d/net
 * /etc/dhcp/dhcpd.conf
  1. {{{
>sudo /etc/init.d/dhcpd restart
}}}, then reboot slave PC, and check IP address was changed by /sbin/ifconfig.


==== 192.168.XXX to 192.168.11.YYY ====
 * /etc/bash/bashrc
 * /etc/resolv.conf
 * /etc/xinetd.d/chnconf



----
== To change slave IP ==

==== 192.168.11.XXX to 192.168.11.YYY ====
 * /etc/hosts
 * /diskless/root/etc/hosts
 * /etc/dhcp/dhcpd.conf
  1. {{{
>sudo /etc/init.d/dhcpd restart
}}}, then reboot slave PC, and check IP address was changed by /sbin/ifconfig.

==== 192.168.XXX to 192.168.11.YYY ====
 * /diskless/root/etc/rc.local : DAQIP
 * /diskless/root/etc/resolv.conf

----
== To change workstation IP ==
 * if you see eth2 or eth3 by ifconfig, modify /etc/udev/rules.d/70-persistent-net.rules to have eth0 and eth1.
Line 10: Line 50:
-----
== To change master IP ==


==== To change IP address ====
 * /etc/network/interfaces
Line 14: Line 56:
----
== To change slave IP ==
==== 192.168.XXX ====
 * /etc/hosts
 * /diskless/root/etc/hosts
 * /etc/dhcp/dhcpd
  1. {{{
>sudo /etc/init.d/dhcpd restart
}}}, then reboot slave PC, and check IP address was changed by /sbin/ifconfig.

==== 192.168.XXX ====
 * /diskless/root/etc/rc.local : DAQIP
 * /diskless/root/etc/resolv.conf


== To change workstation IP ==
 * if you see eth2 or eth3 by ifconfig, modify /etc/udev/rules.d/70-persistent-net.rules to have eth0 and eth1.

==== Files ====
 * /etc/network/interfaces
 * /etc/hosts
==== If you change hostname of NFS server or NDS ====

How to change IP address for SNS

  • >grep -r 192.168.11 /etc/*
    may help to dig setting files.


To change master IP

192.168.11.XXX to 192.168.11.YYY

  • /etc/hosts
  • /diskless/root/etc/hosts
  • /diskless/pxelicux.cfg/default
  • /etc/conf.d/net
  • /etc/dhcp/dhcpd.conf
    1. >sudo /etc/init.d/dhcpd restart
      , then reboot slave PC, and check IP address was changed by /sbin/ifconfig.

192.168.XXX to 192.168.11.YYY

  • /etc/bash/bashrc
  • /etc/resolv.conf
  • /etc/xinetd.d/chnconf


To change slave IP

192.168.11.XXX to 192.168.11.YYY

  • /etc/hosts
  • /diskless/root/etc/hosts
  • /etc/dhcp/dhcpd.conf
    1. >sudo /etc/init.d/dhcpd restart
      , then reboot slave PC, and check IP address was changed by /sbin/ifconfig.

192.168.XXX to 192.168.11.YYY

  • /diskless/root/etc/rc.local : DAQIP
  • /diskless/root/etc/resolv.conf


To change workstation IP

  • if you see eth2 or eth3 by ifconfig, modify /etc/udev/rules.d/70-persistent-net.rules to have eth0 and eth1.
  • >sudo /etc/inet.d/networking restart
    restart network setting without reboot.

To change IP address

  • /etc/network/interfaces
  • /etc/hosts

If you change hostname of NFS server or NDS

  • /etc/fstab
  • /home/controls/.cshrc : LIGONDSIP

KAGRA/Subgroups/DGS/RTPC/SNS/ChangeIP (last edited 2013-12-04 09:22:25 by OsamuMiyakawa)