ottathom
Instructor
- Jun 12, 2004
- 3
Hey Folks,
I have four 2501s and two 1924s connected. I have S0 on RouterA to S0 on RouterB, S1 on RouterB to S0 on RouterC, and S1 on RouterC to S0 on RouterD. E0 on RouterA is connected to a switch and E0 on RouterB is connected to a switch. The configuration is as follows:
RouterA
E0 is 151.10.10.1 255.255.255.0
S0 is 151.10.20.1 255.255.255.0
RouterB
E0 is 151.10.30.1 255.255.255.0
S0 is 151.10.20.2 255.255.255.0
S1 is 151.10.40.1 255.255.255.0
The rest don't matter. I go into RouterA and set up an access list that says:
access-list 1 deny 151.10.30.2 0.0.0.255
and apply it to the out side of S0:
ip access-group 10 out
That should block access from RouterA to the switch connected to RouterB shouldn't it??? I can ping 151.10.30.1, or .2, or .0 for that matter and always get through. I've tried using 255.255.255.0 for the wildcard/mask but nothing changed. Where am I going wrong?
Thanks in advance for any hints.
I have four 2501s and two 1924s connected. I have S0 on RouterA to S0 on RouterB, S1 on RouterB to S0 on RouterC, and S1 on RouterC to S0 on RouterD. E0 on RouterA is connected to a switch and E0 on RouterB is connected to a switch. The configuration is as follows:
RouterA
E0 is 151.10.10.1 255.255.255.0
S0 is 151.10.20.1 255.255.255.0
RouterB
E0 is 151.10.30.1 255.255.255.0
S0 is 151.10.20.2 255.255.255.0
S1 is 151.10.40.1 255.255.255.0
The rest don't matter. I go into RouterA and set up an access list that says:
access-list 1 deny 151.10.30.2 0.0.0.255
and apply it to the out side of S0:
ip access-group 10 out
That should block access from RouterA to the switch connected to RouterB shouldn't it??? I can ping 151.10.30.1, or .2, or .0 for that matter and always get through. I've tried using 255.255.255.0 for the wildcard/mask but nothing changed. Where am I going wrong?
Thanks in advance for any hints.