OpenSolaris Solaris Forum  

Left Nav FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container

Go Back   OpenSolaris Solaris Forum Solaris Networking

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-31-2008, 07:49 PM
Junior Member
Join Date: May 2008
Posts: 11
Default How to permanently assign IP to interface in Solaris10

I want to change the ip of one NIC in my Solaris 10, system

I can do this by ifconfig "nicname" "newip" but the problem is that when I reboot the system than the ip again goes back to the old value, I have also tried by editing the hosts file but no use, can you please tell me that how can I permanently add a IP to interface in Solaris 10

in advance
Reply With Quote
Sponsored Links

  #2 (permalink)  
Old 11-01-2008, 09:41 AM
Join Date: May 2008
Posts: 50

for Solaris 10 The /etc/inet/ipnodes file needs to be updated with new ip address
Reply With Quote
  #3 (permalink)  
Old 11-13-2011, 10:29 AM
Junior Member
Join Date: Nov 2011
Posts: 3
Default how to give the permanent ip adress to the interface

first thing edit the file /etc/hosts and /etc/inet/ipnodes
enter the your ip adresss and system either restart the system or to restart the network service without reboot by using the cmd #svcadm restart network/physical

Nageswara Rao.T
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT. The time now is 11:03 AM.

Powered by vBulletin. Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.