The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Confussed as hell Kevinfine UNIX for Dummies Questions & Answers 1 07-06-2008 06:25 PM
Solaris - unknown hostname - how can I change hostname? XNOR UNIX for Dummies Questions & Answers 1 03-29-2007 10:52 PM
Filtering multiple entries in a file suman_jakkula Shell Programming and Scripting 2 08-22-2006 05:02 AM
/etc/hostname.interface file ghuber SUN Solaris 1 01-26-2006 11:29 AM
cuting the entries from one file and copy to other vasikaran UNIX for Dummies Questions & Answers 0 08-03-2005 08:22 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-04-2008
Reboot's Avatar
Reboot Reboot is offline
Registered User
  
 

Join Date: Sep 2008
Location: Asia Pecific.
Posts: 31
Confussed 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 :

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

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 04:43 PM..
  #2 (permalink)  
Old 10-04-2008
seg seg is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2003
Posts: 260
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 (permalink)  
Old 10-05-2008
Reboot's Avatar
Reboot Reboot is offline
Registered User
  
 

Join Date: Sep 2008
Location: Asia Pecific.
Posts: 31
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 (permalink)  
Old 10-05-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 542
sun docs have lots on ipmp and lacp.
A P P E N D I X B - Link Aggregation Control Protocol
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 12:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0