07-26-2019 05:53 PM
I have a 3750 IOS switch running 12.2
VLAN 10
ip address 192.168.10.1 255.255.255.0
I want to allow the following IP's to talk to each other but block them from talking to any other IP in the VLAN - there are about 50 servers in the VLAN.
192.168.10.40
192.168.10.155
192.168.10.231
Thank you
Solved! Go to Solution.
07-27-2019 02:08 AM
Hello,
I have come up with the VACL below. Since you probably want to the hosts and the rest of Vlan 10 to access other servers within teh Vlan, as well as outside networks, the lines after the three permit statements have been added to circumvent the implicit 'deny all' at the end of the access list:
ip access-list extended VLAN_10_ACCESS
permit ip host 192.168.10.40 host 192.168.10.155
permit ip host 192.168.10.40 host 192.168.10.231
permit ip host 192.168.10.155 host 192.168.10.231
deny ip 192.168.10.0 0.0.0.255 host 192.168.10.40
deny ip 192.168.10.0 0.0.0.255 host 192.168.10.155
deny ip 192.168.10.0 0.0.0.255 host 192.168.10.231
permit ip 192.168.10.0 0.0.0.255 any
!
vlan access-map VACL_BLOCK 10
match ip address VLAN_10_ACCESS
action forward
!
vlan filter VACL_BLOCK vlan-list 10
07-26-2019 07:40 PM - edited 07-26-2019 07:50 PM
Hi @lukesmiller ,
In this case, I recommend that you leave those IPs on a different vlan than the other devices and apply an ACL to deny access to that vlan.
Regards
07-27-2019 01:29 AM
You can start with VLAN ACL (VACL)
below guide to start with :
https://networklessons.com/cisco/ccie-routing-switching/vlan-access-list-vacl
07-27-2019 02:08 AM
Hello,
I have come up with the VACL below. Since you probably want to the hosts and the rest of Vlan 10 to access other servers within teh Vlan, as well as outside networks, the lines after the three permit statements have been added to circumvent the implicit 'deny all' at the end of the access list:
ip access-list extended VLAN_10_ACCESS
permit ip host 192.168.10.40 host 192.168.10.155
permit ip host 192.168.10.40 host 192.168.10.231
permit ip host 192.168.10.155 host 192.168.10.231
deny ip 192.168.10.0 0.0.0.255 host 192.168.10.40
deny ip 192.168.10.0 0.0.0.255 host 192.168.10.155
deny ip 192.168.10.0 0.0.0.255 host 192.168.10.231
permit ip 192.168.10.0 0.0.0.255 any
!
vlan access-map VACL_BLOCK 10
match ip address VLAN_10_ACCESS
action forward
!
vlan filter VACL_BLOCK vlan-list 10
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