Question

Question 1 a. NETSTAT is a TCP/IP networking utility. By using NETSTAT provide below:    i....

Question 1

a. NETSTAT is a TCP/IP networking utility. By using NETSTAT provide below:

   i. General NETSTAT output from your Windows machine using Windows Command Prompt (5marks)

   ii. Display active all TCP connections with process ID (PID) for each connection (5marks)

   iii. Display the contents of the IP routing table (5marks)

   iv. Display statistics by protocol (5marks)

   v. Display Ethernet statistics (5marks)

b. Explain flow control techniques in the transport layer to handle end-to-end connection (8marks)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Hi,

Question A1: General NETSTAT output from your Windows machine using Windows Command Prompt.

Answer: Go to start (the windows icon), click on it and type 'cmd'. right click and choose 'run as administrator' to open the highlighted application and enter 'netstat' at command prompt. Copy the output. This is the answer.

Question A2: Display active all TCP connections with process ID (PID) for each connection

Answer: Run the command 'netstat -o'. The output is your answer.

Question A3: Display the contents of the IP routing table

Answer: Run the command 'netstat -r'. The output is your answer.

Question A4: Display statistics by protocol.

Answer: Run the command 'netstat -p proto -s'. The output is your answer.

Question A5: Display Ethernet statistics

Answer: Run the command 'netstat -e -s'. The output is your answer.

Use this picture for reference:

Question B: Explain flow control techniques in the transport layer to handle end-to-end connection

Answer:

Flow Control basically means that TCP will ensure that a sender is not overwhelming a receiver by sending packets faster than it can consume. The idea is that a node receiving data will send some kind of feedback to the node sending the data to let it know about its current condition. It’s important to understand that this is not the same as Congestion Control. Although there’s some overlap between the mechanisms TCP uses to provide both services, they are distinct features. Congestion control is about preventing a node from overwhelming the network (i.e. the links between two nodes), while Flow Control is about the end-node.

How it works:

The sender application writes data to a socket, the transport layer (TCP) will wrap this data in a segment and hand it to the network layer (IP),
that will somehow route this packet to the receiving node. On the other side of this communication, the network layer will deliver this piece of data to TCP, that will make it available to the receiver application as an exact copy of the data sent, meaning if will not deliver packets out of order, and will wait for a retransmission in case it notices a gap in the byte stream.

TCP stores the data it needs to send in the send buffer, and the data it receives in the receive buffer. When the application is ready, it will then read data from the receive buffer. Flow Control is all about making sure we don’t send more packets when the receive buffer is already full, as the receiver wouldn’t be able to handle them and would need to drop these packets.

To control the amount of data that TCP can send, the receiver will advertise its Receive Window, that is, the spare room in the receive buffer. Every time TCP receives a packet, it needs to send an ack message to the sender, acknowledging it received that packet correctly, and with this ack message it sends the value of the current receive window, so the sender knows if it can keep sending data.

TCP use a sliding window protocol to make sure it never has more bytes in flight than the window advertised by the receiver.

When the window size is 0, TCP will stop transmitting data and will start the persist timer. It will then periodically send a small WindowProbe message to the receiver to check if it can start receiving data again; When it receives a non-zero window size, it resumes the transmission.

Add a comment
Know the answer?
Add Answer to:
Question 1 a. NETSTAT is a TCP/IP networking utility. By using NETSTAT provide below:    i....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 166 Chapter 8: TCP/IP Applications Getting Down to Business The way network communication all those ls...

    166 Chapter 8: TCP/IP Applications Getting Down to Business The way network communication all those ls and Os) goes in and out of a machine physically is through the NIC (network interface card). The way network communication goes in and out of a machine logically though, is through a program or service. A service is a program that runs in the background, independent of a logon, that provides functionalities to a system. Windows client machines, for instance, have a Workstation...

  • Question 26 In the TCP/IP model, what layer combines the responsibilities of the Application, Presentation, and...

    Question 26 In the TCP/IP model, what layer combines the responsibilities of the Application, Presentation, and Session layers from the OSI model? a. Internet b. Application c. Transport d. Link 1.25 points Question 27 In the TCP/IP model, what layer is considered so simple that it is ignored entirely? a. Network b. Data Link c. Application d. Physical 1.25 points Question 28 In the United States, who is able to activate the Emergency Alert System at the national level? a....

  • In this assignment, you design a simple chat room in the form of a network application which uses the services of a TCP/IP computer network. Your design should have a clientserver architecture in whic...

    In this assignment, you design a simple chat room in the form of a network application which uses the services of a TCP/IP computer network. Your design should have a clientserver architecture in which the server is multi-threaded. Then, you need to implement the server-side of the chat-room application in Java (implementing the client-side is optional). The server maintains a list (an ArrayList will work well) of all the active connections. It will listen on a port for a new...

  • Question 34 A TCP socket contain …………………… that uniquely identifies it on a network TCP ID...

    Question 34 A TCP socket contain …………………… that uniquely identifies it on a network TCP ID Port number UDP HTTP ( ) a ( ) b ( ) c ( ) d 2 points Question 35 Mail server port number is usually 8080 80 2525 25 ( ) a ( ) b ( ) c ( ) d 2 points Question 36 TCP Head length indicates ( ) The size of the segment ( ) The capacity of data that...

  • QUESTION 45 What is NOT one of the three characteristics of TCP in its role as...

    QUESTION 45 What is NOT one of the three characteristics of TCP in its role as a reliable delivery protocol? a. Sequencing and checksums b. Flow Control c. Framing d. Connection-oriented Protocol 1.25 points    QUESTION 46 What is by far the most popular DNS server software available? a. Dnsmasq b. Microsoft DNS c. BIND d. Oracle Resolver 1.25 points    QUESTION 47 What is routing protocol convergence time defined as? a. It is the time it takes for the...

  • check my answers for Networking I came up with these answers, can check my answers Question...

    check my answers for Networking I came up with these answers, can check my answers Question 1: General What data rate is needed to transmit an uncompressed 4" x 6" photograph every second with a resolution of 1200 dots per inch and 24 bits per dot (pixel)? 691,200 kb/s 28.8 kb/s 8.29 Mb/s 829 Mb/s Question 2: Layering "Layering" is commonly used in computer networks because (check all that apply): -It forces all network software to be written in ‘C’....

  • I NEED HELP WITH NETWORKS ( 1 - 11) QUESTIONS , ENSURE YOU ANSWER THEM ALL...

    I NEED HELP WITH NETWORKS ( 1 - 11) QUESTIONS , ENSURE YOU ANSWER THEM ALL QUESTION 1 Which of the following could be valid DNS resource record entries? (mysite.com, 125.245.206.3, NS) (ibm.com, backup6.ibm.com, CNAME) (158.223.21.2, mypage.edu, A) All of the above None of the above 1 points    QUESTION 2 Which mail protocol keeps state information across sessions? SMTP POP3 IMAP All of the above None of the above 1 points    QUESTION 3 What type of message is...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT