?
Solved

ACL question

Posted on 2003-10-28
2
Medium Priority
?
201 Views
Last Modified: 2011-08-18
Hi guys,

Whats the differnce between ip access-group 101 in and ip access-group 101 out?

Cheers,
Blue Print
0
Comment
Question by:blueprint123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Accepted Solution

by:
td_miles earned 150 total points
ID: 9638766
"in" applies the access list to traffic "entering" the interface from an external source
"out" applies the access list to traffic leaving the interface from your router

as an example, if you have the access list:

access-list 101 permit ip w.x.y.z any
access-list 101 deny ip any any

==========
you could then apply this:
interface ethernet0
  ip access-group 101 in

which would permit any traffic from the device w.x.y.z that is connected to the ethernet0 interface (eg. via a switch) to enter the ethernet0 interface of the router. All other traffic would be denied.
==========
if you applied it:
interface ethernet0
  ip access-group 101 out

it would allow any traffic that was from the device w.x.y.z to LEAVE the ethernet0 interface. This traffic would have to be either generated locally by the router, or have entered the router from another interface and have been routed to ethernet0.
==========

In summary, think of the "in" and "out" in relation to the viewpoint of that router interface and an external device. If the external device is sending traffic to the router, then the traffic is "inbound". If the router is sending traffic to the other device, then the traffic is "outbound".

0
 
LVL 7

Expert Comment

by:NicBrey
ID: 9639932
Just to add to td_miles comment:
Outgoing  ACL's  do not apply to traffic generated by the router itself. So, if you deny outgoing ICMP for example, you would still be able tto ping from the router console.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question