09-14-2016 07:39 AM - edited 03-08-2019 07:25 AM
Can 2 isolated vlans in same subnet communicate on layer 3 ? If they are both associated to same SVI
Solved! Go to Solution.
09-14-2016 09:28 AM
Ok. you can do several things to achieve that (proxy arp, nat,..) but best way to accomplish is using community port.
PS: Please don't forget to rate and mark as correct answer if this answered your question
09-14-2016 11:15 AM
Ziad,
if you want to isolate the TACACS server while still being in the same VLAN, why not use port ACLs ? Community ports in a private VLAN, as suggested, are definitely an idea, but by themselves they would not let you shield the TACACS server. Port ACLs would let you define exactly which traffic you allow in or out.
09-14-2016 07:49 AM
How can you have a single SVI for two Vlans?
09-14-2016 08:20 AM
By associating the secondary vlans to the SVI of the primary vlan
09-14-2016 07:56 AM
Hi
When you use Private VLAN, all isolated ports are not able to communicate with other isolated port.
You can use community port to allow only few hosts to communicate together.
| I-Port | P-Port | C1-Port | |
|---|---|---|---|
| I-Port | Deny | Permit | Deny |
| P-Port | Permit | Permit | Permit |
| C1-Port | Deny | Permit | Permit |
| C2-Port | Deny | Permit | Deny |
source: https://en.wikipedia.org/wiki/Private_VLAN
Thanks
PS: Please don't forget to rate and mark as correct answer if this answered your question
09-14-2016 08:21 AM
Yes i understand but can we use routing or the promiscuous port to pass information between secondary vlans?
09-14-2016 08:25 AM
Honestly, never done in production that but you can maybe use some proxy arp...
But again if these 2 hosts need to talk together then why not using community port?
09-14-2016 08:52 AM
True you are right , it was a bizarre scenario i encountred that we have a TACACS server on isolated vlan and another server which need credentials and they both have to be on the same subnet that's why i was asking if its possible
09-14-2016 09:28 AM
Ok. you can do several things to achieve that (proxy arp, nat,..) but best way to accomplish is using community port.
PS: Please don't forget to rate and mark as correct answer if this answered your question
09-14-2016 11:38 AM
Yes i think community vlan and pacl will be the best solution thank you guys really appreciate it
09-14-2016 11:45 AM
You're welcome. Yes community will limit the acl lines you need to do to filter what's denied.
Thanks
09-14-2016 11:15 AM
Ziad,
if you want to isolate the TACACS server while still being in the same VLAN, why not use port ACLs ? Community ports in a private VLAN, as suggested, are definitely an idea, but by themselves they would not let you shield the TACACS server. Port ACLs would let you define exactly which traffic you allow in or out.
09-14-2016 11:36 AM
Seems like a soln .. thank you very much for your help really appreciate it
09-14-2016 08:25 AM
Ziad,
not sure if I correctly understand your question. For layer 3 connectivity, you need to map the primary Vlan SVI to the private Vlans. As in the example below, where Vlan 100 is your primary Vlan, and 101 and 102 are your private Vlans:
interface Vlan 100
description Primary Vlan
private-vlan mapping add 101, 102
HTH
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