Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Weird ACL issue

Trying to permit everything (via VPN) to 96.0/23 & 25.0/24, but I'm getting a strange output.  Never seen this before - any ideas?

Router(config)#ip access-list ext 150
Router(config-ext-nacl)#permit ip any 155.155.96.0 255.255.254.0
Router(config-ext-nacl)#permit ip any 155.155.25.0 255.255.255.0

But output shows:


access-list 150 permit ip any 0.0.0.0 255.255.254.0
access-list 150 permit ip any 0.0.0.0 255.255.255.0

2 ACCEPTED SOLUTIONS

Accepted Solutions
Silver

Re: Weird ACL issue

Cisco Employee

Re: Weird ACL issue

oop's

you should use wildcard mask in routers

try this

Router(config)#ip access-list ext 150
Router(config-ext-nacl)#permit ip any 155.155.96.0 0.0.1.255
Router(config-ext-nacl)#permit ip any 155.155.25.0 0.0.0.255

5 REPLIES
Silver

Re: Weird ACL issue

Cisco Employee

Re: Weird ACL issue

oop's

you should use wildcard mask in routers

try this

Router(config)#ip access-list ext 150
Router(config-ext-nacl)#permit ip any 155.155.96.0 0.0.1.255
Router(config-ext-nacl)#permit ip any 155.155.25.0 0.0.0.255

New Member

Re: Weird ACL issue

I officially feel retarded.  Can't believe I overlooked that one, thanks guys.

Cisco Employee

Re: Weird ACL issue

everyone gets caught in this thing at one point of time or other

New Member

Re: Weird ACL issue

You may be spending to much time on Cisco routers if:

1) You try to "enab" instead of "su" on a UNIX box

2) ps aux | include myprocess

3) ifconfig eth0 10.10.10.1 netmask 0.0.255.255

167
Views
0
Helpful
5
Replies