cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3451
Views
21
Helpful
15
Replies

PAT Config issue

jlajuarez
Level 1
Level 1

I have several issues with my PAT config. On the attached image of the topology:

1. Only hosts on network 10.0.1.0 / 25 can ping interface 128.10.10.2 / 24 (PAT is successful for this network)

2. Network 10.0.10.0 / 25 (VLAN) can ping 128.10.10.1 / 24, but cannot ping 128.10.10.2 / 24

3. The rest of the networks, whenever i ping 128.10.10.1 / 24 , it says destination host unreachable.

Here are the configurations i used in this topology.

R1(config)#int fa1/0

R1(config-if)ip nat inside

R1(config)#int s0/0/0

R1(config-if)#ip nat outside

R1(config-if)#exit

R1(config)#ip nat pool PATPOOL 128.10.10.1 128.10.10.1 netmask 255.255.255.0

R1(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0

R1(config)#ACCESS-LIST 1 PERMIT 10.0.1.0 0.0.0.127

R1(config)#ACCESS-LIST 1 PERMIT 10.0.10.0 0.0.0.127

R1(config)#ACCESS-LIST 1 PERMIT 10.0.2.0 0.0.0.127

R1(config)#ACCESS-LIST 1 PERMIT 10.0.3.0 0.0.0.127

R1(config)#ACCESS-LIST 1 PERMIT 172.16.1.0 0.0.0.3 * in my first config, i did not include this, but result is still the same. this is my current config.

R1(config)#ACCESS-LIST 1 PERMIT 172.16.2.0 0.0.0.3

R1(config)#ACCESS-LIST 1 PERMIT 172.16.3.0 0.0.0.3

R1(config)#ip nat inside source list 1 pool PATPOOL overload

Show IP Nat Trans on Router0

Pro  Inside global     Inside local       Outside local      Outside global

icmp 128.10.10.1:29    10.0.1.6:29        128.10.10.2:29     128.10.10.2:29

icmp 128.10.10.1:30    10.0.1.6:30        128.10.10.2:30     128.10.10.2:30

icmp 128.10.10.1:31    10.0.1.6:31        128.10.10.2:31     128.10.10.2:31

icmp 128.10.10.1:32    10.0.1.6:32        128.10.10.2:32     128.10.10.2:32

Show IP route on Router0

     10.0.0.0/25 is subnetted, 4 subnets

C       10.0.1.0 is directly connected, FastEthernet1/0

O       10.0.2.0 [110/2] via 172.16.1.2, 00:55:33, FastEthernet0/0

O       10.0.3.0 [110/2] via 172.16.3.2, 00:55:33, FastEthernet0/1

C       10.0.10.0 is directly connected, FastEthernet1/0.10

     128.10.0.0/24 is subnetted, 1 subnets

C       128.10.10.0 is directly connected, Serial0/0/0

     172.16.0.0/30 is subnetted, 3 subnets

C       172.16.1.0 is directly connected, FastEthernet0/0

O       172.16.2.0 [110/2] via 172.16.1.2, 00:55:33, FastEthernet0/0

                   [110/2] via 172.16.3.2, 00:55:33, FastEthernet0/1

C       172.16.3.0 is directly connected, FastEthernet0/1

S*   0.0.0.0/0 is directly connected, Serial0/0/0

I also tried configuring the other interfaces in the router as IP NAT INSIDE but still the same result (this is just me experimenting).

What have I done wrong?

15 Replies 15

Hi,

router ospf 1

default-information originate

This 2 configuration lines solved the problem...

thank you so much for your time.

And also thank you for the additional reading materials you have posted. thanks a lot.

Regards..

Review Cisco Networking products for a $25 gift card