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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #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..