homerj742 wrote: I thought "out" meant outbound traffic, meaning traffice leaving the network. I thought "in" meant inbound traffic, meaning traffic entering the network.
BubbaJ wrote: homerj742 wrote: I thought "out" meant outbound traffic, meaning traffice leaving the network. I thought "in" meant inbound traffic, meaning traffic entering the network. No. You have to think like the router. In and out are from the routers perspective. In is into the router, and out is leaving the router.
homerj742 wrote: So I want to prevent traffic from 192.168.2.4, I would have to apply the ACL as "out"?
homerj742 wrote: makes alot more sense now. Thank you so much for your help
mwgood wrote: Also, think about it from the perspective of the interface you are applying the ACL to...
BubbaJ wrote: mwgood wrote: Also, think about it from the perspective of the interface you are applying the ACL to... Always, always, think like the router.
Webmaster wrote: mwgood is correct, especially considering he said "also". Access lists are usually bound to an interface, and the in/out refers to what goes in or out the interface you bind the access list to, not the entire router.
Webmaster wrote: Sure, hence "especially considering he said "also"." Nobody set 'first', just 'also'.
BubbaJ wrote: I think you are trying to start a controversy where none exists. He said to consider it from the interface's perspective.
Ah, but you have to think like the router in order to decide on which interface to place the access list, and then you will know if it needs to be inbound or outbound. Deciding on the interface first is putting the cart before the horse. If you think like the router, you will know what the router will do.
Webmaster wrote: To which I replied "Sure, hence "especially considering he said "also"." Nobody set 'first', just 'also'." Meaning: "Sure, you are right, I agree you have to look at the router first, that is why I mentioned the mwgood is correct especially considering he said "also"." I never disagreed with you, I was just underlining that mwgood is correct in saying "also look at the interfaces".
Always, always, think like the router.
mwgood is correct, especially considering he said "also". Access lists are usually bound to an interface, and the in/out refers to what goes in or out the interface you bind the access list to, not the entire router.
BubbaJ wrote: I think you are misunderstanding me. The interface is part of the router so it is not also or second. My point is that the interface perspective is no different than the router perspective..
mwgood wrote: If you only considered the router, that would not give you any information about whether to apply the access list inbound or outbound. You must also consider which interface you will be binding to.
mwgood wrote: The "interface perspective" IS different than the "router perspective." Which means it is an "also..."
mwgood wrote: The reason is that if you take a particular access list - when deciding which direction to apply the access group - you need to consider which interface it is being applied to. If you only considered the router, that would not give you any information about whether to apply the access list inbound or outbound. You must also consider which interface you will be binding to.
forbesl wrote: Wow...such controversy over something so simple: Applying the access-group as "in" applies to traffic going into the router interface. Applying the access-group as "out" applies to traffic going out of the router interface.
I really didn't realize there was a controversy at first. I wanted to make sure that the original poster wasn't confused after he thought he got it. The simple in and out may be able to used when there are only two router interfaces, but multi-interface routers require you to "grok" the entire router. Blindly doing it on an interface-only level can result in unexpected, unintended consequences. For example, an outbound list may really need to be inbound if there is another router on the outbound side because it may cause your routing protocol to break. Things like this are why I feel you always need to do it from the router's perspective.
wildfire wrote: The rule of thumb I use is place it as close to the source as possbile, so the first decision I make is which interface it will be applied to. You seem to be overcomplicating the matter, the "simple in and out" can be used in any situation.
wildfire wrote: I dont think from a router persepctive but zoom out and look at the overall picture then decide where and which direction to apply the interface, thats not blindly doing it, thats carefull planning and design!
Danman32 wrote: So boys, both of you are correct. Please stop arguing.