- Aug 21, 2002
- 18,368
- 11
- 81
I'm learning about ACL's in one of my classes right now. I think I understand the concept but I'm not able to configure a pair of routers and a pair of workstations so that it works correctly.
All I'm trying to do is make it so only workstation 1 (172.16.16.10) and workstation 2 (172.16.64.10) can ping eachother and nothing else.
So what I'm doing is this...
Router 1
(global config mode) access-list 100 permit icmp 172.16.64.10 0.0.0.0 172.16.16.10 0.0.0.0
then for the serial interface
(interface mode) ip access-group 100 in
Router 2
(global config mode) access-list 100 permit icmp 172.16.16.10 0.0.0.0 172.16.64.10 0.0.0.0
then for the serial interface
(interface mode) ip access-group 100 in
So... Router 1 should permit all incoming icmp traffic from 172.16.64.10 to 172.16.16.10 and deny all other inbound icmp traffic, but allow all outgoing icmp traffic, correct?
And... Router 2 should permit alll incoming icmp traffic from 172.16.16.10 to 172.16.64.10 and deny all other inbound icmp traffic, but allow all outgoing icmp traffic, correct?
Or does the implicit deny somehow get applied to outgoing icmp traffic even though I haven't set up an access group for outbound traffic?
Network Diagram
All I'm trying to do is make it so only workstation 1 (172.16.16.10) and workstation 2 (172.16.64.10) can ping eachother and nothing else.
So what I'm doing is this...
Router 1
(global config mode) access-list 100 permit icmp 172.16.64.10 0.0.0.0 172.16.16.10 0.0.0.0
then for the serial interface
(interface mode) ip access-group 100 in
Router 2
(global config mode) access-list 100 permit icmp 172.16.16.10 0.0.0.0 172.16.64.10 0.0.0.0
then for the serial interface
(interface mode) ip access-group 100 in
So... Router 1 should permit all incoming icmp traffic from 172.16.64.10 to 172.16.16.10 and deny all other inbound icmp traffic, but allow all outgoing icmp traffic, correct?
And... Router 2 should permit alll incoming icmp traffic from 172.16.16.10 to 172.16.64.10 and deny all other inbound icmp traffic, but allow all outgoing icmp traffic, correct?
Or does the implicit deny somehow get applied to outgoing icmp traffic even though I haven't set up an access group for outbound traffic?
Network Diagram