PlanetIT.WS - Beta

Welcome, Guest

Search: Advanced

Home » Unix » Solaris » Changing the IP address on Solaris 10 system

Changing the IP address on Solaris 10 system Print View

Article Stats:
Submitted by: alex
Date: 2008-01-06 00:00:00
Views: 1187
Rating: 2.50

Follow these steps to change the IP address of a Solaris 10 system:

  • Change the host's IP in "/etc/hosts" for the change to take effect after reboot.
  • Change "/etc/defaultrouter" with the address of the host's new default gateway, if applicable.
  • If you are using variable length subnet masks (VLSM), add the host's network number and subnet mask to "/etc/netmasks".
  • Change the host's IP in "/etc/inet/ipnodes" for the change to take effect after reboot.
  • For the IP address change to take effect immediately, run "svcadm restart network/physical".

Thats all, the IP address wil be preserved after reboot.


Comments

No comments posted.

Add Comment



Enter the code shown:

Visual CAPTCHA