The UNIX and Linux Forums  

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 10: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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-04-2008
Reboot's Avatar
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..
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-04-2008
seg seg is offline
Registered User
 

Join Date: Aug 2003
Posts: 212
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.
Reply With Quote
  #3 (permalink)  
Old 10-05-2008
Reboot's Avatar
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...
Reply With Quote
  #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: 490
sun docs have lots on ipmp and lacp.
A P P E N D I X B - Link Aggregation Control Protocol
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
None

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 09:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66