Ooops. Sorry. Brain damage. ;-)
Priscilla
At 10:47 PM 1/6/02, Tom Lisa wrote:
Priscilla,
You MUST have been in a hurry, 0 means match this bit position and 1
means
don't care. Definately can't argue with your second paragraph though.
Prof. Tom Lisa, CCAI
Community College of Southern Nevada
Priscilla,
You MUST have been in a hurry, 0 means match this bit position and 1
means
don't care. Definately can't argue with your second paragraph though.
Prof. Tom Lisa, CCAI
Community College of Southern Nevada
Cisco Regional Networking Academy
Priscilla Oppenheimer wrote:
Have you put
I think Permit 10.10.10.40 0.0.0.7 will allow 40-47, and you need another
statement Permit 10.10.10.48 0.0.0.0 to allow 48 to get through.
Am I worng?
Godswill HO wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
Try the following:
IP access-list standard allowed
Permit
You're not wrong, spotted the previous mistake, you just missed off an
address. That's a nice way of putting it eh?
Changing your second line to Permit 10.10.10.48 0.0.0.1 will do the trick
because it allows 48 and 49 through.
Regards,
Gaz
Shengtao wrote in message
[EMAIL
Thanks for the response guys :) But can anyone explain to me how do you
guys derive:
10.10.10.40 0.0.0.7 10.10.10.48 0.0.0.1
And also, for the second statement, how do you know 48 has to be placed in
the fourth octet?
I'm still very confused, but thanks for your help in advance.
Best
Have you put the addresses and masks in binary and tried to work it out for
yourself? In the mask, 0 means don't care and 1 means must match.
This is a quick answer due to a shortage of time and because I think you
will learn best if you do it yourself.
Priscilla
At 05:38 PM 1/5/02, Hunt Lee
The first entry, by ending in .7, allows for 10.10.10.40-47, remember this
is a span of 8. Then you need 48 and 49, hence the .1. The .40 and .48
are network addresses, I'll refer you to one of the many subnet
calculators out there if thinking in binary is not yet second nature.
Brian Sonic
Think of it in the same terms as you would a normal subnet mask Lee.
You want to permit address 10.10.10.40 thru 10.10.10.49.
10.10.10.40 255.255.255.248 is equal to 10.10.10.40 0.0.0.7 and
includes the addresses 10.10.10.40 thru 10.10.10.47. Furthermore,
10.10.10.48 255.255.255.254 is equal to
Ok - here's what I understand so far:
to permit range only 10.10.10.40 - 10.10.10.49
128 64 32 16 8 4 2 1
1 1 40
1 1 1 41
1 1 1 0 42
1
Hunt,
There are two schools of thought (at least). One of them involves thinking
in binary, which I think is the more difficult, but depends how your mind
works.
I can work it out in binary on paper, but my head goes slower than the pen,
so I use the second (and quickest) method:
For the second
Hi,
Try the following:
IP access-list standard allowed
Permit 10.10.10.40 0.0.0.7
Permit 10.10.10.49 0.0.0.0
The first permit statement allow addresses n.n.n.40 to n.n.n.48, while the
last one allow address n.n.n.49. There is no way you can deny whole range
without affecting other addresses
11 matches
Mail list logo