Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Exclude a vlan from IP ROUTING layer 3 switch

I have set up a Layer 3 switch to do IP routing between the VLANS, There are a couple of VLANS that I do not want communicating with the other VLANS,

What is the best way to accomplish this, ACLS?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: Exclude a vlan from IP ROUTING layer 3 switch

JasonWhitehead wrote:

The vlans I want to exclude only need to talk to the devices on the same VLAN and use the internet out of the default route

Jason

Well then yes, ACLs are the way to go eg.

vlan 10 is one of your isolated vlans = 192.168.10.0/24

vlan 5, 6, 7 are vlans you don't want vlan 10 communicating with

access-list 101 deny ip 192.168.10.0 0.0.0.255

access-list 101 deny ip 192.168.10.0 0.0.0.255

access-list 101 deny ip 192.168.10.0 0.0.0.255

access-list 101 permit ip 192.168.10.0 0.0.0.255 any  <-- this line for internet access

int vlan 10

ip access-group 101 in

Jon

4 REPLIES
Hall of Fame Super Blue

Re: Exclude a vlan from IP ROUTING layer 3 switch

JasonWhitehead wrote:

I have set up a Layer 3 switch to do IP routing between the VLANS, There are a couple of VLANS that I do not want communicating with the other VLANS,

What is the best way to accomplish this, ACLS?

Jason

Yes you can use ACLs on the L3 interfaces. Do these vlans you want to isolate need to talk to anything other than devices on their own vlans ?

Jon

New Member

Re: Exclude a vlan from IP ROUTING layer 3 switch

The vlans I want to exclude only need to talk to the devices on the same VLAN and use the internet out of the default route

Hall of Fame Super Blue

Re: Exclude a vlan from IP ROUTING layer 3 switch

JasonWhitehead wrote:

The vlans I want to exclude only need to talk to the devices on the same VLAN and use the internet out of the default route

Jason

Well then yes, ACLs are the way to go eg.

vlan 10 is one of your isolated vlans = 192.168.10.0/24

vlan 5, 6, 7 are vlans you don't want vlan 10 communicating with

access-list 101 deny ip 192.168.10.0 0.0.0.255

access-list 101 deny ip 192.168.10.0 0.0.0.255

access-list 101 deny ip 192.168.10.0 0.0.0.255

access-list 101 permit ip 192.168.10.0 0.0.0.255 any  <-- this line for internet access

int vlan 10

ip access-group 101 in

Jon

New Member

Re: Exclude a vlan from IP ROUTING layer 3 switch

Thank you so much, It is ridiculous how fast the respond time is on these forums, nothing but help here

718
Views
0
Helpful
4
Replies