Results 1 to 4 of 4

Thread: ACL ( Access Control List ) entry allowing tracert and traceroute

  1. #1
    Join Date
    Nov 2008
    Posts
    21

    ACL ( Access Control List ) entry allowing tracert and traceroute

    I have a switch with multiple VLANs on it. Each VLAN has a corresponding ACL ending with the following line:

    deny ip any any log

    I would like to permit tracert and traceroute comands to be executed on the servers that reside on my public VLAN. However, when I execute these commands I can see that their packets are being denied by the ACL on this VLAN. I thought that I would simply add the following line:

    permit icmp any any

    Unfortunately, this does not work as the packets are being dropped.

    The systems that reside on this VLAN are both Microsoft Windows 2003 server and UNIX machines. I have found a post on the internet saying that UNIX and Cisco traceroute send UDP packets and Windows TRACERT sends ICMP. In both cases the returning packets are only ICMP. For TRACERT, you need to add the following to your ACL (before the last entry denying everything, of course):

    permit icmp any any echo-reply

    However, this does not seem to work. Please let me know what do I need to add to my configuration to allow packets of these two commands.
    Thank you,

  2. #2
    Join Date
    May 2008
    Posts
    181

    Re: ACL ( Access Control List ) entry allowing tracert and traceroute

    Are you just adding it to the existing, or are you creating a new, putting in the permit icmp statements up earlier in the ACL, and then having the implicit deny at the end. Sometimes, simply adding lines adds them below the deny and therefore they will not work. That way, you need to create a new ACL (add 1 to the number or something but make sure you are modifying an existing ACL), then modify the acl statement on the vlan to use the new ACL. Let us know how you fare.

  3. #3
    Join Date
    Nov 2008
    Posts
    21

    Re: ACL ( Access Control List ) entry allowing tracert and traceroute

    Yes, I am adding it to an existing ACL. However, I made sure to insert it before the "deny ip any any" statement.

    Thanks,

  4. #4
    Join Date
    May 2008
    Posts
    181

    Re: ACL ( Access Control List ) entry allowing tracert and traceroute

    Quote Originally Posted by Daljeet View Post
    Yes, I am adding it to an existing ACL. However, I made sure to insert it before the "deny ip any any" statement.

    Thanks,
    "permit icmp any any echo-reply" is not the correct thing for your purpose.

    For the replies:-

    unix traceroute needs permit icmp any any time-exceeded ! for the intermediate hops permit icmp any any unreachable ! for the final dest (udp port unreachable is what is required but I am not sure if that can be specified to that level of detail) Windows tracert needs permit icmp any any time-exceeded ! for the intermediate hops permit icmp any any echo-reply ! for the final dest. Above is from memory and details may not be exact. If you change your deny to log the matched packets deny ip any any log you will see the denied packets in the log. I am not sure but it may be that the ICMP packet type and command are logged and you can then look them up.

    failing that :-
    deb ip packet ! BEWARE possible HIGH CPU

    debugs can (and WILL) render routers non-functional you need to be prepared for that or very carefully limit the debug output perhaps with access-lists.

Similar Threads

  1. Allowing particular users to have access- Xp Networking
    By Falynn in forum Technology & Internet
    Replies: 5
    Last Post: 06-10-2011, 03:12 AM
  2. Input tag is not allowing the entry in it
    By Rup_me in forum Software Development
    Replies: 3
    Last Post: 09-12-2009, 05:22 PM
  3. Ie7 not allowing to access certain sites.
    By Humbertu in forum Technology & Internet
    Replies: 3
    Last Post: 16-11-2009, 08:46 PM
  4. Access control list and Virtual Local Area Networks Maps
    By Nobleman in forum Networking & Security
    Replies: 3
    Last Post: 11-11-2008, 05:32 PM
  5. DNS Error not allowing access to internet
    By aileen in forum Windows Vista Network
    Replies: 2
    Last Post: 03-06-2008, 12:01 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,393,767.71449 seconds with 16 queries