cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7422
Views
0
Helpful
3
Replies

GRE tunnel to routers behind ASA NAT

tato386
Level 6
Level 6

I am having trouble setting up a basic GRE (no encryption) between two routers that are in turn behind ASA devices.  Setup looks like this:

Rtr1 <-> ASA1 <-> Inet <-> ASA2 <-> Rtr2

I have done the following:

1) each router has a static NAT on the ASA which NATs router's private LAN IP to a public IP.
2) I have a permit any IP rule on both ASAs to permit all traffic to the routers
3) I use the routers private IP as tunnel source and the opposite routers public IP as tunnel destination

I can ping and telnet from each router's private IP to the other router's public IP.

After doing this I cannot ping the remote tunnel IP even when sourcing from the local tunnel IP.


I suspect that some configuration setting on ASA1 is causing the problem. So I do the following test:

I setup Rtr3 at a 3rd site behind a PIX (not ASA) and setup static NAT and allow all rules like the ASAs. Then I configure GRE tunnels to Rtr1 and Rtr2 and test with pings and telnet to make sure basic are correct.  I find that the tunnel from Rtr3 to Rtr2 works perfectly but the tunnel from Rtr3 to Rtr1 does not work and has the same symptons as the original Rtr1<->Rtr2 tunnel.

So I am pretty sure there is something wrong with ASA1 config but I can't see it when I compare it to ASA2.  I figure I need to do some debugs but I am not sure what to debug since traffic from public to pubic IP seems to be working.

Any ideas?

Thanks,
Diego
 

3 Replies 3

Hi Bro

You'll need to configure ACLs in ASA1 and ASA2 to permit GRE protocol to pass through. Just because you've permitted IP ANY ANY, that doesn't mean GRE is included under IP.

// Sample Config

FW(config)# access-list outside permit gre host 192.168.201.25 host 192.168.201.5

Let me know how it goes.

Warm regards,
Ramraj Sivagnanam Sivajanam

I'm afraid I must disagree.  Rtr2 has IP allowed and it works with Rtr3.  GRE is actually IP protcol 47.  The packet trace utility confirms that IP protocol 47 should be successfull.  In any case I added allow GRE ahead of allow IP and still no joy.

I also found another reason to distrust ASA1.  As an experiment, I changed the outside/public address to another free IP in the block and ALL communication to Rtr1 including ping and telnet stopped working!  This is a confirmed free IP from the public block and it doesn't work for any type of communication at all.  I see no other device or NAT using this 2nd public IP.  As soon as I returned to the orginal public IP I got pings and telnet to work but still no GRE to Rtr2.  Very weird.

Still looking for help with some useful debug commands.  I find the ASA debug stuff to be quite dificult for me to get working..

Rgds,

Diego

ARRRGGHHHH!  A reboot of ASA1 fixed the problem.  Sorry for any inconvenience I may have caused.

Diego

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card