From: Herve Bruyere (hbruyere@cisco.com)
Date: Mon Mar 10 2003 - 09:43:57 GMT-3
True. The correct wildcard is 150.
OhioHondo wrote:
> I believe the calculation below yields 150 not 151. It is an exclusive OR
> calculation. All 1's should equal a 0.
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> Herve Bruyere
> Sent: Monday, March 10, 2003 5:05 AM
> To: eric
> Cc: Ccielab
> Subject: Re: inverse masks
>
>
> OK, so:
>
> 1 = 0 0 0 0 0 0 0 1
> 3 = 0 0 0 0 0 0 1 1
> 5 = 0 0 0 0 0 1 0 1
> 147 = 1 0 0 1 0 0 1 1
> ----------------------
> X 0 0 X 0 X X 1 = 10010111 = 151
>
> and the result is 201.201.1.0 0.0.151.0
>
>
>
>
> regards
> rv
>
>
>
>
> eric wrote:
>
>>Sorry guys,
>>I should have been more clear
>>ie.....
>>allow
>> 201.201.1.0, 201.201.3.0, 201.201.5.0, 201.201.147.0
>>do this with a minimum of lines.
>>now I know that 201.201.1.0 0.0.151.0 works. ( It also allows others which
>>is fine ).
>>What I am trying to get my mind around is how to do it on the fly so to
>>speak. with enough time and a couple of routers I can muddle my way thru.
>>
>>I understand the care and dont care bits part, " Its in relation to what"
>>that I am confused with. I know its not that hard and yet..........
>>
>>regards,
>>
>>~e
>>
>>-----Original Message-----
>>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
>>eric
>>Sent: Sunday, March 09, 2003 4:55 PM
>>To: Ccielab
>>Subject: inverse masks
>>
>>
>>Hello,
>>
>>Does anybody have a formula or a shortcut that will help me get these.
>>I dont know why I cant seem to get my mind around it. I just end up
>>confusing myself with the ORed results. It cant be as hard and as
>
> confusing
>
>>as I am making it out to be.
>>
>>Regards,
>>
>>~e
This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:36 GMT-3