Solved

Cisco Vlan question

Posted on 2013-12-18
4
397 Views
Last Modified: 2014-01-11
Dear All


             I have a valn issue would like to ask, for example if i have created 3 vlan on a cisco switch, and 3 vlan will be using different ip subnet,

int range f0/1 - 23
switchport access vlan 2


int range f0/1 - 23
switchport access vlan 3

and now the 3 vlan has been assigned to switch ports 1 - 23 (see above), just wonder if i dont create sub-interface in router, the 3 vlan computers will not be able to ping each other ? am i correct ?  

if i do not want different vlan to ping each other and at the same time i want each of the vlan to access to internet, do i need to assign three dedicate lan port in the router for vlan1, vlan2 and vlan3 ?  in order to achieve my wish ?



Keith
0
Comment
Question by:piaakit
  • 2
  • 2
4 Comments
 
LVL 11

Expert Comment

by:Miftaul
ID: 39728466
and now the 3 vlan has been assigned to switch ports 1 - 23 (see above), just wonder if i dont create sub-interface in router, the 3 vlan computers will not be able to ping each other ? am i correct ?  

You are partially correct.
InterVLAN routing can be done either within the switch (if that supports routing) or on the router subinterface using Router-on-a-stick.
Can you do a command, "IP Routing" on the Switch and see if that works.

=======

if i do not want different vlan to ping each other and at the same time i want each of the vlan to access to internet, do i need to assign three dedicate lan port in the router for vlan1, vlan2 and vlan3 ?  in order to achieve my wish ?

You can achieve this using ACL. You do not need three dedicated LAN ports.
ACL to block communication between VLANs and NAT to allow all 2 VLANs to communicate to the internet.

Thanks.
0
 

Author Comment

by:piaakit
ID: 39728507
Can you list a example of the access list in my case above ? Thx
0
 

Author Comment

by:piaakit
ID: 39755559
is it possible to list a example of access-list for above
0
 
LVL 11

Accepted Solution

by:
Miftaul earned 500 total points
ID: 39755571
Here is a very good discussion with examples - Link Here

Where exactly you are doing the InterVLAN routing, on the switch or the Router-on-a-stick. I can simulate the scenario in PacketTracer and post it.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Fiber Patch Panel 6 42
Excessive tcp resends from my ASA 7 29
VLSM calcuation 5 27
Migrate Cisco ASA 5510 and 5515 K9? 12 41
Cisco Pix/ASA hairpinning The term, hairpinning, comes from the fact that the traffic comes from one source into a router or similar device, makes a U-turn, and goes back the same way it came. Visualize this and you will see something that looks …
This article will cover setting up redundant ISPs for outbound connectivity on an ASA 5510 (although the same should work on the 5520s and up as well).  It’s important to note that this covers outbound connectivity only.  The ASA does not have built…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now