Well, you got IP Precedence correct. That is indeed 10100000. DSCP
46 however would look like this 10111000. Now, why is this important?
Now all you have to do is take those numbers and convert them to
either decimal or hexadecimal.
Let's look at the answers now:
You want to mark your ping with IP Precedence of 5.
IPP 5 = 1010 0000
= 0xA0
= 160 decimal
DSCP 46 = 10111000
= 0xB8
= 184 decimal
so when you do your extended ping you can enter it either as a decimal
number or as a hex number by preceding it with 0x
Make sense?
On Mon, Mar 29, 2010 at 2:57 PM, Mustafa Yadav <[email protected]> wrote:
> ip precedence5 :
>
> 10100000 must be the tos for ip precedence 5.
>
> for dscp 46 tos must be 100 110 00 as far as I know.Please correct me
> if I am wrong.
>
> On Mon, Mar 29, 2010 at 8:51 PM, <[email protected]> wrote:
>>
>> You didn't answer my question : )
>>
>> What will your ToS byte look like in binary with an IPP of 5? How about
>> with DSCP 46?
>>
>> The reason I ask is so you can learn
>>
>> Sent from my Verizon Wireless BlackBerry
>>
>> Regards,
>>
>>
>>
>> Joe Astorino - CCIE #24347
>> Sr. Technical Instructor - IPexpert
>> Mailto: [email protected]
>> Telephone: +1.810.326.1444
>> Live Assistance, Please visit: www.ipexpert.com/chat
>> eFax: +1.810.454.0130
>>
>> IPexpert is a premier provider of Self-Study Workbooks, Video on Demand,
>> Audio Tools, Online Hardware Rental and Classroom Training for the Cisco
>> CCIE (R&S, Voice, Security & Service Provider) certification(s) with
>> training locations throughout the United States, Europe, South Asia and
>> Australia. Be sure to visit our online communities at
>> www.ipexpert.com/communities and our public website at www.ipexpert.com
>> ________________________________
>> From: Mustafa Yadav <[email protected]>
>> Date: Mon, 29 Mar 2010 20:01:05 +0300
>> To: Joe Astorino<[email protected]>
>> Cc: ccie_rs<[email protected]>
>> Subject: Re: [OSL | CCIE_RS] extenden ping ip precedence
>> That is actually my question.I saw somewhere it is 160.How is the
>> calculation I do not know?
>>
>> On Mon, Mar 29, 2010 at 7:45 PM, Joe Astorino <[email protected]>
>> wrote:
>>>
>>> Hey Mustafa,
>>>
>>> With extended ping, the ToS byte is specified in hexadecimal notation.
>>> So, you need to take the 8 bits you have for ToS and enter it in hex.
>>> So, let me ask you a few questions so we can work this through
>>> together.
>>>
>>> 1) If you have a packet marked as IPP of 5 what does the ToS byte of
>>> your IP header look like in binary?
>>> 2) What is the above number in hexadecimal?
>>>
>>> HTH
>>>
>>>
>>>
>>> On Mon, Mar 29, 2010 at 12:33 PM, Mustafa Yadav <[email protected]>
>>> wrote:
>>> > how can we calculate ip priority 5 or dscp 46 value when we are
>>> > performing
>>> > extended ping?
>>> >
>>> >_______________________________________________
>>> > For more information regarding industry leading CCIE Lab training,
>>> > please
>>> > visit www.ipexpert.com
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>>
>>>
>>> Joe Astorino - CCIE #24347
>>> Sr. Technical Instructor - IPexpert
>>> Mailto: [email protected]
>>> Telephone: +1.810.326.1444
>>> Live Assistance, Please visit: www.ipexpert.com/chat
>>> eFax: +1.810.454.0130
>>>
>>> IPexpert is a premier provider of Self-Study Workbooks, Video on
>>> Demand, Audio Tools, Online Hardware Rental and Classroom Training for
>>> the Cisco CCIE (R&S, Voice, Security & Service Provider)
>>> certification(s) with training locations throughout the United States,
>>> Europe, South Asia and Australia. Be sure to visit our online
>>> communities at www.ipexpert.com/communities and our public website at
>>> www.ipexpert.com
>>
>
>
--
Regards,
Joe Astorino - CCIE #24347
Sr. Technical Instructor - IPexpert
Mailto: [email protected]
Telephone: +1.810.326.1444
Live Assistance, Please visit: www.ipexpert.com/chat
eFax: +1.810.454.0130
IPexpert is a premier provider of Self-Study Workbooks, Video on
Demand, Audio Tools, Online Hardware Rental and Classroom Training for
the Cisco CCIE (R&S, Voice, Security & Service Provider)
certification(s) with training locations throughout the United States,
Europe, South Asia and Australia. Be sure to visit our online
communities at www.ipexpert.com/communities and our public website at
www.ipexpert.com
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit
www.ipexpert.com