new context, was not able to add an acl

Started by GeorgeS, March 17, 2016, 05:10:00 PM

Previous topic - Next topic

GeorgeS

Well today i had a big project where i was configuring a new context +++, i will stick in the fw as i had the following issue. I put the basic config and then i added 1 acl for 1 zone, acl was assigned to the interface properly also. Then i tried to add the 2nd acl for a 2nd zone but i was getting an error like do not mix acl or whatever. I am sorry that i do not remember the error i will check tomorrow and i will post it here but after 12 hours of work my brain was like agrhhhhh. To sum up, i was so frustrated and for 90 minutes i was struggling, i was not able to add any acl there just remarks!!! I tried from asdm the same.

So i decided to delete the context and i followed the same steps!!! It worked as it was supposed to. Has anyone seen a similar behavior? First time i have seen it.

deanwebb

Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

GeorgeS

this was the error

ERROR: Cannot mix different types of access lists

@Dean is an ASA 5585, version 9.3

deanwebb

Did the ACL mix TCP and UDP ports? If they're all together in a service group, that should not be a problem. But if they're in separate groups, then they need to be in separate rules... or have the groups added to a service group.
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

GeorgeS

actually the first rule was permit icmp any4 any4 group-icmp
where in the group icmp i have the echo/reply/unreachable and exceeded

i even tried later adding a permit ip host host

no luck :D
so i deleted the context + the configuration file , followed the same steps and everything worked like charm :)

deanwebb

Honestly, I don't do a lot with contexts. Deleting them sounds like the right way to go.
:problem?:
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.