Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/~mperrin/kermit/sauron_ip.html
Дата изменения: Thu Mar 25 11:49:21 2004
Дата индексирования: Sat Mar 1 07:16:10 2014
Кодировка:

Поисковые слова: arp 220
Changing the IP Address of Sauron

Changing the IP address of Sauron

While it's not difficult to change the IP address of a Solaris box, it's not entirely obvious.
  1. Become root.
  2. Edit /etc/hosts. Find the line which specifies sauron's own ip address. It will look something like
    192.168.1.5 sauron      #this computer
    
    Comment this line out. Uncomment the similar corresponding line in the Experiment Room 3 section of the file. /etc/hosts is well-commented and it should be clear which lines to edit.
  3. Edit /etc/defaultrouter. Comment out the room 6 line and uncomment the room 3 line.
  4. Edit /etc/netmasks. Comment out the room 6 line and uncomment the room 3 line.
  5. That's it. You may now shutdown sauron (use "shutdown -h now" as root), move it to the other room, and it will boot up properly on that network.