-m | --local-subnets
        This  flag  allows users to specify the subnets whose traffic is
considered local.
        The format is <network address>/<# subnet mask bits>[,<network
address>/<#  subnet
        mask bits>]. For instance "131.114.21.0/24,10.0.0.0/255.0.0.0".

There were some fixes post 2.0 in the handling of local vs. remote.  I don't
remember if the problem existed in 2.0 or was introduced afterwards.  You should
probably try a current snapshot.

If I'm understanding your message, ip1.ip2.ip3.11 is seen as local, but
ip1.ip2.ip3.12 is remote?

You don't give us any information about the environment... How is the interface
defined? (IP & Mask)

Basically, the -m flag adds ip/mask to a list that is used to identify "pseudo"
local addresses.  The real local address check is also still used (see
isPseudoLocalAddress() in util.c around 514)

The only difference I found in treatment regards persistent storage, which tests
only for local addresses:

          if(myGlobals.usePersistentStorage) {
            if((hostIpAddress == NULL) || (isLocalAddress(hostIpAddress)))

Otherwise they should be treated the same.

Without more data and clarification of "the first 12", can't offer more help...

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Thomas Springer
Sent: Thursday, May 02, 2002 7:18 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] local/remote


i'm using ntop 2.0 - it works fine, but:

I want Ntop to see a few subnets as local, but whatever i specify: Ntop
sees only the first 12 IP-Numbers of the Subnet, in which the NTOP-Machine
(suse 7.3, ntop 2.0) is running as local - every other IP is redarded as
remote.

I run ntop with

/usr/local/bin/ntop -W 3010 -n -u mysql -S 1 -m ip1.ip2.ip3.0/24 -d -w 3011

any chance to have ntop seeing the whole ip1.ip2.ip3.0-255 or even some
more subnets as local?

ts

Thomas Springer

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to