bug-zebra
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

solaris has non-unique if_index for secondaries.


From: Jim Crumpler
Subject: solaris has non-unique if_index for secondaries.
Date: Wed, 5 Jun 2002 10:48:52 +1000

Hi - I noticed Solaris if_index duplicates for secondary interfaces. (see
below - three on the interfaces have if_index == 1 - they are all
secondaries of the one interface).. This behaviour also occurs on
secondaries of physical interfaces too.

(interestingly, the Solaris SNMP daemon returns the correct unique ifIndex
values for secondaries).

I also noticed there is an option for Linux called --enable-broken-aliases -
this appears to work in zebrad (unless new interfaces are added), but causes
the wrong interfaces to be identified in ospfd.

I'm interested in fixing this, but I'll need some assistance to understand
what the enable-broken-aliases option attempted to do (it looked to just
increment a fake ifindex number for interface identification, and not deal
with ifindex in routes back to the kernel - I don't understand how this
could have worked).

Thanks for any assistance.

Jim Crumpler.

----
CVS checkout date: Wed Jun  5 10:22:42 EST 2002 (pre 0.93)
OS tested : Solaris 9 SPARC and Solaris 8 x86.
configure: ./configure --prefix=/opt/sfw
----

snail# show interface
Interface lo0
  index 1 metric 1 mtu 8232 <UP,LOOPBACK,RUNNING,MULTICAST>
  inet 127.0.0.1/8
Interface lo0:1
  index 1 metric 1 mtu 8232 <UP,LOOPBACK,RUNNING,MULTICAST>
  inet 10.232.7.1/24
Interface lo0:2
  index 1 metric 1 mtu 8232 <UP,LOOPBACK,RUNNING,MULTICAST>
  inet xxx.xx.74.19/32
Interface iprb0
  index 2 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST>
  inet xxx.xxx.4.158/22 broadcast xxx.xxx.7.255
Interface iprb1
  index 3 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST>
  inet 10.232.4.1/24 broadcast 10.232.4.255
Interface iprb2
  index 4 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST>
  inet 10.232.5.1/24 broadcast 10.232.5.255
Interface iprb3
  index 5 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST>
  inet 10.232.6.1/24 broadcast 10.232.6.255
Interface ip.tun0
  index 6 metric 1 mtu 1440 <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>
  inet 10.233.0.4/24 pointopoint 10.233.0.5
Interface ip.tun1
  index 7 metric 1 mtu 1440 <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>
  inet 10.233.255.1/24 pointopoint 10.233.255.2
snail#






reply via email to

[Prev in Thread] Current Thread [Next in Thread]