LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-07-2007, 07:40 AM   #1
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Rep: Reputation: 15
Where is IP-address saved in?


Hi there,

As what i got from my working on Solaris, to configure an IP address for Solaris box, just put hostname and IP address to 2 files:

/etc/hostname.<interface_name>
/etc/inet/ipnodes

eg.
Code:
#cat /etc/hostname.dmfe0
server1

#cat /etc/inet/ipnodes
#
# Internet host table
#
::1     localhost       
127.0.0.1       localhost 
192.168.1.5 server1 loghost
However, i got confused when check ip 1 new Sun box. I know its address is 192.168.1.16 but there's nothing in /etc/inet/ipnodes file.

That Sun box keeps its Ip address 192.168.1.16 after it is rebooted.

My question is: where is its ip address saved in if it is not stored in IPNODES file?

Thanks
 
Old 01-07-2007, 07:47 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,742

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
Have a look at the more standard /etc[/inet]/hosts
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Saved Spider_Mastermind Linux - Newbie 1 03-12-2006 03:33 PM
Money I have saved. frob23 General 14 03-13-2005 04:22 PM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
Can my monitor be saved? jeffz General 1 08-09-2004 12:08 AM
disasters saved acid_kewpie General 7 01-29-2002 04:08 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration