Re: map ethernet interface with ip address

2005-09-14 Thread Alaios
> By using 'snmpwalk' (or a sequence of GETNEXT > requests) > to work through the ipAdEntIfIndex values, looking > for > the value(s) that match your required interface > index. Thx but how i can do this using c code/?? The snmp_synch_responce gets as parameter an oid value .. How i can run many g

Re: map ethernet interface with ip address

2005-09-14 Thread Dave Shield
On Wed, 2005-09-14 at 03:49 -0700, Alaios wrote: > Hi after fetching everything about interfaces now i > want to store the ipaddresses that the interface > has...My problem is that > i dont know what oid i should use so as to fetch the > ip address... ipAdEntIfIndex OBJ

map ethernet interface with ip address

2005-09-14 Thread Alaios
Hi after fetching everything about interfaces now i want to store the ipaddresses that the interface has... I have used in the past the status = snmp_synch_response(sess_handle, pdu, &response); function succesfully.. My problem is that i dont know what oid i should use so as to fetch the i