IOS confusing ACL questions?

IOS confusing ACL questions?

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
IOS confusing ACL questions? Michael Letchworth 06-13-2008
Posted by Michael Letchworth on June 13, 2008, 10:50 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
All my question are on a 6500 switch running IOS.

Can you put an access list on any interface whether it has an IP or not?
Does it matter is the port is in access or routing mode?

Another thing that confusses me whether it you apply the acl in or out?
Lets say I have several vlans but I dont want this particular vlan to
access another vlan except for port 80. Do I block the all ip except
port 80 going into my interface or block it going out of the vlan.


Another problem I have is what if I have a vlan will all my servers on
and 10 other with workstations and printers. I only want to allow port
445,135-7 to the servers vlan but I want the servers vlan full ip access
to the workstations an printers. Do I put the acl on the outbound of the
servers vlan or the acl on the inbound?


Last
What will the IOS with firewall feature give over the standard ios?

Thanks

Spring Sale Save 20% Banner - Sale Ended 5/3/07 So Updated to NonPromo Ad
Posted by Peter on June 14, 2008, 4:40 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi Michael,

> Can you put an access list on any interface whether it has an IP or not?

Yes, however be aware that it can depend on what TYPE of ACL you want
to use, some are restricted to the mode of use of the interface. EG a
MAC ACL (IE 7xx) only works on interfaces in Layer 2 mode (that CANNOT
have an IP). However a Layer 3 ACL will work on a Layer 3 interface
regardless of it being unnumbered or not.


> Does it matter is the port is in access or routing mode?

No.

> Another thing that confusses me whether it you apply the acl in or out?

While either works, the generally accepted practise is to apply an ACL
INBOUND on an interface. This means that the CPU/chipset only ever
gets to see data that is wanted, and not data that is later dropped.
HOWEVER see the following 2 replies!

> Lets say I have several vlans but I dont want this particular vlan to
> access another vlan except for port 80. Do I block the all ip except
> port 80 going into my interface or block it going out of the vlan.

If the ACL is to apply to multiple interfaces that are all members of
a single VLAN, then put the ACL on the VLAN. Less ACL application
points is better than multiple ACL application points.

> Another problem I have is what if I have a vlan will all my servers on
> and 10 other with workstations and printers. I only want to allow port
> 445,135-7 to the servers vlan but I want the servers vlan full ip access
> to the workstations an printers. Do I put the acl on the outbound of the
> servers vlan or the acl on the inbound?

The key here is the part that reads -
        I only want to allow port 445,135-7 to the servers vlan
In this case I would apply the ACL OUTBOUND on the Server VLAN. This
ensures all workstation VLANS are handled regardless on which SOURCE
VLANS are used. Then you need to ensure this is exactly what you
want....;-)

> Last
> What will the IOS with firewall feature give over the standard ios?

Firewall IOS looks more towards general Network use than pure data
packets. IE its rules apply to a particular conversation. It used to
be called CBAC - Context Based Access Control, which I thought
describes what it does quite well. It applies a set of logical data
flow rules around a conversation between 2 points, so it needs to know
how specific protocols work. and allows you to provide limitations to
that TYPE of traffic to try and ensure that flow is valid and follows
expectations. My feeling is that its more designed to catch UNNATURAL
or irregular conversations, rather than specific issues as such. I
would definitely NOT use Firewall IOS as a full featured Firewall, it
is not designed for that.

Cheers................pk.

--
Peter from Auckland.

Posted by Michael Letchworth on June 15, 2008, 1:09 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Thank!, few more questions.

Peter wrote:
> Hi Michael,
>
>> Can you put an access list on any interface whether it has an IP or not?
>
> Yes, however be aware that it can depend on what TYPE of ACL you want
> to use, some are restricted to the mode of use of the interface. EG a
> MAC ACL (IE 7xx) only works on interfaces in Layer 2 mode (that CANNOT
> have an IP). However a Layer 3 ACL will work on a Layer 3 interface
> regardless of it being unnumbered or not.

So if I have an interface trunking vlans, can I apply an ACL on it?
Basically I have a 6500 as our core switch that connects all our
building together then this trunked interface connects to our server
switch (Exterme). I'd rather keep all the acl's in the cisco.
>
>
>> Does it matter is the port is in access or routing mode?
>
> No.
>
>> Another thing that confusses me whether it you apply the acl in or out?
>
> While either works, the generally accepted practise is to apply an ACL
> INBOUND on an interface. This means that the CPU/chipset only ever
> gets to see data that is wanted, and not data that is later dropped.
> HOWEVER see the following 2 replies!
>
>> Lets say I have several vlans but I dont want this particular vlan to
>> access another vlan except for port 80. Do I block the all ip except
>> port 80 going into my interface or block it going out of the vlan.
>
> If the ACL is to apply to multiple interfaces that are all members of
> a single VLAN, then put the ACL on the VLAN. Less ACL application
> points is better than multiple ACL application points.
>
>> Another problem I have is what if I have a vlan will all my servers on
>> and 10 other with workstations and printers. I only want to allow port
>> 445,135-7 to the servers vlan but I want the servers vlan full ip access
>> to the workstations an printers. Do I put the acl on the outbound of the
>> servers vlan or the acl on the inbound?
>
> The key here is the part that reads -
>         I only want to allow port 445,135-7 to the servers vlan
> In this case I would apply the ACL OUTBOUND on the Server VLAN. This
> ensures all workstation VLANS are handled regardless on which SOURCE
> VLANS are used. Then you need to ensure this is exactly what you
> want....;-)

Just out of curiosity, if a workstation sent a denial of service to the
servers IP on the servers vlan, would it affect the server? If outbound
was blocked on the server vlan does that mean that data is allowed into
the vlan but no return packet?
>
>> Last
>> What will the IOS with firewall feature give over the standard ios?
>
> Firewall IOS looks more towards general Network use than pure data
> packets. IE its rules apply to a particular conversation. It used to
> be called CBAC - Context Based Access Control, which I thought
> describes what it does quite well. It applies a set of logical data
> flow rules around a conversation between 2 points, so it needs to know
> how specific protocols work. and allows you to provide limitations to
> that TYPE of traffic to try and ensure that flow is valid and follows
> expectations. My feeling is that its more designed to catch UNNATURAL
> or irregular conversations, rather than specific issues as such. I
> would definitely NOT use Firewall IOS as a full featured Firewall, it
> is not designed for that.
>
> Cheers................pk.
>

Posted by Peter on June 15, 2008, 6:31 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi Michael,

> So if I have an interface trunking vlans, can I apply an ACL on it?

I have never applied an ACL to a trunk, so I can't quantitively reply,
however as a trunk can be built as either a Layer 2 or layer 3 trunk,
I would assume you could apply an appropriate ACL to that interface.
Personally, I would prefer to place an ACL at the Physical (Layer 2)
level rather than at the Logical (Layer 3) Level for most of the
larger Switch environments (such as a 6500), the H/W is setup to
handle most ACL's which is faster/more efficient than procesing it in
S/W.

> Basically I have a 6500 as our core switch that connects all our
> building together then this trunked interface connects to our server
> switch (Exterme). I'd rather keep all the acl's in the cisco.

As a comparison we use 6500's at each site feeding 3650's for the
workstations. We place most ACL's are on the 6500 interfaces or
VLAN's, while MOST (but not all) lower level stuff like QoS for VoIP
is on the 3650's.

Try prefering to lace ACL's on the devices that can apply your ACL's
IN HARDWARE, rather than in Software. The 3650's and 6500 Port cards
are generally better at doing this than other devices.

> Just out of curiosity, if a workstation sent a denial of service to the
> servers IP on the servers vlan, would it affect the server? If outbound
> was blocked on the server vlan does that mean that data is allowed into
> the vlan but no return packet?

Yes, this is not a good scenario. Generally, you are much better off
killing bad traffic BEFORE it reaches the inbound port and requires
further Network processing, than doing it at the Outbound stage.

Cheers.....................pk.

--
Peter from Auckland.

Similar ThreadsPosted
Confusing with ntp July 25, 2005, 2:27 am
setup on 851W confusing February 12, 2007, 11:49 pm
Confusing VPN issue with 506e April 12, 2007, 7:15 am
NAT questions December 9, 2004, 10:31 am
Questions about PIX 501 October 16, 2005, 7:43 pm
Pix 5xx Questions November 13, 2005, 9:12 am
pix nat questions November 28, 2005, 11:12 pm
Questions on PIX 501 December 3, 2005, 8:25 am
3 PIX VPN questions - FUN FUN FUN March 10, 2006, 4:49 pm
VTP and STP questions. June 14, 2006, 5:20 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map