I have a cisco 3560G and 2911 series router.The Router has 2 internet interface.One is already configured to an unmanaged switch.The second interface is also configure and it can go to the internet.My task is to configure vlans on the switch and the vlans should communicate with each others.Also each of the vlans should have internet access.using the second interface on the router.Can someone help me with step to step how to do it.I'm new to vlan and inter-routing.Thanks.
Software/Hardware used:
cisco switch 3560 and router 2911
ASKED:
April 21, 2011 2:53 PM
UPDATED:
May 2, 2011 10:56 PM
thanks Pkpatel1151.Your tutorial was very helpful.but can you help me out with NAT on a Vlan.I mean a sample NAT config. so that I can use it for others vlans created.thanks again.Anticipate your reply.
Sure.
So let’s assume that your WAN interface is Gig 0/0 on router. You will need three things.
1. Access list
ip nat inside source list NAT-ACL interface gig 0/0
3. Assign NAT to Interface accordingly.
int gig 0/1.20
ip nat inside
!
int gig 0/0
ip nat outside
And that should do.
Thank you very much Pkpatel1151.I will try that now