Digging a bit further discovered that its all an XOR operation
 
so if you want to allow networks 200.0.0.2, 200.0.0.4 and 200.0.0.6
 
then convert the last octets 2,4 and 6 in binary and perform XOR.
 
 
2:    00000010
4:    00000100

6:    00000110
------------------   XOR
       00000110 =6 
 
so the mask will be 0.0.0.6
 
 



Date: Thu, 26 Jan 2012 20:13:41 +0530
Subject: Re: [OSL | CCIE_RS] wildcard mask volume 1 lab 16
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]

patrick

why it didnt block 200.0.0.1 , 200.0.0.3 and 200.0.0.5




On Thu, Jan 26, 2012 at 7:42 PM, <[email protected]> wrote:

Yiannis,

200.0.0.0       last octet 00000000
0.0.0.6 last octet 00000110

So the 2 and 4 bits of the last octet are don't care bits resulting in the 
options below:
00000000        0
00000010        2
00000100        4
00000110        6

So this part will deny 200.0.0.0, 200.0.0.2, 200.0.0.4 and 200.0.0.6 from 
communicating. If you have no additional lines in your access-list nothing will 
be communicated because of the implicit deny at the end though.

Kind regards,
 
Patrick Keja



-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Yiannis -----------
Sent: 26 January 2012 14:51
To: [email protected]
Subject: [OSL | CCIE_RS] wildcard mask volume 1 lab 16


Hi guys,


If you have the following access list

access-list 1 deny 200.0.0.0 0.0.0.6

could you please explain which networks will be allowed/denied  and how you 
arrive at the result?

Thanks very much
yiannis
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

http://onlinestudylist.com/mailman/listinfo/ccie_rs
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

http://onlinestudylist.com/mailman/listinfo/ccie_rs



-- 
With Warmest Regards,

CCIE KID
CCIE#29992 (Security)


                                          
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

http://onlinestudylist.com/mailman/listinfo/ccie_rs

Reply via email to