Sponsored Content
Full Discussion: Solaris ip Change
Operating Systems Solaris Solaris ip Change Post 302325497 by DukeNuke2 on Monday 15th of June 2009 10:02:19 AM
Old 06-15-2009
Quote:
Originally Posted by raynu.sharma
i didnt check /etc/inet/hosts file....will try with that too....
/etc/hosts is a link to /etc/inet/hosts...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

change solaris to 32bit

Hi Any one know how to change solaris 7 from 64 bit, back to 32 bit,, i know its on sunsolve somewhere but i cant see it. thanks:D (2 Replies)
Discussion started by: thangorn
2 Replies

2. IP Networking

How to change hostname and ip in solaris

Dear all, I am going to change the IP address and hostname in my solaris, but I don't know how to do it. If you have any idea or suggestion, please fell free to let me know. Thanks and Regards (2 Replies)
Discussion started by: PennyLi
2 Replies

3. Solaris

Change hostname in Solaris 9

Please anyone guide me how to change the hostname in Solaris 9? The IP of the machie is fetched from a DHCP server. (6 Replies)
Discussion started by: shabu
6 Replies

4. UNIX for Advanced & Expert Users

change passwd remotely in solaris 10

i'm trying to change passwd remotely in unix (solaris) and tried using "expect" but it is not working. Any ideas to change the passwd remotely using a shell script? (1 Reply)
Discussion started by: pharos467
1 Replies

5. UNIX for Dummies Questions & Answers

Change root prompt (Solaris)

Hello all. I was wondering if there is a way to change the root prompt. I am using Solaris 10 and would like to have the root prompt display the current directory along with 'SU' to indicate root status. What I have tried so far: /etc/passwd changed the root shell to korn with... (10 Replies)
Discussion started by: RobertSubnet
10 Replies

6. Solaris

change disk under solaris 6

hi every one , i want to change the failed disk under solaris 6 i know that it's different than other revisions but i havn't a procedure ,can someone help me plz? (5 Replies)
Discussion started by: lid-j-one
5 Replies

7. Solaris

Change Solaris hostid

Hi, I've searched the UNIX forum looking for a simple procedure how to change\control my Solaris server hostid. I did found few threads but all of them either have broken links to all kinds of scripts or not described simply for some UNIX beginers user like me. Can anyone assist me? I... (21 Replies)
Discussion started by: avisht
21 Replies

8. Solaris

temperory ip change in solaris 9

Hi Admins, For testing purpose we are moving sun solaris 9 in to test vlan .So i need to change the ip, subnet mask and gateway temperorily. Below are the procedure m going to perform. 1. Backup of ifconfig -a , netstat -an, netstat -rn , netstat -in 2. Backup of... (5 Replies)
Discussion started by: newsol
5 Replies

9. Solaris

Change timezone in Solaris 11

I was trying to change timezone on my new solaris-11 server to US/Pacific, but not successfull. root@tsapp01 # grep TZ /etc/default/init TZ=localtime Can somebody share something on this ? It seems, /etc/TIMEZONE is no longer in use for Solaris 11 (2 Replies)
Discussion started by: solaris_1977
2 Replies
hosts(4)						     Kernel Interfaces Manual							  hosts(4)

NAME
hosts - host name data base DESCRIPTION
The file associates Internet (IP) addresses with official host names and aliases. This allows a user to refer to a host by a symbolic name instead of an Internet address. This file contain all addresses for local interfaces that needs at boot time (see ifconfig(1M)). When using the name server (see named(1M)), or Network Information Service (see ypserv(1M)), this file often serves as a backup when the server is not running. In such circumstances, it is a common practice for to contain a few addresses of machines on the local network. should contain a single line for each host with the following information: internet_address official_host_name aliases The internet_address can be an IPv4 or IPv6 address specified in the conventional Internet dot notation. See inet(3N) or inet6(3N) for more information on Internet address manipulation routines. aliases are other names by which a host is known. They can substitute for the official_host_name in most commands. For example: In this example, users can use remote login on by using the command: instead of If your system is in a domain naming environment, an official host name consists of the full domain extended host name. For example: (space or tab character). Items are separated by any number or combination of space or tab characters (blanks). A character indicates the beginning of a comment. Characters from the to the end of the line are not interpreted by routines that search the file. Trailing blanks are allowed at the end of a line. For the Internet, this file is normally created from the official host database maintained at the Network Information Control Center (NIC), although local changes may be required to bring it up to date with respect to unofficial aliases and/or unknown hosts. Host names can contain any printable character other than a white space, newline, or comment character. EXAMPLES
See AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
gethostent(3N), inet(3N), nsswitch.conf(4). hosts(4)
All times are GMT -4. The time now is 05:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy