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
IPCALC(1)						      General Commands Manual							 IPCALC(1)

NAME
ipcalc - perform simple manipulation of IP addresses SYNOPSIS
ipcalc [OPTION]... <IP address>[/prefix] [netmask] DESCRIPTION
ipcalc provides a simple way to calculate IP information for a host. The various options specify what information ipcalc should display on standard out. Multiple options may be specified. An IP address to operate on must always be specified. Most operations also require a netmask or a CIDR prefix as well. OPTIONS
-c, --check Validate the IP address under the specified family. If no address family is specified, IPv4 is assumed. -4, --ipv4 Specify IPv4 address family (default). -6, --ipv6 Specify IPv6 address family. -b, --broadcast Display the broadcast address for the given IP address and netmask. -h, --hostname Display the hostname for the given IP address. -m, --netmask Calculate the netmask for the given IP address. It assumes that the IP address is in a complete class A, B, or C network. Many net- works do not use the default netmasks, in which case an inappropriate value will be returned. -p, --prefix Show the prefix for the given mask/IP address. -n, --network Display the network address for the given IP address and netmask. -s, --silent Don't ever display error messages. AUTHORS
Erik Troan <ewt@redhat.com> Preston Brown <pbrown@redhat.com> IPv6 supported wedged in by David Cantrell <dcantrell@redhat.com> REPORTING BUGS
Report bugs at http://bugzilla.redhat.com/ COPYRIGHT
Copyright (C) 1997-2008 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Red Hat, Inc. April 30 2001 IPCALC(1)
All times are GMT -4. The time now is 01:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy