[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-231278 ] two loopback interfaces confuses agent
From:       noreply () sourceforge ! net
Date:       2001-03-15 22:03:13
[Download RAW message or body]

Bugs item #231278, was updated on 2001-02-06 09:18
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=231278&group_id=12694

Category: agent
Group: None
Status: Open
Priority: 5
Submitted By: Jonathan Hughes (xerxesii)
Assigned to: Wes Hardaker (hardaker)
Summary: two loopback interfaces confuses agent

Initial Comment:
4.2, OpenBSD 2.8
2 loopback interfaces lo0 and lo1 and ethernet i/f fxp0 are correctly identified:
ifDescr.1 : lo0, ifDescr.2 : lo1, ifDescr.3 : fxp0
but the IP address is associated with lo1, viz:
ipAdEntIfIndex.127.0.0.1 : 1
ipAdEntIfIndex.146.227.112.116 : 2


----------------------------------------------------------------------

> Comment By: Wes Hardaker (hardaker)
Date: 2001-03-15 14:03

Message:
Logged In: YES 
user_id=76242

Any chance you can look at the code yourself to determine
the problem?  I don't have a machine to easily test this
on.  The code in question is at
agent/mibgroup/mibII/ipAddr.c near a line with "IPADIFINDEX"
in it (there are two lines depending on #ifdefs).

----------------------------------------------------------------------

Comment By: Wes Hardaker (hardaker)
Date: 2001-02-12 06:06

Message:
Ahh...  Now I see the problem.

----------------------------------------------------------------------

Comment By: Jonathan Hughes (xerxesii)
Date: 2001-02-12 03:37

Message:
sorry, will try to clarify!
the problem that prevents the agent being used
is that the real IP address which belongs to 
the ethernet i/f fxp0 has been assigned to idx 2
instead of 3

----------------------------------------------------------------------

Comment By: Wes Hardaker (hardaker)
Date: 2001-02-09 09:54

Message:
In that case, I don't really see the problem?  The data in your original submission \
looks correct then, unless I'm missing something.  You say that the address is \
associated with lo1, but your ifDescr1.1 is "lo0"?

----------------------------------------------------------------------

Comment By: Jonathan Hughes (xerxesii)
Date: 2001-02-09 09:10

Message:
only one loopback i/f has an ip address
(I think this is normal w/ OpenBSD), viz:
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32972
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000 
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 32972

----------------------------------------------------------------------

Comment By: Wes Hardaker (hardaker)
Date: 2001-02-09 08:51

Message:
Unfortunately, there is no way to fix that.  The MIB that defines the ipAddrTable did \
not account for two interfaces that are assigned the same ip address and hence the \
indexing of the mib is by the ipaddress.  There is no way, using that table, to map \
127.0.0.1 to two interfaces (without changing the definition of the table, which we \
can't do).


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=231278&group_id=12694

_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/net-snmp-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic