04-10-2006 07:28 AM - edited 03-03-2019 02:44 AM
interface vlan 5
ip address 192.168.1.1 255.255.255.255
ip access-group 101 in
ip access-group 102 out
interface vlan 6
ip address 10.2.1.1 255.255.255.0
access-list 101 permit ip 192.168.1.0 255.255.255.0 10.2.1.0 255.255.255.0
access-list 102 permit 10.2.1.0 255.255.255.0 192.168.1.0 255.255.255.0
which means 101 says that vlan 5 will permit vlan 6 inside & 102 says that vlan 5 will reach vlan 6 out
can i use in this mannaer
access-list 101 10.2.1.0 0.0.0.255
access-list 102 192.168.1.0 0.0.0.255
is that the same?
04-10-2006 07:37 AM
I suppose you are referring to standard ACLs, in which case the ACL number has to be below 100 (1 through 99).
The standard ACL only checks against the source address, whereas the extended ACL (100 through 199)checks both the source and destination. Extnded ACL is a lot more powerful since it allows to specify the protocol, source and destination protocol ports, etc. etc.
Hope this helps,
04-10-2006 07:42 AM
thanks hritter, my doubts got cleared, also can i use "n" number of access-list in my router or does it hav eany limitation if i use Extended ACL or Standard ACL, already i have created ACL nearly 100 lines, so will it permit more than that also?
04-10-2006 10:59 AM
100 lines is quite conservative compared to what I have seen being used by some customers in the past.
Hope this helps,
04-11-2006 12:15 AM
Thanks for clearing my doubts hritter
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