02-08-2008 04:15 PM - edited 03-03-2019 08:38 PM
Hi seniors, On production router,I want to deny three hosts
1.10.5.9.7/24
2.10.5.10.7/24
3.10.5.11.7/24
What is your suggession
a.Should use separate access-list for three
b.Should combine (& how)
Best Regards, Tahir
02-08-2008 07:08 PM
Hi Tahir,
You can try the following access-list:
access-list 1 deny 10.5.8.7 0.0.3.0
This will only deny the mentioned 3 hosts.
Cheers:
Istvan
02-08-2008 07:32 PM
Sorry Tahir,
I'm sleepy...
access-list 1 deny 10.5.8.7 0.0.3.0
access-list 1 permit any any
This will also deny host 10.5.8.7 /24, but from your post I assume you don't have that subnet at all.
Cheers:
Istvan
02-08-2008 07:54 PM
Oh, this is incredible !
I really have to go to sleep now :)
access-list 1 deny 10.5.8.7 0.0.3.0
access-list 1 permit any
I typed too many "any"s.
Thanks:
Istvan
02-09-2008 05:02 AM
Hi Tahir,
I suggest to use 3 separate ACLs, assumed that the subnet 10.5.8.0 is used in network. Otherwise use combined ACLS as suggested by Istvan. But in this case one subnet will be wasted.
Thanks..
*aijaz*
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide