Solved

Need to count IP address hits

Posted on 2014-11-20
5
145 Views
Last Modified: 2014-12-17
Hello

Task - I have been asked to check if certain NAT rules are being utilized at this time, usually this would be a matter of looking at the firewall (ASA in my case) or to simply look at the end devices to check if there's any incoming traffic from the outside. Either option is not available right now.

Scenario - We currently use the ISP as our firewall, they firewall and NAT outside addresses into our internal addresses. The ISP doesn't provide NAT metrics to us. Incoming traffic hits our edge router and then our ASA (used for VPN mostly).

What I have tried - I put an ACL on our edge router interface (in) permitting the NATted to internal ip addresses expecting to  see some ACL matches if hit. See text below for ACL and interface configs.
ON the ACL I have tried with and without the "LOG" option.

What is the method to collect IP traffic information on a Cisco 1941?

Any assistance would be greatly appreciated.

Thanks in advance
-----------------------
R1#show access-list

Standard IP access list 88
    20 permit 192.168.111.7
    30 permit 192.168.111.8
    10 deny   192.168.55.11
    40 permit 192.168.34.27
    50 permit 192.168.31.40
    60 permit 192.168.34.18
    70 permit 192.168.32.13
    80 permit 192.168.3.33
    90 permit 192.168.25.6
    100 permit any (4920313 matches)
------------
R1#sh run int gig 0/0

interface GigabitEthernet0/0
 ip address 65.118.86.166 255.255.255.252
 ip access-group 88 in
 duplex full
 speed 100
--------------
0
Comment
Question by:CocoCounty
  • 2
  • 2
5 Comments
 
LVL 17

Accepted Solution

by:
Garry-G earned 250 total points
ID: 40456733
You could also configure the ASA with rules for each device, it will also keep a counter on rule hits ... not exactly sure why you don't get any hits on the single IPs in the access list, unless the IOS is optimizing the access list matches (try adding an arbitrary deny rule between the last specific permit and the permit any rule ... not sure if that will do anything)
0
 
LVL 28

Assisted Solution

by:Jan Springer
Jan Springer earned 250 total points
ID: 40457350
if you can configure logging and log to an internal syslog server, the sky is the limit with analyzing the log data.
0
 

Author Comment

by:CocoCounty
ID: 40459485
Thank you Garry-G and Jan,

I will try both. I need to wait until Monday to do any work on the router. I will post the results then.

Thanks again
0
 
LVL 17

Expert Comment

by:Garry-G
ID: 40459520
If you are open to more extensive analysis, things like Netflow Accounting could deliver even more information ...
0
 

Author Comment

by:CocoCounty
ID: 40505004
The ACL with a deny statement did the job.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now