This is a discussion on Two NIC's, one primary, one standby?? within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I am having trouble parsing how to use the two NIC's (hme0 and hme1) as primary and standby so ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am having trouble parsing how to use the two NIC's (hme0 and hme1) as primary and standby so that I burn as few IP's on a subnet as possible. /etc/hostname.hme0 dns02 netmask + broadcast + failover up \ group production /etc/hostname.hme1 dns02s netmask + broadcast + deprecated -failover standby up \ group production root@dns02 / # ifconfig -a lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet xxx.xxx.241.53 netmask ffffff00 broadcast xxx.xxx.241.255 groupname production ether 8:0:20:c2:15:6e hme1: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPR ECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 3 inet xxx.xxx.241.207 netmask ffffff00 broadcast xxx.xxx.241.255 groupname production ether 8:0:20:c2:15:6f This all looked good, but when I killed the switchport that held hme0, the primary IP just stayed dead... I waited 5 mins. When I brought the switchport back online, it worked again. Nick |
| ||||
| You're almost there, but no cigar... Here's what you have to do (theory): - assign a probing address to each interface, and make them no failover addresses - assign a failover address to one of the interfaces (primary) Practice (from the top of my herad, so don't expect it to work straigh away): /etc/hostname.hme0: dns02prob1 netmask + broadcast + group ipmpgrp deprecated -failover up \ addif dns02 netmask + broadcast + failover up /etc/hostname.hme1: dns02prob2 netmask + broadcast + group ipmpgrp deprecated -f1ailover standby up Nick Ellson wrote: > I am having trouble parsing how to use the two NIC's (hme0 and hme1) > as primary and standby so that I burn as few IP's on a subnet as > possible. > > /etc/hostname.hme0 > > dns02 netmask + broadcast + failover up \ > group production > > > /etc/hostname.hme1 > dns02s netmask + broadcast + deprecated -failover standby up \ > group production > > root@dns02 / # ifconfig -a > lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index > 1 > inet 127.0.0.1 netmask ff000000 > hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 > index 2 > inet xxx.xxx.241.53 netmask ffffff00 broadcast xxx.xxx.241.255 > groupname production > ether 8:0:20:c2:15:6e > hme1: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPR ECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> > mtu 1500 index 3 > inet xxx.xxx.241.207 netmask ffffff00 broadcast > xxx.xxx.241.255 > groupname production > ether 8:0:20:c2:15:6f > > This all looked good, but when I killed the switchport that held hme0, > the primary IP just stayed dead... I waited 5 mins. When I brought the > switchport back online, it worked again. > > Nick |