Cisco router ping internet but my 2950 switch just ping inside and outside nat.

Arfrasooli

Reputable
Dec 1, 2015
2
0
4,510
I wrote static route in my router and ping internet.connection between router and switch is trunk and subinterface.in switch i have four or five vlan and each vlan have ip.
In switch i just can ping inside and outside nat and dont have internet ping.
Please help me.
 


May i see your config?
 
I have dsl internet its my config
Interface dialer 1
Ip address static
Encapsulation ppp
Ip mtu 1492
Ip nat outside
Ppp authentication ppp callin
Ppp pap sentusername ------- password ------
Dialer pool 1
Exit
Int f 0/1
Pppoe enable


Interface f 0/0
Ip nat inside

Ip access-list extended aaa
Permit ip 192.168.0.0 0.0.255.255 any


Ip route 0.0.0.0. 0.0.0.0. Int dialer 1
Exit
 
This can't be your complete configuration if you have claim you are using multiple vlans with sub interfaces. You need to put nat inside on each you also will likely need to have multiple nat pool statement that allow you to map multiple subnets to the same external ip.

I suggest you start with 1 vlan and get that working and then do the rest. The nat configuation will be very confusing trying to debug multiple nat pools at at time

Still you best command to see what is going on are the DEBUG NAT command so you can see why traffic is not hitting your filters.