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.
-- Rick Hodger Bytel Ltd. W: http://www.bytel.net.uk/ T: +44 (0)28 9045 6111 F: +44 (0)28 9045 6123 > -----Original Message----- > From: Christoffer Blindheim [mailto:netxms_at_christoffer.totalnett.no] > Sent: 02 September 2005 14:20 > To: NetXMS Users > Subject: Re: [netxms-users] linux subagent - Net.InterfaceList > > > Works on all my systems: > rh7.2 kernel 2.4.19 > Gentoo 2.4.28-gentoo-r8 #1 SMP Sun Mar 27 06:34:14 CEST 2005 i686 > Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux > Gentoo 2.4.26-gentoo-r5 #1 SMP Thu Jul 15 17:07:37 CEST 2004 i686 > Intel(R) Xeon(TM) CPU 2.40GHz GenuineIntel GNU/Linux > Gentoo 2.6.11-hardened-r15 #1 SMP Sat Aug 6 14:20:30 CEST 2005 i686 > Intel(R) Xeon(TM) CPU 3.06GHz GenuineIntel GNU/Linux > > > Alex Kirhenshtein wrote: > > >Hello. > > > >As were discovered earlier, function if_nameindex() do not show aliases, > >so now i use alternative way. test application attached, and it would be > >nice to get a responce from users with different kernels before adding. > > > > > >Received on Fri Sep 02 2005 - 16:55:33 EEST
This archive was generated by hypermail 2.2.0 : Fri Sep 02 2005 - 17:04:44 EEST