Hi guys,
Re Cisco lab manual for SWITCH - Lab 6-3
They ask "Configure the network so that the temporary staff host cannot access the rest of the staff VLAN, yet still beable to use the default gateway of the staff subnet to connect to the rest of the network and the ISP."
Based on the provided configuration my host wasn't able to ping 172.16.100.1 (gateway) until I added this line to the top of the temp-host ACL:
5 deny ip host 172.16.100.150 host 172.16.100.1
The question's configuration is:
DLS1(config)# ip access-list extended temp-host
DLS1(config-ext-nacl)# permit ip host 172.16.100.150 172.16.100.0 0.0.0.255
DLS1(config)# vlan access-map block-temp 10
DLS1(config-access-map)# match ip address temp-host
DLS1(config-access-map)# action drop
DLS1(config-access-map)# vlan access-map block-temp 20
DLS1(config-access-map)# action forward
DLS1(config-access-map)# exit
DLS1(config)# vlan filter block-temp vlan-list 100
This config alone blocks all ip traffic from 172.16.100.150. When I add sequence 5 it works.
Did I miss something or did they miss what I later added? (Full question attached)
Attachment not found.