12-03-2019 12:31 PM
Hello, my switch (WS-C3650-48PD )has an existing VLAN 10 which I use for office traffic.
Now I am connecting another router to this switch which also sends tagged VLAN 10 traffic. However this VLAN 10 is a totally diffferent network. So I now have a conflict of two VLAN 10s.
Is there any way to partition or maintain two instances of VLAN 10 on this WS-C3650-48PD switch ?
Solved! Go to Solution.
12-03-2019 05:16 PM
Hi,
The easiest way to resolve the issue is to move one of the VLANs to a different VLAN number.
For any reason if you can not do that, I am thinking of VACL (VLAN ACL) as one way to solve your issue, assuming the two VLAN 10s have different subnets and do not need to talk to each other at all.
Example:-
access-list 100 permit ip X.X.X.X a.a.a.a Y.Y.Y.Y b.b.b.b
access-list 100 permit ip Y.Y.Y.Y b.b.b.b X.X.X.X a.a.a.a where X.X.X.X a.a.a.a is one of the VLAN10 network and wildcard mask, Y.Y.Y.Y b.b.b.b is the other VLAN10 network and its wildcard mask. You can also use mac address acl instead of ip address acl.
!
access-list 101 permit ip any any
!
vlan access-map BETWEEN-VLAN10s 10
match ip address 100
action drop
vlan access-map BETWEEN-VLAN10s 20
match ip add 101
action forward
exit
vlan filter BETWEEN-VLAN10s vlan-list 10
Another alternative could be to configure all VLAN 10 ports as protected ports using switchport protected command.
HTH,
Meheretab
12-03-2019 05:16 PM
Hi,
The easiest way to resolve the issue is to move one of the VLANs to a different VLAN number.
For any reason if you can not do that, I am thinking of VACL (VLAN ACL) as one way to solve your issue, assuming the two VLAN 10s have different subnets and do not need to talk to each other at all.
Example:-
access-list 100 permit ip X.X.X.X a.a.a.a Y.Y.Y.Y b.b.b.b
access-list 100 permit ip Y.Y.Y.Y b.b.b.b X.X.X.X a.a.a.a where X.X.X.X a.a.a.a is one of the VLAN10 network and wildcard mask, Y.Y.Y.Y b.b.b.b is the other VLAN10 network and its wildcard mask. You can also use mac address acl instead of ip address acl.
!
access-list 101 permit ip any any
!
vlan access-map BETWEEN-VLAN10s 10
match ip address 100
action drop
vlan access-map BETWEEN-VLAN10s 20
match ip add 101
action forward
exit
vlan filter BETWEEN-VLAN10s vlan-list 10
Another alternative could be to configure all VLAN 10 ports as protected ports using switchport protected command.
HTH,
Meheretab
12-03-2019 09:25 PM
Thank you Meheretab, with your VACL example, will this also block layer 2 traffic or is it only blocking L3 ?
12-04-2019 12:23 AM
Make your life simple and do what Reza suggested and just renumber one of the vlans.
Jon
12-04-2019 09:41 AM
12-03-2019 05:34 PM
Hi,
Why do you have to use the same vlan? Just use a different one.
HTH
12-04-2019 09:44 AM
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