cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2036
Views
0
Helpful
10
Replies

nat

arjun_4790
Level 1
Level 1

Hello,

I have been trying to configure nat in the cisco 2821 router but I'm getting memory full, why am I getting and how to resolve it.

10 Replies 10

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @arjun_4790 ,

post your current configuration just hide public IP addresses and passwords

 

typical setup

 

!internal side

interface VLAN 10

ip addresss 192.168.10.1 255.255.255.0

ip nat inside

!

 

! WAN side

interface WAN

ip address x.x.x.x 255.255.255.252

ip nat outside

 

access-list 11 permit 192.168.10.0 0.0.0.255

 

ip nat inside source list 11 interface wan overload

 

check with show ip nat translations

 

Hope to help

Giuseppe

 

 

 

I cant, after putting ip nat inside command, running configuration has been deleting automatically

balaji.bandi
Hall of Fame
Hall of Fame
 cisco 2821 router but I'm getting memory full,

Can you post exactly error you see on the router to understand the issue.

 

show run

show version

 

will help us here.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

hello,

I have attached a screenshot of that error which I have been getting.

Hello @arjun_4790 ,

remove NBAR from the configuration the first line of the screenshot says it is NBAR feature that is using a lot of memory.

 

Hope to help

Giuseppe

 

Hello @Giuseppe Larosa 

I have removed nbar from the interface but still, I have been getting same errors, could you go through the screenshots

Hello @arjun_4790 ,

I think you should disable NBAR on all interfaces of this router and then to get better help you should attach a text file with your configuration and a show version.

You can post the show version in a message

 

Hope to help

Giuseppe

 

hello,

I have disabled nbar in all interfaces still, I have been getting the same issue, could you check the log which I have attached

Hello @arjun_4790 ,

 

I think you should disable NBAR also at global level before attempting to configure NAT.

 

However, from the log messages you have provided it looks like the router has not enough memory ( RAM) to be enabled both features at the same time.

>>

router(config-if)#ip nat inside
NBAR ERROR : parsing stopped
% NBAR Error : Activation failed due to insufficient dynamic memory
% NBAR Error: Stile could not add protocol node
%NAT: Error activating CNBAR on the interface GigabitEthernet0/0
router(config-if)#
*Aug 19 07:15:08.655: %SYS-2-MALLOCFAIL: Memory allocation of 10260 bytes failed from 0x43D51A08, alignment 0
Pool: Processor Free: 14612 Cause: Memory fragmentation
Alternate Pool: None Free: 0 Cause: No Alternate pool
-Process= "Exec", ipl= 0, pid= 92
-Traceback= 43ED4ED4z 450D6CBCz 43D48370z 43D484D4z 43D28720z 43D2C300z 43D294ACz 43D5B41Cz 43D67098z 43D50914z 43D737CCz 43D73D64z 429714C4z 429739D4z 41E88F90z 41E8F4B4z
*Aug 19 07:15:08.655: %NBAR-2-NOMEMORY: No memory available for StILE lmalloc
-Traceback= 43D484D4z 43D28720z 43D2C300z 43D294ACz 43D5B41Cz 43D67098z 43D50914z 43D737CCz 43D73D64z 429714C4z 429739D4z 41E88F90z 41E8F4B4z 41E9E910z 43EA6260z 43EA6244z
router(config-if)#

 

post

show version

 

it provides the IOS image name and also the amount of memory on the system.

 

You may have loaded an IOS image that would require more RAM to work correctly.

 

Hope to help

Giuseppe

 

As per the message when you doing that command, you see some NBAR related information (thinking may be causing issue)

 

that is the reason we have requested.

 

show run

show version

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card