From: Bhaskar Sivanesan (bas_bharath@yahoo.com)
Date: Sun Oct 28 2007 - 21:10:46 ART
excellent Uchil.... the solution works and solves all aspects of my lab exercise....
thanks everyone....cheers
----- Original Message ----
From: Uchil Perera <uchil.groupstudy@yahoo.com>
To: Bhaskar Sivanesan <bas_bharath@yahoo.com>; ESECCIE <e.s.e.ccie@gmail.com>; ccie forum <ccielab@groupstudy.com>
Sent: Sunday, October 28, 2007 2:39:28 PM
Subject: Re: ip accounting for NAT
Hi,
This is the proper way.
If the translated IP address is 192.168.1.1
ip accounting-list 192.168.1.1 0.0.0.0
or for a subnet
ip accounting-list 192.168.1.0 0.0.0.255
Regards
Uchil
CCIE # 18536
Bhaskar Sivanesan <bas_bharath@yahoo.com> wrote:
Hi
but, doesn't this account for all the output packets....if i have 1 static NAT host and rest go without translation and I want to account only for the NAT translated packets. Will the config below work for this scenario?? Anyway, i will lab i up and let you know the outcome.
cheers
----- Original Message ----
From: ESECCIE
To: Bhaskar Sivanesan ; ccie forum
Sent: Friday, October 26, 2007 6:26:59 PM
Subject: Re: ip accounting for NAT
Hi Bhaskar
Try with this:
!
interface FastEthernet0/0
ip accounting output-packets
!
ip accounting-list 0.0.0.0 255.255.255.255
Let me know if works for you requirement.
Regards
ESE
----- Original Message -----
From: "Bhaskar Sivanesan"
To: "ccie forum"
Sent: Friday, October 26, 2007 1:26 PM
Subject: ip accounting for NAT
> Hi group
>
> Is there anyway to enable ip accounting for packets that has undergone
> NAT?
>
> Enabling 'log' option in the access-list is ruled out. Any other ideas??
>
>
> cheers
> Bhaskar
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Fri Nov 16 2007 - 13:11:19 ART