Allow 172.17.2.64 0.0.0.63 to telnet, or deny 172.17.2.96 0.0.0.63...
You are simply shifting 1 more bit to the right in the netmask... Whenever we
are dealing with Half of a subnet range, we can simply shift 1 bit in the subnet
mask. Your access-list is not aware of what the real subnet is. It only cares
about matching cases in your rule-set.
You have a subnet, 172.17.2.64, with a /26 mask. To half it, simply add a bit
to the mask, making it /27. From there, determine the inverse mask, computing
the value of the remaining 5 bits (The last octet os now 1110 0000), and you
have your wildcard.
Hope this helps...
Alan~
----- Original Message -----
From: "jeongwoo park" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 1:25 PM
Subject: Fw: A different Wildcard Mask [1:2082]
> Hi all.
> Can anyone clear this?
> thanks
> J
> ----- Original Message -----
> From: "V Cumbie" <[EMAIL PROTECTED]>
> Newsgroups: groupstudy.associate
> Sent: Wednesday, February 21, 2001 12:08 PM
> Subject: A different Wildcard Mask [1:2082]
>
>
> > Can you permit/deny only half of a subnet? Here is my problem:
> >
> > Network: 171.17.2.64
> > Subnet mask: 255.255.255.192
> > Host range: 171.17.2.65 thru 171.17.2.126
> > Broadcast: 171.17.2.127
> >
> > I have to deny telnet from hosts 171.17.2.96 thru 171.17.2.126
> > and allow the remaining addresses (the lower half) 65 thru 95 complete
> > access.
> >
> > I can not figure out a wildcard mask for splitting the hosts in half; to
> > deny/permit one half of them.
> >
> > I would appreciate any help on this.
> >
> > V. Cumbie
> >
> >
> >
> >
> >
> > Message Posted at:
> > http://www.groupstudy.com/form/read.php?f=1&i=2082&t=2082
> > --------------------------------------------------
> > You are reading GroupStudy's Associate Mailing List. To unsubscribe
> follow
> > the directions on http://www.groupstudy.com/list/Associates.html
> >
>
> _________________________________
> FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
>
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]