A
A
AlinaHeldman2021-09-18 16:07:58
Computer networks
AlinaHeldman, 2021-09-18 16:07:58

I don't understand what they want from me?

I just do not understand. I have now the 1st laboratory on computer networks. The task is to determine the computer on the network, the speed of interaction with which is the lowest. What computer, what network?) I have one computer. I read the theory, to sense 0. I even do not understand the logic of the task.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Saboteur, 2021-09-18
@AlinaHeldman

Well, go to the teacher and find out from him.
You understand that your question has nothing to do with real networks and real devices.
This is the task of some teacher in an imaginary world.
You may be told the tools by which this is done in real networks, but it will be like in a movie about Electronics, when Electronics solved a simple school problem through integral equation.
You need to ask your teacher to find out what you were taught, and at least in which direction to dig.
Here are the offhand questions:
Linux? Windows? Mixture?
ethernet? wifi?
switch or hub?
Root access or run on computers?
You can try to solve it with a ping, but what will happen if it will be equally slow with several computers, at the level of error?
In general, ask questions to your teacher and not to random people on the Internet.

K
Konstantin Tsvetkov, 2021-09-18
@tsklab

PING /?

S
shrug228, 2021-09-18
@shrug228

As I understand it, you are required to determine which computer on the same wifi network with you has the lowest interaction speed, that is, the greatest delay (ping).
The solution in this case can be done like this:

  1. get a list of computers in the same wifi network with you;
  2. send a request to each computer (maybe even several) and record the time spent receiving a response;
  3. compare the response time from different computers and find the shortest

PS: We can also talk about connecting several computers via ethernet to one access point, the essence of the solution does not change. I'm not very savvy in CMD, so I'm talking purely for reasons of logic.

M
Morrowind, 2021-09-23
@hekkaaa

Hey!
The solution I see is the following solution plan.
I used Powershell for this.

$hostPC = ("ya.ru", "google.ru","docs.microsoft.com")
foreach ($item in $hostPC) {
    $connect = Test-Connection $item
    Write-Host($connect.Latency + " - " +$item)
}

What is the point.
I enter ya.ru hosts, etc. (in your case, this is a certain number of computers on the network.) A Test-Connection
request is made , which is similar to ping. It makes 4 requests to the host. Next, outputs information to the console with a delay to the host. There are 4 values. As a result, you can do the following: 1. Select the overall average from the current result and select your answer to the task by the smallest. 2. The option is easier. We add the -Count 1 parameter which makes 1 ICMP requests instead of 4.
614cc9ae4c7c6818718966.png

But here is the nuance that we may not get a sane response, because 1 ICMP request will be "swallowed" by the host and we will not get the necessary delay numbers. Count 2 will already show the desired numbers, but here we are back to 1 point averages.
3. We stupidly cheat because there is no clear TK. We take 1 values ​​from the standard query.
We make a selection of the first value from 4 ICMP requests to the $connect.Latency[0]
host and compare which of them is smaller.
PROFIT!
I hope it helped in the decision.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question