The answer is NO. While defining access-lists you have to use wildcards, meaning that the range you are using must be blocks in 2^n (2 powered by n). Wildcards difine the important and non-important bits is the IP address. They use the same method and algorithm subnet masks use but in a reverse manner. In a subnet mask you define the important bits ( the bits which you want to exactly the same the IP address) with ONES, and the non-important bits with ZEROs. In wildcards, you define the important bits with zeros, and the non-important bits with ones. For the same reson you cannot have a network address with 37 hosts, you cannot define a access-list with a wildcard to include 37 contigous addresses. Here is an example: if you want to define an access-list for 11001101.01011101.1110001010.11010111 and you want all the bits to be same but the last 3 bits your mask will be: 00000000.00000000.00000000.00000111 (0.0.0.7) Hope this helps, Hamid
Mahmood said: > Thanx in advance dear friends, > But is there any way to do this in one line? > > Thanx again > > > ----- Original Message ----- > From: "Daniel Cotts" > To: "'Mahmood'" ; > Sent: Tuesday, June 11, 2002 7:17 PM > Subject: RE: Access List Problem!! [7:46262] > > >> Break it into pieces. >> Deny the range of 192.168.32.0 to 192.168.32.31 >> Deny the range of 192.168.32.32 to 192.168.32.36 >> Deny the host 192.168.32.37 >> Since 192.168.32.0 is not a valid host address I see no problem with >> including it. >> >> > -----Original Message----- >> > From: Mahmood [mailto:[EMAIL PROTECTED]] >> > Sent: Tuesday, June 11, 2002 10:02 AM >> > To: [EMAIL PROTECTED] >> > Subject: Access List Problem!! [7:46262] >> > >> > >> > Hi, >> > My question is taht : How Can I Deny this range: 192.168.32.1 to >> > 192.168.32.37 >> > ? >> > >> > Thanks in advance >> > >> > Mahmood > Nondisclosure violations to [EMAIL PROTECTED] Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=46327&t=46262 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

