cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
522
Views
0
Helpful
5
Replies

Weird ACL issue

droeun141
Level 1
Level 1

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

Jitendriya Athavale
Cisco Employee
Cisco Employee

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

View solution in original post

5 Replies 5

rahgovin
Level 4
Level 4

Jitendriya Athavale
Cisco Employee
Cisco Employee

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

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

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

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