Confused with entries in /etc/hostname.<interface> file...


 
Thread Tools Search this Thread
Operating Systems Solaris Confused with entries in /etc/hostname.<interface> file...
# 1  
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..
# 2  
Old 10-04-2008
So you implemented a technology without knowing what it does? Was any attempt made to read the documentation? Does the current configuration work and you're just curious or is something broken and you're taking the long road around to figuring out how to fix it?

addif creates a new virtual interface (like ce0:2)
There are two 'UP's because you're 'UP'ing two interfaces, the real and virtual.
failover is an instruction that tells the kernel you need one interface to "fail over" to the next.
# 3  
Old 10-05-2008
Hi.. seg,
Thanks for replying......
Actually I am new to Solaris and the company in which I am working,
is implementing this technology and I was just curious to know this....

Thanks for giving me the idea......
Could you provide me any material having a bit deep information or related links for the same....

Thanks...
# 4  
Old 10-05-2008
sun docs have lots on ipmp and lacp. Smilie
A P P E N D I X B - Link Aggregation Control Protocol
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Hostname -f hostname: Unknown host

deleted (0 Replies)
Discussion started by: hce
0 Replies

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question