12-21-2014 04:31 AM - edited 03-07-2019 09:58 PM
Hi All,
I have a conceptual question on VLANs please.
Assume I have in my company 2 departments (Finance and HR), all computers attached to the same L2 switch but separated by 2 different VLANs (V100 and V200).
On a different network I have 2 servers (the HR server which is @ 192.168.10.10 and the Finance sever which is @ 192.168.10.20).
All traffic from the Finance and HR departments towards the 192.168.10.X pass through a Cisco router that is connected to all networks with different legs.
Now, what should I do (on the router) in order to avoid HR computers from accessing the Finance (and vice versa)?
1. Should I apply IP ACLs on the router? if so then how do the VLANs helped me in here (if using IP ACLs).
2. Is there a different way to achieve my goal please?
TIA
Shai
Solved! Go to Solution.
12-21-2014 08:29 AM
Hi
VLANs are only effective at layer 2, and the router operates at layer 3. So the VLANs are there to seperate the traffic at layer 2, but you need to apply ACLs on the router to still keep the traffic seperated at layer 3.
12-21-2014 06:21 AM
Correct, you need to create an ACL on the router and apply it to the respective sub interface.
Martin
12-21-2014 06:39 AM
Well, then how do the VLANs come in handy if IP ACLs are needed in here?
What benefits do the VLANs provide me with please?
12-21-2014 08:27 AM
A VLAN is a broadcast domain, you use them to create logical networks. To communicate between them you need to route.
By default all networks will be reachable, hence why you need an ACL to restrict access.
Martin
12-21-2014 07:01 PM
I thought Layer 2 switches mean plug n play and only Layer 3 switches are managed switch?
12-21-2014 09:12 PM
Nope. A layer 2 switch is a switch that only forwards based on the layer 2 address (MAC address), and a layer 3 switch can also forward based on the layer 3 address (IP address).
12-21-2014 09:27 PM
Thanks! I've learnt something.
12-21-2014 08:29 AM
Hi
VLANs are only effective at layer 2, and the router operates at layer 3. So the VLANs are there to seperate the traffic at layer 2, but you need to apply ACLs on the router to still keep the traffic seperated at layer 3.
12-21-2014 03:37 PM
Hell0
I am assuming the router/L3 switch is doing the inter vlan routing for these vlans so your are correct a RACL would be applicable?
Can you post the config for this device to confirm your existing configuration
res
Paul
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide