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

NAT/PAT configuration

Student HoGent
Level 1
Level 1

Hey, I am a student and new to Cisco packet tracer.

I have a question about NAT/PAT. 
We have to configure NAT/PAT on our router to try to get to a server on the outside.
Only our LAN pool has to get to it.
I don't know if we must put it on router 3 or router 2?

Here is the network file.

Thanks in advance.

1 Accepted Solution

Accepted Solutions

Hello @Student HoGent 

 R3 would be the right place.

   But, you need to have route on the Internet Routers in order to reply to 192.168.x.x.  You also need a static route on R3 pointing to Internet Router on network 64.100.x.x.x and then you can advertise this static route on the OSPF with

redistribute static

command.

  Lastly you put the same IP address on the R3 interface and Internet router interface.  I am adding the file down below for you reference.

FlavioMiranda_0-1685813321008.png

 

View solution in original post

4 Replies 4

Hello @Student HoGent 

 R3 would be the right place.

   But, you need to have route on the Internet Routers in order to reply to 192.168.x.x.  You also need a static route on R3 pointing to Internet Router on network 64.100.x.x.x and then you can advertise this static route on the OSPF with

redistribute static

command.

  Lastly you put the same IP address on the R3 interface and Internet router interface.  I am adding the file down below for you reference.

FlavioMiranda_0-1685813321008.png

 

Thx @Flavio Miranda 

I really appreciate that you helped me, I find NAT/PAT a difficult subject.

It is indeed. Not only for beginners but for everyone, believe me.

Hello
If this was relating to a real scenario network you would apply NAT on ALL 3 rtrs as each site LAN would most probably have none public routable addressing, However in this case as RTR2 is facing the "internet" this would be the place to initiate NAT so to hide the internal networks of all 3 rtrs (including the TFTP server) which are presently reachable to each other via OSPF.

Please see attached working PT file, It will show amended NAT/PAT and ACL statements, in addition to an dynamically advertised default route via OSPF towards RTRs 1& 3 allowing all Lan users access to the internet via dynamic NAT and also internet access towards the tftp server via static PAT.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul