explain nat and routes

Unanswered Question
Apr 28th, 2007
User Badges:

Hi ,

Heres my scenerio:

Server A is conencted to router 3 also


| ||



router1 Here there are 2 route maps and relevant routes to router2 and also to outside




router2 ip nat inside source static and specific routes





My question is traffic should go from server B to server A.

On router1

ip nat inside source route-map x pool x-Server

ip access-list extended x

permit ip any host

ip nat pool x-Server netmask

route-map x Map permit 10

match ip address x

route router2

On router 2

A.route router1

B.route router 1

ip nat inside source static

My questions is

1.So when checking the routes to go from server b to server A should it check route A or B and what will be the nat

2.What should be the route it will check and nat translation it will check for the return packet

Thanks in advance


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
royalblues Sat, 04/28/2007 - 08:33
User Badges:
  • Green, 3000 points or more

what is the inside and outside interafces of the routers R1 and r2


rajbhatt Sun, 04/29/2007 - 21:18
User Badges:


AS u can see from the figure r1 connects to a switch on the outside and on the inside it is conencted to a firewall

R2 is conencted to a inside of firewall and is conencted to internal networks via 2 swicthes

I just wanted to find out how the ip source natting is happening and how does it use the route table



rajbhatt Sun, 04/29/2007 - 22:58
User Badges:


If server B requests info from server A : should be converted to

It should check the route route router 1

or should it check the route :route router1

Because as far as i know first it ckecks route and then proceeds to translate .

My confusion here is

what should be the translation

Once it reaches router 1 it hits the router map :it takes address of 40.40 and access server

ip nat pool x-Server netmask

route-map x Map permit 10

match ip address x

Traffic reaches server A

While the packet will come back :

It will just check the nat in router 1 and foward the packet based on route

route router2

Am I correct in my assumption ?Please clarify if I am wrong

I cannot understand the persence of this route ?

Thanks in advance



This Discussion