IPMP and static routes

From: Paul Krauss (pkrausmail@yahoo.com)
Date: Fri Jul 23 2004 - 11:49:30 EDT


Hello,
        I am trying to figure out how IPMP works. What I
don't understand is why IPMP makes three static routes
for the first LIP (Logical IP) and not the rest of the
LIPs under IPMP. It seems that IPMP just grabs the
first LIP and makes three static routes as follows

Here is the interface configuration for the first LIP:

qfe0:1:
flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu
1500 index 3
        inet 10.30.206.28 netmask fffffe00 broadcast
10.30.207.255

Here are the routes that are generated by ifconfig:
10.30.206.0 10.30.206.28 U 1
68419 qfe0:1
10.30.206.0 10.30.206.28 U 1
0 qfe0
10.30.206.0 10.30.206.28 U 1
18845 qfe4

This makes since to me but why does it not do the same
for the rest of the LIPs?

Here is more detail on the configuration of the
system:

$ ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4>
mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ce0:
flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu
1500 index 2
        inet 10.30.198.21 netmask fffffe00 broadcast
10.30.199.255
ce0:1:
flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu
1500 index 2
        inet 10.30.198.22 netmask fffffe00 broadcast
10.30.199.255
ce0:2:
flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu
1500 index 2
        inet 10.30.198.56 netmask fffffe00 broadcast
10.30.199.255
ce0:3:
flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu
1500 index 2
        inet 10.30.198.54 netmask fffffe00 broadcast
10.30.199.255
qfe0:
flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER>
mtu 1500 index 3
        inet 10.30.206.25 netmask fffffe00 broadcast
10.30.207.255
        groupname MultiNICB
qfe0:1:
flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu
1500 index 3
        inet 10.30.206.28 netmask fffffe00 broadcast
10.30.207.255
qfe0:2:
flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu
1500 index 3
        inet 10.30.206.27 netmask fffffe00 broadcast
10.30.207.255
qfe4:
flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER>
mtu 1500 index 4
        inet 10.30.206.26 netmask fffffe00 broadcast
10.30.207.255
        groupname MultiNICB
$

$ netstat -rn

Routing Table: IPv4
  Destination Gateway Flags Ref
Use Interface
-------------------- -------------------- ----- -----
------ ---------
10.10.10.0 10.30.206.3 UG 1
0
10.30.198.0 10.30.198.21 U 1
13827 ce0
10.30.198.0 10.30.198.22 U 1
0 ce0:1
10.30.198.0 10.30.198.56 U 1
0 ce0:2
10.30.198.0 10.30.198.54 U 1
0 ce0:3
10.30.206.0 10.30.206.28 U 1
68419 qfe0:1
10.30.206.0 10.30.206.27 U 1
0 qfe0:2
10.30.206.0 10.30.206.28 U 1
0 qfe0
10.30.206.0 10.30.206.28 U 1
18845 qfe4
default 10.30.198.3 UG 1
36396
127.0.0.1 127.0.0.1 UH
1113780294 lo0
$

$ cat /etc/default/mpathd
#
#ident "@(#)mpathd.dfl 1.1 00/01/03 SMI"
#
# Time taken by mpathd to detect a NIC failure in ms.
The minimum time
# that can be specified is 100 ms.
#
FAILURE_DETECTION_TIME=10000
#
# Failback is enabled by default. To disable failback
turn off this option
#
FAILBACK=yes
#
# By default only interfaces configured as part of
multipathing groups
# are tracked. Turn off this option to track all
network interfaces
# on the system
#
TRACK_INTERFACES_ONLY_WITH_GROUPS=yes

$ uname -a
SunOS prodbox 5.8 Generic_117000-03 sun4u sparc
SUNW,Sun-Fire-480R

$ cat /etc/hostname*
prodbox
prodbox-qfe0 netmask + broadcast + deprecated
-failover up
prodbox-qfe4 netmask + broadcast + deprecated
-failover up
$

$ ls /etc/hostname*
/etc/hostname.ce0 /etc/hostname.qfe0
/etc/hostname.qfe4
$

All of the LIPs are in VCS controll on this system.

Thanks very much for any and all that help :)
Regards,
Paul Krauss
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:08 EDT