cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1404
Views
0
Helpful
4
Replies

GRE NAT configuration not working

ANUJ BUTAIL
Level 1
Level 1

I have a router with the following configuration and i am not seeing any NAT Translation can you please let me know where is the mistake.

The inside interface is Gigabit Ethernet 2. 

I am natting  107.154.50.39 to 10.0.1.142

interface Tunnel0

ip address 192.168.247.29 255.255.255.252

ip nat outside

tunnel source 10.0.0.252

tunnel destination 107.154.40.168

!

!

interface GigabitEthernet2

ip address dhcp

ip nat inside

negotiation auto

!         

ip nat pool LAN-NAT 107.154.50.39 107.154.50.39 prefix-length 24

ip nat inside source route-map GRE-NAT pool LAN-NAT

route-map GRE-NAT permit 10

match ip address office22

ip access-list extended office22

permit ip host 10.0.1.142 any

4 Replies 4

Philip D'Ath
VIP Alumni
VIP Alumni

If you are NATing 107.154.50.39 to 10.0.1.142 you should replace the NAT config with:

ip nat inside source static 10.0.1.142 107.154.50.39

Philip

I had tested this statement before I was able to see NAT translations coming in but when traffic came from instance back to Internet it was not NAtting.

That is the reason I tried this different config it was not doing any translations 

I think this is something to do with tunnel interface NAT

regards 

anuj 

Hi, Can the outside interfaces ping each other?

Do you have an ip route to reach the other side of the GRE tunnel or a router protocol?

The NAT configuration I have given is correct, so it is some other issue - such as a lack of understanding of how your environment works.

Where does this tunnel go to?  Is your Internet actually delivered over this tunnel?  Do you have a default route pointing to  192.168.247.30?

Perhaps try posting your whole config.

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