?
Solved

Cisco Vlan question

Posted on 2013-12-18
4
Medium Priority
?
405 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a movement in Information Technology (IT), and while it’s hard to define, it is gaining momentum. Some call it “stream-lined IT;” others call it “thin-model IT.”
You deserve ‘straight talk’ from your cloud provider about your risk, your costs, security, uptime and the processes that are in place to protect your mission-critical applications.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

719 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