08-10-2007 12:17 AM - edited 03-03-2019 06:16 PM
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!!!
08-10-2007 12:37 AM
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
08-10-2007 12:49 AM
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?
08-10-2007 04:03 AM
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
08-12-2007 08:42 PM
Seems ur confs are ok. Have u configured "IP nat inside" at ur Fas side and "IP nat outside" at Serial inteface ??
Rgds
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide