Re: linux subagent - Net.InterfaceList

From: Christoffer Blindheim <netxms_at_DOMAIN_REMOVED>
Date: Fri, 02 Sep 2005 16:03:25 +0200

Never used the ip command to setup aliases... don't now if it works with
Net.InterfaceList. But this bug I think were talking about virtual
interfaces. See my attatched post.

Christoffer Blindheim wrote:

>>
>> nxget -a plain -s mysecret -l servername Net.InterfaceList gives:
>> 500: Internal error
>>
>> Tried this on two diffrent gentoo servers, but no luck. The only gentoo
>> server that gives me a interface list is the managementserver, but this
>> has the alias problem...
>>
>> Alias:
>> 1 127.0.0.1/8 1 000000000000 lo
>> 2 xxx.yyy.zzz.ccc/27 1 000EA62D798E eth0
>> 3 10.20.1.19/16 1 0002B39A806B eth1
>>
>> my ifconfig |grep eth
>> eth0 Link encap:Ethernet HWaddr 00:0E:A6:2D:79:8E
>> eth0:1 Link encap:Ethernet HWaddr 00:0E:A6:2D:79:8E
>> eth0:2 Link encap:Ethernet HWaddr 00:0E:A6:2D:79:8E
>> eth0:3 Link encap:Ethernet HWaddr 00:0E:A6:2D:79:8E
>> eth0:4 Link encap:Ethernet HWaddr 00:0E:A6:2D:79:8E
>> eth1 Link encap:Ethernet HWaddr 00:02:B3:9A:80:6B
>> eth1:1 Link encap:Ethernet HWaddr 00:02:B3:9A:80:6B
>>
>> However this system is running 2.6 kernel, could this cause it?
>> My 2.4 rh-7.2 is responding correctly.
>>
>> Do you have a small program that utilizes the if_nameindex function that
>> I could try to run on my systems for debugging?
>>
>> thanks.
>

Rick Hodger wrote:

>I think what he's talking about is aliases, and not virtual interfaces (ala
>eth0:1, eth0:2, eth0:3 etc). Aliases use the "ip" command and do not show up
>in the "ifconfig" output.
>
>Same result, just a different method.
>
>
Received on Fri Sep 02 2005 - 17:03:25 EEST

This archive was generated by hypermail 2.2.0 : Fri Sep 02 2005 - 17:12:32 EEST