Sponsored Content
Operating Systems Solaris Confused with entries in /etc/hostname.<interface> file... Post 302243310 by Reboot on Saturday 4th of October 2008 04:30:32 PM
Old 10-04-2008
Confused with entries in /etc/hostname.<interface> file...

Hi.. Every one,

I have servers installed with solaris 10.We have configured our servers for IPMP and we have respective entries in /etc/hostname.<interface> for every physical interface.
for example one of the file contains :

Code:
# more /etc/hostname.ce6
super-ce6 netmask + broadcast + group accgrp deprecated -failover up addif super-dummy netmask + broadcast + deprecated up

Can any one explain me what these entries do...????

What is the purpose of " addif " and " -failover " also why two " up "
are used.

Code:
o/p of ifconfig -a :
 
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ce5: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
        inet 10.66.23.112 netmask ffffff00 broadcast 10.66.23.255
        ether 0:14:4f:67:cb:d3
ce6: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 4
        inet 10.66.22.74 netmask ffffff00 broadcast 10.66.22.255
        groupname accgrp
        ether 0:14:4f:69:c2:c8
ce6:1: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 4
        inet 10.66.22.108 netmask ffffff00 broadcast 10.66.22.255
ce6:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 10.66.22.64 netmask ffffff00 broadcast 10.66.22.255
ce10: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
        inet 10.66.22.84 netmask ffffff00 broadcast 10.66.22.255
        groupname accgrp
        ether 0:14:4f:69:c2:e0

 
o/p of more /etc/hosts:
 
# more /etc/hosts
10.66.22.64     super  loghost 
10.66.22.74     super-ce6
10.66.22.84     super-ce10
10.66.22.108    super-dummy
10.66.23.112    super-ce5

Thanks in Advance.....

Last edited by Reboot; 10-04-2008 at 05:43 PM..
 

9 More Discussions You Might Find Interesting

1. AIX

Confused with File System Concepts

Hello, I've been reading the AIX 5.1 System Concepts PDF but I'm still confused about some file-system concepts and their relationships. What is the 'allocation group size'? How are 'disk allocation unit'/'fragment size', NBPI and 'allocation group size'? And how are the above three... (2 Replies)
Discussion started by: quickfirststep
2 Replies

2. Solaris

/etc/hostname.interface file

I recently brought up a second network interface adapter in my Solaris 8 box. I configured the /etc/hostname.interface (hostname.ce1 in this case) with the hostname of the new adapter. I then added that hostname to the /etc/hosts file. Problem is when I reboot the ce1 interface is plumbed, but... (1 Reply)
Discussion started by: ghuber
1 Replies

3. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

4. AIX

file system space arg !!! and confused

Aix 5.2 on a P510 RS6000 My /usr filesystem is sized at 3.8 gb. Check me if I'm wrong here but this should be enough space for /usr? When I installed the o/s I just followed the defaults, didn't add any 3rd party apps, least that I know of. My problem is that it's running at 90% capacity. ... (2 Replies)
Discussion started by: Westy564
2 Replies

5. Shell Programming and Scripting

Confused with redirection and file descriptors

Hi all, I've been looking for the way to send stdout and stderr to different files. Well, actually I really knew how to make it, but I wanted to be sure. I've found an instruction very interesting which I'm not able to understand: taken from this site. It says it sends stdout to output.log,... (4 Replies)
Discussion started by: AlbertGM
4 Replies

6. Solaris

What should be hostname for second network interface?

Hi All, I am having a sun server. The primary network interface is having name "sun1" and IP address "192.168.2.10". Now when I add second network interface with different IP address "10.1.1.100" and same hostname, it doesn't work. What I want to know is that should the second interface... (5 Replies)
Discussion started by: naw_deepak
5 Replies

7. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

8. Emergency UNIX and Linux Support

HP UX - ILO Console hostname different than Machine Hostname...

Hi All, So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says: It should say: What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies

9. UNIX for Advanced & Expert Users

Hostname -f hostname: Unknown host

deleted (0 Replies)
Discussion started by: hce
0 Replies
install-solaris(1M)													       install-solaris(1M)

NAME
install-solaris - install the Solaris operating system SYNOPSIS
install-solaris install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation, install-solaris invokes either a text-based installer or a graphical installer. The following minimum requirements for physical memory dictate which features are available during installation: For SPARC machines: 128 MB Minimum physical memory for all installation types 128 MB Minimum physical memory required for windowing system 384 MB Minimum physical memory required for graphical-based installation For x86 machines: 256 MB Minimum physical memory for all installation types 256 MB Minimum physical memory required for windowing system 512 MB Minimum physical memory required for graphical-based installation In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea- tures available. install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more details. install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the installation media. Refer to the for disk space requirements. Refer to the for more information on the various menus and selections. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcdrom (Solaris instal- | | |lation media) | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ pkginfo(1), install(1M), pkgadd(1M), attributes(5) It is advisable to exit install-solaris by means of the exit options in the install-solaris menus. 23 Sep 2005 install-solaris(1M)
All times are GMT -4. The time now is 07:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy