Avatar of MIT-Techs
MIT-Techs
Flag for United States of America asked on

Create an ACL for a VLAN

I have an issue where I need to create an access list for a vlan. I assumed this was the same as any other ACL, but it looks like I am wrong.

I created VLAN 410 on a C3750 with an IP Address of 192.168.52.1 255.255.255.252

I need to make sure only a single IP address can send or receive on this VLAN.
How would I make this happen?
ExchangeRouters

Avatar of undefined
Last Comment
Don Johnston

8/22/2022 - Mon
neilpage99

Here's a crude example:

interface vlan 410
ip address 10.1.0.1 255.255.255.0
ip access-group BAN_VLAN_2 in
!
interface vlan 2
ip address 10.2.0.1 255.255.255.0
!
interface vlan 3
ip address 10.3.0.1 255.255.255.0
ip access-group BAN_VLAN_2 in
!
ip access-list extended BAN_VLAN_2
permit ip host 10.2.0.45 any
deny ip 10.2.0.0 0.0.0.255 any

Open in new window

ASKER CERTIFIED SOLUTION
Don Johnston

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck