This Homework Is Due By 11:59 PM on March 30, 2014

  1. Explain the use of the pseudo-header for a UDP datagram and TCP segment. When is it used? Is it transmitted with the datagram? How does the ultimate destination obtain the contents of the pseudo-header?

  2. What is the chief advantage of using protocol ports instead of process identifiers to specify the destination within a machine?

  3. Given that a frame is formatted as follows:

    Destination Hardware Address Source Hardware Address Frame Type Frame Data
    6 Bytes 6 Bytes 2 Bytes 46 - 1500 Bytes

    And given that an IP datagram is formatted as follows:

    Byte 0 1 2 3
    bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    0 Version Header Length Type Of Service Total Length
    4 Identification Flags Fragment Offset
    8 TTL Type Header Checksum
    12 Source IP Address
    16 Destination IP Address
    IP Options (May Be Omitted) Padding
    20 IP Payload Data

    And given that a UDP datagram is formatted as follows:

    Byte 0 1 2 3
    bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    0 UDP Source Port UDP Destination Port
    4 UDP Message Length UDP Checksum
    20 UDP Payload Data

    And given the following frame with an encapsulated IP datagram and UDP datagram:

    	A3	64	7A	2B	F7	22	F6	A2	48	61	75	E2	08	00	45	94
    	00	72	A9	47	72	3A	30	95	7A	BB	76	D4	23	0C	D5	D7
    	05	0E	79	F5	09	E4	8C	59	16	13	06	77	BC	6C	88	48
    	80	D3	34	11	81	F2	47	1F	A0	2A	D4	C3	0E	B8	D3	F5
    	8E	A7	4A	17	BF	CD	55	9A	48	EC	7F	F4	8F	FE	D5	F8
    	2B	1C	22	71	62	40	C3	8E	02	EB	AC	1C	24	20	3C	FF
    	ED	38	CF	BA	A3	DE	9F	A5	C8	BC	90	23	4B	F4	2D	6E
    	97	93	93	96	1F	42	AE	BF	BE	9A	CF	12	03	09	CE	E0      
          
    1. What is the UDP source port?
    2. What is the UDP destination port?
    3. What is the UDP message length?
    4. What is the UDP checksum?
    5. If the UDP header and the IP header include no options or padding, what are the first five bytes of the datagram data?

Please submit the completed assignment on Blackboard as a Microsoft Word file or a PDF file. No other forms of submission will be accepted.