Hi Paolo, I have this in my config
nfacctd_as_new: bgp When you ask about private IPs in the BGP I'm not sure what you mean, In the BGP feed it comes from a public IP, the table is a full route table and in the as file I only have 180.222.64.0/21 in there Hope this helps Tristram On 9 April 2011 05:11, Paolo Lucente <[email protected]> wrote: > Hi Tristram, > > Can you say what the 'nfacctd_as_new' directive is set to or whether > it's left to its default value? Can you also say whether the private > IP addresses are present at all in your BGP? > > Your approach will not work. And it's expected that own ranges are being > reported with no ASN information. Can suggest solution(s) but want to get > a better overview first. > > Cheers, > Paolo > > On Thu, Apr 07, 2011 at 05:54:13PM +1200, Tristram Cheer wrote: > > Hi All, > > > > I'm having a bit of trouble with src_as and dst_as, I have a BGP session > up > > and running and it's working for all except our own ranges and some > private > > IP's, I would like to be able to have a txt file with a set of static > > AS/NETWORKS as well as the BGP session for lookups. I thought I could do > > this via bgp_peer_src_as_map > > > > I have a text file with: > > > > 45230,180.222.64.0/21 > > > > and in my nfacctd.conf file I have > > > > bgp_peer_src_as_map: /etc/nfacctd_as_map.txt > > > > > > But src_ip or dst_ip with network 180.222.64.0/21 in it shows 0 ASN, Any > > clues? > > > > > > Cheers > > > > Tristram > > > _______________________________________________ > > pmacct-discussion mailing list > > http://www.pmacct.net/#mailinglists > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists >
_______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
