











CompTIA
Exam Vouchers
Save money on CompTIA exams
| Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
| TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more | * ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i Online practice tests
Certification sites Online university Online college Online education Distance learning Software forum Server administration forum Programming resources
|
|  |
rjingra
Junior Member M
Registered: Oct 2002 Location: Baltimore Country: United States State: Certifications: Working on: CCNA
Total Posts: 6
|
|
Access-List help
HELP!!! I've been chasing this problem on the Cisco ESIM disk for 2 days... I need to create an acl for activity 8 that would deny Telnet from a subnet but permit Ping. I seem to be able to prevent the pings, but Telnet from this router is never denied... Would this work?
e0 goes to the subnet 221.71.12.1
s1 goes out to other routers 195.121.23.1
access 10 deny tcp 221.71.12.1 0.0.0.255 eq telnet
router#(config)int e0
router#(config int)ip access-group 10 in
access list 9 permit ip any any eq echo
router#(config)int s1
router#(config int)ip access-group 9
What am I missing? Thanks!
Last edited by rjingra on 01-29-03 at 05:21 PM
Report this post to a moderator
|
|
01-29-03 05:16 PM
|
|
edmonds_robert
Senior Member M

Registered: Sep 2002 Location: Country: United States State: Certifications: MCSE, CCNA, CCA Working on: CCNP, MCSE 2000, Linux+, Playstation 2+
Total Posts: 367
|
|
You missed:
access-list 9 deny any any
That's the line that's implied at the end of the access list. Try the following access list.
access-list 100 deny tcp 221.71.12.0 0.0.0.255 any eq telnet
access-list 100 permit icmp any any
It needs to be an extended access list to specify both source and destination and protocol.
__________________
Save the animals. Eat a vegetarian.
Report this post to a moderator
|
|
01-29-03 05:34 PM
|
|
babu75
Senior Member M
Registered: Dec 2002 Location: Country: United States State: GA Certifications: NET+,CCNA,CCDA,MCP(210,215) Working on: CCNP,MCSA
Total Posts: 109
|
|
well, i don't have a clear picture of the network in question, but this guidelines may be of help..
-you will have to use extended access-list(100-199) to be able to deny certain services(telnet) and allow others.
-from your explanation, i think the source will be network 221.71.12.0,which you deny them to telnet into what destination??(...)
-place the list(extended) close to the source as possible.
-you should have at least one permit statement, or you might as well shut the interface down(intrinsic deny).
now with that in mind, it should look close to this:-
access-list 110 deny tcp 221.71.12.0 0.0.0.255 [destination, mask] eq telnet(23)
access-list 110 ip permit any any
then you apply this at the interface-level;
router(config-if)# ip access-group 110 out
hope that helps!!!!!
Report this post to a moderator
|
|
01-29-03 06:14 PM
|
|
rjingra
Junior Member M
Registered: Oct 2002 Location: Baltimore Country: United States State: Certifications: Working on: CCNA
Total Posts: 6
|
|
Thanks guys for all of your help. What I'm working on is the Cisco Press CCNA Router & Switch eSIM disk, Scenario 1/Activity 8 where you have this network set up and can ping & telnet between the 5 routers and 10 hosts that are attached.
Router A
e0 = 221.71.1.1
Hosts 221.71.1.2
221.71.1.3
e1 = 221.71.28.1
Hosts 221.72.28.2
221.72.28.3
s0 = 221.71.6.1
Router b
s1 = 221.71.6.2
e0 = 221.71.12.1
Hosts 221.71.12.2
221.71.12.3
This pretty much illustrates the setup
and the question was asking to set up an access-list that would prevent telnet from the 221.71.12.1 subnet but allow ping. It was the software that wouldn't accept the standard protocol commands by only giving me the option of ip, tcp, & udp, so each time i would type icmp permit... it would error out.
I ended up using the following syntax to get it to work.. (with the assistance of both of you guys)...
access-list 101 deny tcp 221.71.12.1 0.0.0.255 any eq telnet
access-list 101 permit ip any any
int e0
ip access-group 101 in
and after nearly 3 days it finally worked! Thanks a million guys! 
Report this post to a moderator
|
|
01-31-03 07:03 PM
|
|
|
Click here for list of CCNA study
guides
Cisco exam notes
CCNA(tm) exam details
Forum Rules: Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON. |
|
ExamNotes forum archive
|