Preview

Transmission Control Protocol and Data

Satisfactory Essays
Open Document
Open Document
1371 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Transmission Control Protocol and Data
EL 5373
INTERNET ARCHITECTURE AND PROTOCOLS

RAVI RANDERIA
12567470
rbr294@nyu.edu

WORKSTATION: DESDEMONA-FENCHI MAC: f8:0f:41:c4:7f:a8

LAB REPORT 5
PAGES [6]

Exercise 1: iperf3 -s -p 5555: On execution of this command, the host is prompted to run on server mode and the server is made to listen or connect to port number 5555.

iperf3 -c 192.168.1.17 -p 8911 –u: Here, the host is prompted to run on client mode, connecting on port 8911 with server having IP address 192.168.1.17. The host is prompted to use UDP instead of TCP.

iperf3 -c 192.168.1.17 -p 8911 -n 10K -l 200: Here, the host is prompted to run on client mode, connecting on port number 8911 with server having IP address 192.168.1.17. The number of bytes to be transmitted is 10K and the length of the buffer is fixed at 200 bytes.
The length of the packet at the application layer of the second command 65507 bytes, which is the default maximum value of an UDP packet that can be transmitted even with fragmentation (since the length of the packet is not specified we came to this conclusion).

Yes, it makes a difference because in order to perform an iperf3 command, the user must establish both a client and server and hence, the server must be running.

Exercise 3:
Here we use “sudo tcpdump -enx -vv src host <your_host> and not tcp” command to capture all the packets originating from my host and “iperf3 -c <remote_host_running_server> -u -l <size> -n <size>” is used to send UDP datagram with given payload size to remote host while the remote host uses “iperf3 -s” to exexute an iperf3 server. 1472 bytes is the maximum value of data for a UDP datagram which is sent without fragmentation. This is observed from the tcpdump output for a fragment of 1473 bytes. We see that two fragments are being made. The first fragment is of 1480 bytes with an offset of 0 bytes and the second fragment is of 1 byte. Its seen from the ifconfig output given below that 1500 bytes is the MTU for an Ethernet

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Week 5 6 ILAB SriLakshmi

    • 773 Words
    • 3 Pages

    According to the lab help files it contains random outcomes for the size of generated packets (specified in bytes)…

    • 773 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    What field in the IP header determines the transport layer protocol that handles the contents of the packet?…

    • 434 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    5. What is the destination port for the DNS query message? What is the source port…

    • 671 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Tcptrack is a sniffer which displays information about TCP connections it sees on a network interface.…

    • 1518 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Tcptrack is a sniffer which displays information about TCP connections it sees on a network interface.…

    • 1518 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Nt1330 Unit 1 Exercise 1

    • 524 Words
    • 3 Pages

    -In a classic client connection to a Ethernet port, when the client tries to connect through DHCP exchange by broadcasting DHCP discovery frame to search a DHCP server. If the DHCP server is not present on the local subnet, a DHCP discovery must be forwarded by the router. And this is done by configuring an IP Helper Address on the router, to relay certain broadcast UDP frames (like DHCP) to a specific IP destination. In case of DHCP - the router will forward the DHCP discovery and request as unicast frames to one or more pre-configured DHCP servers.…

    • 524 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Nt1310 Unit 1 Exercise 1

    • 5033 Words
    • 21 Pages

    If not sure of machine IP address, keep the structure member s_addr to INADDR_ANY. Assign a port number between 3000 and 5000 to sin_port. 3) Listen for connections with the listen (sfd, …) system call 4) sfd = Accept a connection with the accept (sfd, …) system call. This call typically blocks until a client connects with the server. 5) Read the filename from the socket by n = read(sfd, buffer, sizeof(buffer)) 6) Open the file by fd = open(buffer) 7) Read the contents of the file by m = read(fd, buffer1, sizeof(buffer1)) 8) Write the file content to socket by write( sfd, buffer1, m) 9) Go to step 7 if m>0 10)…

    • 5033 Words
    • 21 Pages
    Powerful Essays
  • Good Essays

    Nt1110 Unit 3 Assignment

    • 655 Words
    • 3 Pages

    Here, Raspberry Pi will act as a server which will open a socket on a specified port which will wait for the incoming connection from the client machine once the connection is established it will send and receive messages and the connection will termi-nate only when the client side application exits. As mentioned earlier it is similar to a simple chat server where the client ma-chine will send some instructions as messages and the Pi will send acknowledgment or error message as message only. One thing that should be kept in mind here is that in the case of an error the server side code should not terminate. Now from here code can be further divided into five parts i.e.:…

    • 655 Words
    • 3 Pages
    Good Essays
  • Good Essays

    State the source MAC and IP addresses as well as destination MAC and IP addresses for a packet going from the client to the cache…

    • 2570 Words
    • 11 Pages
    Good Essays
  • Powerful Essays

    At the destination this layer is responsible for combining the packets into their original state. This layer also checks to see if the layers are in the right order when received and not in duplicated form. If there is an error in one of the packets there is a request for that packet's retransmission. There are two protocols that sit at this layer. First, the TCP protocol connects the sender and the receiver using a socket which is determined by the IP address and port number. TCP keeps track of the packet delivery order and which ones need to be resent. UDP on the other hand is a connectionless communication and does not guarantee packet delivery between sender and receiver. Because it is connectionless the sender sends the data into the network with an IP address of the receiver and hopes it makes it to its destination. Since there is not a way of asking the sender to retransmit because of an error there is little error protection if…

    • 1266 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Unit 8 Lab 8

    • 1017 Words
    • 8 Pages

    If you used the number of bytes instead you would get a whole different amount of possible networks which isn’t right.…

    • 1017 Words
    • 8 Pages
    Satisfactory Essays
  • Good Essays

    Nt1330 Unit 5 Assignment 1

    • 1348 Words
    • 6 Pages

    4. The server accept the connection and to send the data from server to client and vice…

    • 1348 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 7 Gdp

    • 311 Words
    • 2 Pages

    As UDP doesn’t implement any error control the file could potentially be corrupted when it arrives and be accepted, or just discarded. Using stop and wait, if the packet is discarded, it could be resubmitted by the server when it times out causing an issue similar to the one noted above. However, as the data isn’t sequenced, if it is accepted, this could potentially cause unintended results in the file being read correctly. This sequencing issue could also be an issue if there are multiple “sets” of packets arriving at intermittent intervals. Some sort of protocol would need to be used to either correctly sequence packets as they leave and arrive and handle any errors correctly.…

    • 311 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Nt1330 Unit 3 Lab Report

    • 1967 Words
    • 8 Pages

    This lab consists of two parts. Make sure you label each section accordingly and answer all the questions.…

    • 1967 Words
    • 8 Pages
    Powerful Essays
  • Powerful Essays

    ISS 418 Lab 7 and 8

    • 1105 Words
    • 5 Pages

    To do this you would enable on the TCP protocol by editing the following /etc/sysctl.conf file and add the following line: net.ipv4.tcp_syncookies = 1…

    • 1105 Words
    • 5 Pages
    Powerful Essays