cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
579
Views
5
Helpful
7
Replies

NAT not working between cisco switch C3560E and 1941 k9 Router

Zemede
Level 1
Level 1
C3560E cisco switch

my CISCO C3560E switch not working with Router 1941 please can you help me,my configuration as follow

ON ROUTER

G0/0

Ip address DHCP

ip nat outside

No shutdown

G0/10

Ip address 192.168.200.1 255.255 255 252

ip nat inside 

No shutdown 

Ip route 0.0.0.0 0.0.0.0 dhcp

Ip route 192.168.0.0 255.255.0.0 192.168.200.2

Ip nat inside source list 10 int g0/0 overload

Access-list 10 permit 192.168.0.0 0.0.255.256 

ON SWITCH(C3560E with 15.2 IOS version)

Int G0/24

no switchport

Ip address 192.168.200.2 255.255.255.252

No shutdown 

Ip route 0.0.0.0.0.0 0.0.0.0 192.168.200.1

 

7 Replies 7

Hello,  

 

post the full running configurations of both devices.

 

What LAN addresses on the switch side do you want to translate ?

 

What is the purpose of this route ?

 

--> Ip route 192.168.0.0 255.255.0.0 192.168.200.2

I have Vlan 192.168.1.0/24,192.168.2.0/24,192.168.3.0/24.....192.168.12.0/24 VLANS .,I want to translate internet dhcp public IP to these vlans

 

Your configuration looks fine except the wildcard mask on the acl ie. you have 0.0.255.256, is that a typo as the last octet should be 255. 

 

Jon

Hello

disable ip routing on the switch 

example sw
no ip routing 
ip default-gateway 192.168.200.1

 

nt G0/24
Ip address 192.168.200.2 255.255.255.0

 

rtr

G0/10

Ip address 192.168.200.1 255.255 255 0

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

 

Paul

 

That won't work as he says he has multiple vlans he wants to do NAT for and he must be routing those on the switch. 

 

Jon

How Can VLANs access  internet and communicate each other

 

Is the acl mask a typo ie. 0.0.255.256 ? 

 

If it is actually 0.0.0.255 in your configuration then post configuration of router.

 

Jon

Review Cisco Networking for a $25 gift card