Network Troubleshooting

An ACL lists line 10: deny ip 10.1.1.0/24 any, then line 20: permit tcp host 10.1.1.50 any eq 443. Host 10.1.1.50 cannot browse HTTPS. What fixes it?

Show the answer

Correct answerB. Move the permit rule above the deny rule

AWhy not this: An explicit deny at the end changes nothing, because the host's traffic is already matched by line 10.

BWhy this is right: The first match wins, so the specific permit must come before the broader deny that currently catches the host.

CWhy not this: Changing VLANs works around the ACL rather than fixing its rule order, and may break the host's addressing.

DWhy not this: Any rule placed below line 10 is still shadowed, because the host's traffic is denied first.

ACLs stop at the first matching rule, so the broad deny on line 10 catches the host before the permit is reached. Placing the more specific permit first lets the host's HTTPS match it. Rules added below the deny are never reached.