In: Computer Science
Question 4: Using _______________________, you will ping sweep 5 targets.
Question 5: The following is not a valid Fping
command.
Note:
This question is about the Fping utility.
Question 4:
Correct Answer is a. fping -g 172.217.4.36 172.217.4.40
Explanation:
fping -g command utility checks whether the provide list or range of ip addresses is reponding to the request or not.
we can use fping in two ways
fping -g <IP netmask> eg: fping -g 192.168.1.0/24
or
fping -g <Starting Ip> <Ending IP> eg: fping -g 192.168.1.0 192.168.1.255
Now coming to the options,
option a is correct because there are 5 ip addresses between 172.217.4.36 and 172.217.4.40
option b in incorrect because this the syntax is not correct. i.e (not from the two ways given above)
option c is incorret because the syntax is not correct. i.e (not from the two ways given above).
option d is obviously incorrect given that b and c are incorrect.
Question 5.
correct Answer is c. fping -g 139.67.8.128-130
Explanation:
we can use fping in two ways
fping -g <IP netmask> eg: fping -g 192.168.1.0/24
or
fping -g <Starting Ip> <Ending IP> eg: fping -g 192.168.1.0 192.168.1.255
Now coming to options,
option a is correct way to use fping as we have starting and ending ip addresses, hence a valid fping command . hence incorrect option for this question.
option b is also a correct way to use fping as we have Ip netmask, hence a valid fping command. hence incorrect option for this question.
option c is not the correct way to use fping command, hence is not valid fping command, hence correct choice for this question.