From: Bayraktar, Ersoy (EB164001@exchange.Turkey.NCR.COM)
Date: Tue Apr 20 2004 - 11:30:05 GMT-3
thanks a lot Scott
-----Original Message-----
From: Scott Morris [mailto:swm@emanon.com]
Sent: Tuesday, April 20, 2004 5:28 PM
To: Bayraktar, Ersoy; ccielab@groupstudy.com
Subject: RE: access-list question
???
192.168.xx.0
Xx:
0 00000000
1 00000001
2 00000010
3 00000011
00000011 = Mask
4 00000100
5 00000101
6 00000110
7 00000111
00000011 = Mask
When we put 192.168.4.0 as the network, you are setting the start bits.
Anything that is a 0 bit in the mask must stay the same. So using the .4,
that sets the bit to be '1' in the 4-position. That must stay the same.
With a mask of .3, that means the two right-most bits can be anything. A 1
bit in the mask means you don't care what the value is.
So looking at the above breakouts, it is impossible to have a net of
192.168.4.0 (setting the bits) with a mask of 0.0.3.0 to actually match the
0.0, 1.0, 2.0 or 3.0 networks. It will match 4.0 through 7.0.
HTH,
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, CISSP,
JNCIS, et al.
IPExpert CCIE Program Manager
IPExpert Sr. Technical Instructor
swm@emanon.com/smorris@ipexpert.net
http://www.ipexpert.net
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Bayraktar, Ersoy
Sent: Tuesday, April 20, 2004 9:14 AM
To: ccielab@groupstudy.com
Subject: access-list question
Hi group,
How come the access-list 1 pemit 192.168.4.0 0.0.3.0 means permit
192.168.1.0,192.168.2.0,192.168.3.0 and 192.168.8.0. I couldn't find a good
document for such subnetting.
Thanks
This archive was generated by hypermail 2.1.4 : Mon May 03 2004 - 19:48:50 GMT-3