I have tested the config you specified with -i eth0 as the interfaces setting. Though an ifconfig shows both eth0 and eth0:1 up (see below), ntop still claims only 1 interface available:
"You're currently capturing traffic from one interface [eth0]. The interface switch feature is active only when you active ntop with multiple interfaces (-i command line switch). Sorry."
Should it show eth0:1 as a "switch NIC" option?
Tony
eth0 Link encap:Ethernet HWaddr 00:50:8B:8E:8B:68
inet addr:192.168.21.169 Bcast:192.168.21.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:56609216 errors:0 dropped:0 overruns:0 frame:0
TX packets:144866 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4117572099 (3926.8 Mb) TX bytes:55878976 (53.2 Mb)
Interrupt:20 Base address:0x5440 Memory:52500000-52500038
eth0:1 Link encap:Ethernet HWaddr 00:50:8B:8E:8B:68
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:20 Base address:0x5440 Memory:52500000-52500038
-----Original Message-----
Organization: Centro di Servizi per la rete di Ateneo - Pisa - Italy
From: "Burton M. Strauss III" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: [Ntop] Ntop, netflow virtual interface
Date: Wed, 29 Oct 2003 14:51:25 -0600
Reply-To: [EMAIL PROTECTED]
libpcap doesn't differentiate between the various logical interfaces, it's
at the level of the physical one (try tcpdump -i eth0:0 -c 5 for example).
Since libpcap doesn't differentiate, ntop can't.
Since it will see the traffic, ntop adds any virtual addresses
automatically. So if you specify -i eth0, you get eth0:0 ...eth0:7.
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cetera,
Tony
Sent: Wednesday, October 29, 2003 1:15 PM
To: '[EMAIL PROTECTED]'
Subject: [Ntop] Ntop, netflow virtual interface
I'm running ntop 2.2c on Redhat 9 and have a question about the
configuration of the virtual netflow interface.
I have configured a virtual interface eth0:1 on the subnet I want to monitor
flows to/from. I'm assuming this is the correct network for that interface.
I then specified the IP address and netmask of that interface on the
Netflow statistics config page. I restarted netflow and specified eth0 and
eth0:1 with the -i parameter.
The problem occurs when I attempt to "switch NIC". The only option
available is eth0 and eth0:1 is not listed.
Have I configured the virtual interface incorrectly?
Thank you.
Tony Cetera
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________
