Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tutorial 2.

Similar presentations


Presentation on theme: "Tutorial 2."— Presentation transcript:

1 Tutorial 2

2 Figure 24.7 Encoding format
TCP/IP Protocol Suite

3 TCP/IP Protocol Suite

4 Example 24.1 Figure 24.8 shows how to define INTEGER 14. Note that we have used both binary representation and hexadecimal representation for the tag. The size of the length field is from Table 24.1. TCP/IP Protocol Suite

5 Figure 24.8 Example 24.1: INTEGER 14
TCP/IP Protocol Suite

6 Example 24.2 Figure 24.9 shows how to define the OCTET STRING “HI.”
TCP/IP Protocol Suite

7 Figure 24.9 Example 24.2: OCTET STRING “HI”
TCP/IP Protocol Suite

8 Example 24.3 Figure shows how to define ObjectIdentifier (iso.org.dod.internet). TCP/IP Protocol Suite

9 Figure 24.10 Example 24.3: ObjectIndentifier 1.3.6.1
TCP/IP Protocol Suite

10 Example 24.4 Figure 24.11 shows how to define IPAddress 131.21.14.8.
TCP/IP Protocol Suite

11 Figure 24.11 Example 24.4: IPAddress 131.21.14.8
TCP/IP Protocol Suite

12 1- Show how do you encode your name using SMI format ( use the Unicode)?For example NOUF

13 2- Show how do you encode an Octetstring with length 1000 bytes
The value

14 3- According to the SMI encoding format, what is the maximum length that can be presented using a single byte for the length field? give an example of a length that is more than the maximum length and show how it will be encoded. The maximum length that can be presented using a single bite is 127 or So 128 will be presented using 2 bytes as follows Tag field The value


Download ppt "Tutorial 2."

Similar presentations


Ads by Google