Weird ACL issue

Answered Question
Aug 2nd, 2010

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

I have this problem too.
0 votes
Correct Answer by Jitendriya Athavale about 6 years 4 months ago

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

Correct Answer by Rahul Govindan about 6 years 4 months ago
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Jitendriya Athavale Mon, 08/02/2010 - 05:31

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

droeun141 Mon, 08/02/2010 - 05:34

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

b.julin Mon, 08/02/2010 - 07:18

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

Actions

This Discussion