Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

PAT config

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
Hall of Fame Super Blue

Re: PAT config

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

New Member

Re: PAT config

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?

Hall of Fame Super Blue

Re: PAT config

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

New Member

Re: PAT config

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

Rgds

168
Views
0
Helpful
4
Replies
CreatePlease to create content