12-28-2010 04:44 AM - edited 03-06-2019 02:44 PM
Hi Everyone,
My Question is very simple, In my scenario I am using 2950 switch and having Vlans (10,20,and 30), I just want VLAN 10 should be able to communicate with VLAN 20 and VLAN 30 but VLAN 20 and VLAN 30 should not be able communicate with each other.
Thanks,
Regards,
KM.
Solved! Go to Solution.
12-29-2010 11:47 PM
Hi Khaled,
You are most welcome... Feel proud always that this forum will bring up from issues...
And I am glad that my post helped you... :-)
Please rate the post which makes good impression as well.
Regards,
Naidu.
12-28-2010 05:48 AM
Khalid,
You cannot accomplish this with a 2950 Catalyst switch. The 2950 is a Layer2 switch which keeps all VLANs strictly isolated from each other. If you need to allow communication between selected VLANs you either need an additional router or a multilayer switch because communication between VLANs is essentially routing. In any case, the 2950 alone is absolutely unable to perform routing functions, and thus, it keeps all defined VLANs separate.
Best regards,
Peter
12-28-2010 05:52 AM
12-28-2010 06:16 AM
Hi Khalid,
As Paul said, you need a L3 device to do intervlan routing and hope you have that.
Try to configure the accesslist like below and apply under VLAN's and see.
I am assuming your IP ranges as follow Vlan10: 10.10.10.0/24 Vlan20: 10.10.20.0/24 Vlan30: 10.10.30.0/24
ip access-list extended Vlan_10
permit ip 10.10.10.0 0.0.0.255 10.10.20.0 0.0.0.255
permit ip 10.10.10.0 0.0.0.255 10.10.30.0 0.0.0.255
ip access-list extended Vlan_20
permit ip 10.10.20.0 0.0.0.255 10.10.10.0 0.0.0.255
ip access-list extended Vlan_30
deny ip 10.10.30.0 0.0.0.255 10.10.10.0 0.0.0.255
deny ip 10.10.30.0 0.0.0.255 10.10.20.0 0.0.0.255
permit ip any any
int Vlan 10
ip access-group Vlan_10 in
int Vlan 20
ip access-group Vlan_20 in
int Vlan 30
ip access-group Vlan_30 in
Regards,
Naidu.
12-29-2010 11:29 PM
Mr,Maidu,
Thanks alot for your help and support its working fine.
thanks to other guys also.
Regards.
KM.
12-29-2010 11:47 PM
Hi Khaled,
You are most welcome... Feel proud always that this forum will bring up from issues...
And I am glad that my post helped you... :-)
Please rate the post which makes good impression as well.
Regards,
Naidu.
11-04-2021 05:29 AM
This worked perfectly for me too. Thank you!
09-12-2023 08:25 AM
Is it possible to NOT use ip address but instead use the port that the end device is connected to allow access (IE3400)
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