Hi Jan,

I just ran into a problem with this functionality: the ipAddressTable 
(in the ip-mib code) leaked memory; this is because the table did not 
allow duplicate IP addresses.

I believe the ip-mib is using the ip-addresses as indexes into the 
table, therefore it is a limitation of the MIB to not allow duplicates 
(but I am not 100% sure).

We were doing some IP tunneling when we encountered this error.

Should I post my fixes (diffs) to net-snmp-bugs? or -coders?

MV

Jan Safranek wrote:
> Greetings,
> 
> is it possible for SNMP to handle multiple interfaces with the same IPv4
> address? Net-snmp (5.4) throws error messages to log:
> 
> $ ifconfig eth1 192.168.100.1 up
> $ ifconfig eth2 192.168.100.1 up
> $ /etc/init.d/snmpd start
> $ tail /var/log/messages
> 
> error on subcontainer 'ia_addr' insert (-1)
> error on subcontainer '' insert (-1)
> 
> Unfortunately it's quite common to have one IP shared among more
> interfaces - e.g. in PPTP server. The same applies to situation, where
> there are more interfaces without IP address (e.g. when channel bonding
> is configured).
> 
> Regards
> 
> --
> Jan Safranek
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Varley           -= SOMA Networks =-
[EMAIL PROTECTED]     416-348-1578

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to