In this practice we have to look for the computer configuration such as the IP settings and MAC addresses in the different interfaces both Windows and Linux.
- Getting the MAC address and the IP settings of all the interfaces (loopback, ethernet, wifi y ppp)
Here, in both opperating systems we can see the MAC address and the IP settings of our computer in all the interfaces. The MAC address is, as you can see in both screenshots: 2C:44:FD:2D:F2:8F, and it is the same in all the interfaces.
Then, refering to the IP settings we have:
Ethernet: the IP address is 192.168.10.153, and the broadcast is: 192.168.10.255. Then, we can also obtain the sudden mask, that is: 255.255.255.o and the gateway: 192.168.10.254. Ending with the DNS servers, we have the goolgle’s ones: 126.96.36.199 and 188.8.131.52, but we also have another: 192.168.10.250.
Loopback: windows doesn’t show it but we have to known that loopback address is always 127.0.0.1, and that its mask is always 255.0.0.0 but you can always see on Linux system. The DNS servers are the same that in ethernet: 184.108.40.206 , 220.127.116.11, and 192.168.10.250.
- Getting MAC and IP addresses from all LAN computers
Both pictures are showing the MAC and IP addresses of LAN devices. In the two systems we can see 192.168.10.250 which is the network address with its MAC address that is 16:e6:d4:93:38:a8. Then another special address is the broadcast address, the one at which all devices connected to a multiple-access communications network are enabled to receive data. This one is 192.168.10.255 and its MAC address is ff-ff-ff-ff-ff-ff and its static. Broadcast addresses always finish in 255 while the network address also end in 0. The IP address of our computer is 192.168.10.153 which is only shown in Windows picture. The rest addresses are from other computers of the network.
3.Do a survey of your own loopback interface with 8 ICMP packets
As you can see here, we have done a probe of our own loopback with 8 packets. To do this you have to use the command “ping 127.0.0.1 -n 8” where 127.0.0.1 is the loopback address that you have already know and then with “-n 8” you specify the number of packets you want to send. In this practice, as is the computer itself the one that send and receive the packets anyone is lost and the minimum time is 0 seconds. The maximum time is 0.048 miliseconds and the average time is 0.007 ms.
4. Do a survey of a computer of your LAN with 8 ICMP packets.
Here, we use the same information that on exercise 3 but with one of those IP address, in this case we choose: 192.168.10.99.
Again, using the command ping and the direction we obtain the times and we check that any package was lost, and that the return speed is low in most cases, with the maximun speed of 1ms.
Then, in the linux system we see that is slower, the time now is 7001 ms, but anyway, no package is lost.
5.Do a survey with an external device of your LAN.
Here we have make a survey interface with a external device of our LAN, and we have choose the high school web page, whose IP address is 18.104.22.168.
We send the 8 ICMP packets using the comman “ping -n 8” but inn windows we had a problem because it sais all the time: “timeout”, beacause of the firewall. We send all the packets, but all of they were lost.
So we tried from another computer, from the rasperry one. We see that all the packets sent were received, and none lost. Rewarding to the times, we have the lower time in 82 ms and the maximun in 253 s, so the average is in 140 s.
Then, in linux we have the same problem that at first: we sent all the packets, but all of them were lost, in a time pf 7000ms.
6. Type the path that follow the TCP / IP packets leaving your computer and which are destined for the virtual class of the high school IP host, and the total time it takes to arrive and the time it takes for each hop.
The first picture was made with Windows and it couldn’t show us anything because it has a firewall that block it but in the second one we can see everything perfectly. It happens the same with the last which was made with parted magic.
In both photos we can see the route that the packets have followed from your computer to their destiny server. In this case we can see that they have jumped in Telefonica, Madrid, UK and other places before going to the destiny server.
All this jumps last about 202.020ms and each jump last about 0.340ms.