cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
183
Views
0
Helpful
1
Replies

Another basic ACL question

b.withrow
Level 1
Level 1

Somebody please help me understand the concept:

I have VLAN500 on a 6509, with a network of 172.17.x.x and I want to apply an extended ACL to allow any host on that VLAN to telnet to a host on VLAN 600 (network 17.16.x.x). So I created the following ACL

Extended IP access list VLAN500

permit tcp any host 172.16.8.53 eq telnet

and added this line to the VLAN500 interface:

ip access-group VLAN500 out

And it didn't work, until I changed the interface statement to:

ip access-group VLAN500 in

And it really doesn't make sense to me that I would have to apply it in. Why wouldn't I apply it out since any host on the local VLAN can telnet out to a host on another VLAN? If anyone can explain this to me, it would be appreciated. Thanks in adavance.

1 Reply 1

rwiesmann
Level 4
Level 4

Hi

The concept is that the packets are checked to the ACL based on how they

travel and as if you would sit on the router. So if you have an ACL in on a VLAN the packets will be checked whene they come from this vlan.

So if you like to have the ACL out you have to change the statements in the ACL

as following:

Extended IP access list VLAN500

permit tcp 172.16.8.53 eq telnet any

Hope that helps you.

Roger

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: