| Author |
Block Uper half 2 ports
|
|
|
| Could someone show me how to block the uper half of a subnet to 2 ports
Router B eo 172.17.12.66 s0 172.17.15.1 sm 255.255.255.192
Router A s0 172.17.15.2 e0 172.17.2.128
I want to block the host 160 through 190 from telneting to both the s0 and e0 ports on router B I want to let host 129-159 get through.
| |
|
| The question about blocking the upper/lower half of a subnet was answered in great detail a few days back. If you want to apply access list xxx to two ports, do a "ip access-group xxx" on each port.
Cheers!
| |
|
| quote: Originally posted by Bear:
Could someone show me how to block the uper half of a subnet to 2 ports
Router B eo 172.17.12.66 s0 172.17.15.1 sm 255.255.255.192
Router A s0 172.17.15.2 e0 172.17.2.128
I want to block the host 160 through 190 from telneting to both the s0 and e0 ports on router B I want to let host 129-159 get through.
dmaftei
Would you please email me your response
I can not see it on the web site
I am real desprate for this info
my email is jhenley@esc11.net
thanks
| |
|
|
|
| Could some please show me the steps. I could not get it to work putting ip access-group 101 in on 2 ports.
| |
|
| Show us the "access-list 101" you're using.
The hosts you want to deny/permit are 172.17.2.168 - 172.17.2.190, and 172.17.2.129 - 172.17.2.159 (i.e., hosts attached to eth0 on router A), respectively, right?
Finally, why on earth do you need to do this deny upper half, permit lower half stuff?!
[This message has been edited by dmaftei (edited 01-26-2001).] | |
|
| quote: Originally posted by dmaftei:
Show us the "access-list 101" you're using.
The hosts you want to deny/permit are 172.17.2.168 - 172.17.2.190, and 172.17.2.129 - 172.17.2.159 (i.e., hosts attached to eth0 on router A), respectively, right?
yes this correct
access-list 101 deny tcp 171.17.2.160 0.0.0.31 171.17.15.1.0 not sure after this
Finally, why on earth do you need to do this deny upper half, permit lower half stuff?!
[This message has been edited by dmaftei (edited 01-26-2001).]
| |
|
| Practicing quoting?!  | |
|
| quote: Originally posted by Bear:
Could someone show me how to block the uper half of a subnet to 2 ports
Router B eo 172.17.12.66 s0 172.17.15.1 sm 255.255.255.192
Router A s0 172.17.15.2 e0 172.17.2.128
I want to block the host 160 through 190 from telneting to both the s0 and e0 ports on router B I want to let host 129-159 get through.
I guess I'm doing this as an intellectual exercise, because you certainly don't cooperate to solve your own problem...
You can do this on router A:
access-list 199 deny tcp 172.17.2.160 0.0.0.31 host 172.17.12.66 eq 23
access-list 199 deny tcp 172.17.2.160 0.0.0.31 host 172.17.15.1 eq 23
access-list 199 permit ip any any
Next you apply access list 199 on eth0 inbound (best):
int eth0
ip access-group 199 in
OR on ser0 outbound:
int ser0
ip access-group 199 out
You can also do it on router B: configure the same access list and apply it inbound on ser0
Cheers!
| |
|
| [QUOTE]Originally posted by dmaftei:
I guess I'm doing this as an intellectual exercise, because you certainly don't cooperate to solve your own problem...
You can do this on router A:
access-list 199 deny tcp 172.17.2.160 0.0.0.31 host 172.17.12.66 eq 23
access-list 199 deny tcp 172.17.2.160 0.0.0.31 host 172.17.15.1 eq 23
access-list 199 permit ip any any
Next you apply access list 199 on eth0 inbound (best):
int eth0
ip access-group 199 in
OR on ser0 outbound:
int ser0
ip access-group 199 out
You can also do it on router B: configure the same access list and apply it inbound on ser0
Cheers![/Q
that bocked evry thing I need to block 160-190 and let 129-159 get in | |
|
| [QUOTE]Originally posted by dmaftei:
I guess I'm doing this as an intellectual exercise, because you certainly don't cooperate to solve your own problem...
You can do this on router A:
access-list 199 deny tcp 172.17.2.160 0.0.0.31 host 172.17.12.66 eq 23
access-list 199 deny tcp 172.17.2.160 0.0.0.31 host 172.17.15.1 eq 23
access-list 199 permit ip any any
Next you apply access list 199 on eth0 inbound (best):
int eth0
ip access-group 199 in
OR on ser0 outbound:
int ser0
ip access-group 199 out
You can also do it on router B: configure the same access list and apply it inbound on ser0
Cheers
[This message has been edited by dmaftei (edited 01-26-2001).] | |
|
| Don't these threads ever crawl off and die?!?!
Bad thread. Bad BAD thread!
MadChef | |
|
| quote: Originally posted by MadChef:
Don't these threads ever crawl off and die?!?!
Bad thread. Bad BAD thread!
MadChef
I got a page requesting an emergency lobotomy on this thread. Just one small slip of the scalpel ......
doctorkevork ... oops
doctorcisco
------------------
Silicon is made from sand; nothing made from sand is allowed to wreck my day! |
|
|
|