Re: Get IP address from within MIB module

2012-01-03 Thread Robert Story
On Tue, 3 Jan 2012 18:50:01 + Holger wrote: HK> Hi, HK> HK> I have a Linux PC with one physical interface (eth0) and two IP HK> aliases (eth0:0 and eth0:1) each with a different IP address. I am now HK> writing a C MIB module to handle SNMP requests for my MIB. I would HK> like to handle the r

Get IP address from within MIB module

2012-01-03 Thread Holger Klaas
Hi, I have a Linux PC with one physical interface (eth0) and two IP aliases (eth0:0 and eth0:1) each with a different IP address. I am now writing a C MIB module to handle SNMP requests for my MIB. I would like to handle the requests differently depending on which of the interfaces (or IP address)