· Web viewNET431D-Advanced network services First Semester 1437/1438 H Assignment 1 Princess...

3
Princess Nora Bint Abdulrahman University Faculty of Computer and Information Sciences NET431D-Advanced network services First Semester 1437/1438 H Assignment 1 Q1:What are the concerns of the physical layer in the Internet model? Q2:What are the responsibilities of the data link layer in the Internet model? Q3: What is the difference between a port address, a logical address, and a physical address? Q4: In Figure, computer A sends a message to computer D via LANl, router Rl, and LAN2. assume that the communication is between a process running at computer A with port address i and a process running at computer D with port address j. Show the contents of packets and frames at the network, data link, and transport layer for each hop. Q5: If the data link layer can detect errors between hops, why do you think we need another checking mechanism at the transport layer? Q6: In a block of addresses, we know the IP address of one host is 25.34.12.56/16. What are the first address (network address) and the last address and number of address in the block? 1

Transcript of · Web viewNET431D-Advanced network services First Semester 1437/1438 H Assignment 1 Princess...

Princess Nora Bint Abdulrahman UniversityFaculty of Computer and Information SciencesDepartment of Networks and Telecommunications

NET431D-Advanced network servicesFirst Semester 1437/1438 HAssignment 1

Q1:What are the concerns of the physical layer in the Internet model?

Q2:What are the responsibilities of the data link layer in the Internet model?

Q3: What is the difference between a port address, a logical address, and a physical address?

Q4: In Figure, computer A sends a message to computer D via LANl, router Rl, and LAN2. assume that the communication is between a process running at computer A with port address i and a process running at computer D with port address j. Show the contents of packets and frames at the network, data link, and transport layer for each hop.

Q5: If the data link layer can detect errors between hops, why do you think we need another checking mechanism at the transport layer?

Q6: In a block of addresses, we know the IP address of one host is 25.34.12.56/16.

What are the first address (network address) and the last address and number of address in the block?

Q7: Calculate the HLEN (in IPv4) value if the total length is 1200 bytes, 1176 of which is data from the upper layer.

Q8: In an IPv4 datagram, the M bit is 0, the value of HLEN is 5, the value of total length is 200, and the offset value is 200. What is the number of the first byte and number of the last byte in this datagram? Is this the last fragment, the first fragment, or a middle fragment?

Q9: What is a protocol ?

Q10: What is a Packet Data Unit (PDU) ?

Q11: What are some advantages to layering as seen in the TCP/IP reference model?

1

Princess Nora Bint Abdulrahman UniversityFaculty of Computer and Information SciencesDepartment of Networks and Telecommunications

NET431D-Advanced network servicesFirst Semester 1437/1438 HAssignment 1

Q12: Compare the TCP header and the UDP header. List the fields in the TCP header that are missing from UDP header. Give the reason for their absence?

Q13: The following is a dump of a UDP header in hexadecimal format.

0632000DOO lCE217

a. What is the source port number?

b. What is the destination port number?

c. What is the total length of the user datagram?

d. What is the length of the data?

2