> 192.168.1.15 1100 0000. 1010 1000. 0000 0001. 0000 1111
> 192.168.1.29 1100 0000. 1010 1000. 0000 0001. 0001 1101
>
> (same part) 1100 0000. 1010 1000. 0000 0001. 000x xxxx (192.168.1.0)
> (wild card) 0000 0000 .0000 0000 .0000 0000 .31 is wild card.
>
> 192.168.1.0 0.0.0.31
>
> I understand this above.
>
> This is correct if have to include 192.168.1.15, in it but it is not the
efficient one because in total it allows 32 matches from 1.0-- to-1.31.
JUST COUNT THE NO OF 1s in the wild card and you'll have possible no of
combinations it allows/matches.
like the above one has 5 ones, i.e 32 matches.
>
> -----------------------
>
> 10.1.2.0/24 - 10.1.3.0/24
>
> (network by using wild card)
> 10.1.2.0 0.0.1.255
>
> I understand this above, too.
>
> In here, difference lies in the third octet,
2= 0000 0010
3= 0000 0011
cccc cccd {c=care, d=don't care}
-------------------
w=0000 0001==== 0.0.1.255 because you care that second bit of the third
octet must be 1. if you use a WC of 3, i.e 0000 0011, it is not taking
into account the last two bits, and for last two bits we can have 4
combinations, that will include 10.1.0.0, 10.1.1.0, 10.1.2.0,and 10.1.3.0
Just one 1 in WC, implies two possible matches.
>
> -----------------------------
>
> Question) I do understnad this below, but is there any easy way to remember
> whether I can express range network through
> only one wild card statement or not.
>
> 10.1.1.0/24 - 10.1.2.0/24
> (what book said)
> 10.1.1.0 0.0.0.255
> 10.1.2.0 0.0.0.255
>
>
>
third octet==
10.1.1.0 = 0000 0001
10.1.2.0 = 0000 0010
WC = cccc ccdd
-------------------------------
= 0000 0011----------- 0.0.3.0 will allow 10.1.0.0, and
10.1.3.0 too.
----------------------------
> (what I thought)
> 10.1.0.0 0.0.3.255 (but this statement covers more than that; 10.1.0.0 -
> 10.1.3.255)
>
>
you are right, if you want to match only these two, you have to use two
statements.
> ----------------------
> Another example
>
> 192.168.32.0/24 - 192.168.40.0/24
>
> (what book said)
> 192.168.32.0 0.0.7.255
> 192.168.40.0 0.0.0.255
>
> (what I thought)
> 192.168.32.0 0.0.15.255 (but this statment covers more that that again;
> 192.168.32.0 - 192.168.47.255)
>
You can't, its not possible to match exactly what you want in one
statement.
but, you can match this in two statements- and that could be an exact match.
like-- 192.168.32.0 0.0.0.7.255 --- this covers from 32 to 39, and one
single statement for 40.
Consequently, I am missing an ability whether I can express network range
> by using 1 wild card statement, or not.
> Is there any easy way I can figure it out quickly whether I need more than
> 1 wild card statement?
> ______________________
It depends, sometimes, you can, and sometimes you can't.
> _________________________
> 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