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

PAT config

bartolc12
Level 1
Level 1

Hi guys,

I am trying to start PAT translation

I have a 2600 router with one serial interface (outside) and one fa inte (inside).

There is a switch attached to the fa interface with two hosts.

On the router i have coded whats below:

ip nat pool pula_moja 192.168.21.1 192.168.21.2 netmask 255.255.255.0

ip nat inside source list 8 pool pula_moja overload

!

access-list 8 permit 172.21.171.0 0.0.0.255

please help!!!!!

i dont get it i guess!!!

4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

Hi

If you want to use PAT then you don't need a nat pool

ip nat inside source list 8 interface s0/0 overload

access-list 8 permit 172.21.171.0 0.0.0.255

int fa0/0

ip nat inside

int s0/0

ip nat outside

HTH

Jon

how do i specify the addresses?

let's say that my host are 172.21.177.10 -11

my vlan is 172.21.171.2 and my router fas ethernet interface is 172.21.171.3.

Should i just change the addresses of my hosts, change the access list and nat will translate my host addresses into the fast ethernet address and vice versa?

Jon Marshall
Hall of Fame
Hall of Fame

Hi

Sorry i realised the answer i gave before didn't quite fit what you were asking. The confusion comes from the fact that you are trying to do PAT but you are mapping 2 inside hosts to 2 natted addresses which isn't really PAT.

Do you want to do PAT or nat ie.

2 hosts on the inside and 2 addresses to NAT to could be done as follows

ip nat inside source static 172.21.171.1 192.168.21.1

ip nat inside source static 172.21.171.2 192.168.21.2

You original config should work - what are you seeing when you test it ?

Jon

Route_reflector
Level 1
Level 1

Seems ur confs are ok. Have u configured "IP nat inside" at ur Fas side and "IP nat outside" at Serial inteface ??

Rgds

Review Cisco Networking products for a $25 gift card