Está en la página 1de 11

Computer Networks project assignment

Name and Surname: _______________________________________ Index: ________________


The homework should be solved individually on a computer connected to internet, configured to
automatically obtain its IP address and DNS server. Several applications that use network
communication (such as Skype, Dropbox, and Browser with multiple tabs) should be activated. The
command prompt (Terminal) should be used to interpret the required commands.
Answers should be filled in the template Project assignment 2016 - answers and you should not
rewrite the questions there. Then you should export PDF document Surname_Name_Index.pdf and
compress it to Surname_Name_Index.zip. That archive should be uploaded to the courses assignment
form.
The following commands should be used for the questions in this homework:
1.
2.
3.
4.
5.
6.

ipconfig (Win) / ifconfig (Linux)


netstat
ping
tracert (Win) / traceroute (Linux)
ARP
route

You need to read the documentation of each command in order to answer the questions.
1. How many network adapters are present on your computer?
1. Command: _______________________
1. Answer:

2. List the MAC address for each adapter together with its manufacturer.
2. Command: _______________________
2. Answer:

a) How did you find the manufacturer from the MAC address?
2. a) Answer:

3. Which command can be used to determine the network adapter with active connection and
how can you tell that form the command output?
3. Command: _______________________

3. Answer:

4. How many IP addresses does your active network adapters have?


4. Answer:

5. Is your IP address public or private? How did you determinate that?


5. Command: _______________________
5. Answer:

a) If your address is private, which is the public IP address through which you connect to the
internet?
5. a) Answer:

b) If your address is public, what is the IP address of the network to which your computer
belongs to?
5. b) Answer:

c) What is your Default gateway?


5. c) Answer:

6. Renew your IP address.


6. Command: _______________________
7. When have you obtained your IP address, and since when is it valid? Which device assigned that
IP address to your network adapter?
7. Command: _______________________
7. Answer:

8. List the IP addresses of the DNS servers that you are using. What is the function of the DNS
servers?
8. Command: _______________________

8. Answer:

9. Show an example record from your DNS cache that contains CNAME Record. What is CNAME
Record?
9. Command: _______________________
9. Answer:

10. Write the IP addresses of the following URL-s:


a) www.facebook.com
10. a) __________________________
b) www.google.com
10. b) __________________________
c) www.google.mk
10. c) __________________________
d) www.finki.ukim.mk
10. d) __________________________
10. Command: __________________________

11. Check if you are connected to www.finki.ukim.mk and what is the average delay?
11. Command: __________________________
11. Average delay: _______________________

12. What is the average delay if you make 15 subsequent tries (with one command)?
12. Command: __________________________
12. Average delay: _______________________
13. Are the times from the previous two questions different? Why?
13. Answer:

14. List the IP addresses of all network devices in your path to www.finki.ukim.mk?
15. Command: __________________________

a) Try to build a list of geographic locations cities from the routers addresses and names
obtained in the result of the previous command.
14. a) Answer:

b) Do you use devices located outside of ? Why?


14. b) Answer:

15. Set the maximum delay for the response of each step to be 2 seconds.
15. Command: __________________________

16. Observed through the number of hops, you are closes to www.google.com, www.facebook.com
or www.finki.ukim.mk?
16. Answer:

17. What is the MAC address of your DHCP server?


17. Command: ___________________
17. Answer:

18. List the MAC addresses of the devices in your network with whom you have communicated,
together with their IP addresses.
18. Command: ___________________
18. Answer:

19. Open the address http://strangesite.altervista.org/ in new tab in your web browser.
a) What is the IP address of this page?

19. a) Command: ________________________


19. a) Answer:
b) What is the MAC address that corresponds to this IP address? Explain your answer.
19. b) Answer:

20. List the content of your computer routing table.


20. Command:
20. Answer:

a) Which devices have the IP addresses 127.0.0.1 and 224.0.0.0?


20. a) Answer:

b) Describe the term on-link in the gateway column?


20. b) Answer:
21. Suggest a question, that should be in the project assignment in future and then answer it.
21. Question:
21. Command: ____________________
21. Answer:

Computer Networks project assignment


Name and Surname:

Katerina K.

Index:

1. Command: _ipconfig/all______
1. Answer: 6
Ethernet, Wireless LAN Local Area Connection, Wireless LAN Wi-fi, Ethernet Bluetooth, Tunnel
Local Area Connection, Tunnel isatp.
2. Command: __ipconfig/all_________
2. Answer:
Ethernet: F8-A9-63-37-2E-D0 - Compal Information (Kunshan) CO.,LTD. Wireless
LAN LAC: 1A-CF-5E-9C-D7-5D Liteon Technology Corporation, Taiwan Wireless
LAN Wi-Fi: 18-CF-5E-9C-D7-5D Liteon Technology Corporation, Taiwan
Ethernet Bluetooth: 18-CF-5E-9C-D7-5E Liteon Technology Corporation,
Taiwan Tunnel LAC: 00-00-00-00-00-00-00-E0 XEROX CORPORATION, USA
Tunnel isatp.: 00-00-00-00-00-00-00-E0 XEROX CORPORATION, USA

2. a) Answer: I used the internet with using the site https://macvendors.com/

3. Command: __netstat__________
3. Answer: I can see in the State field which ones are established.

4. Answer: 39 active connections.

5. Command: __ipconfig_______________
5. Answer: My IP address is private. Its 192.168.0.103. I know it is a private because it is a class
C IP address and from 192.168.0.0 192.168.255.255 are private IP addresses.
5. a) Answer: 89.205.125.168

5. b) Answer:

5. c) Answer: 192.168.0.1

6. Command: __ipconfig/release, ipconfig/renew__________


7. Command: ___ipconfig/all _________
7. Answer: Lease Obtained. . . . . . . . . . : Monday, January 2, 2017 4:30:18
PM Lease Expires . . . . . . . . . . : Monday, January 2, 2017 8:46:42 PM

8. Command: _ipconfig/all_____________
8. Answer: For Wi-Fi IP address of the DNS server: 192.168.0.1. Tunnel adapter Link-local IPv6
Address: fe80::84:1e3f:a632:826c%3. Wireless Wi-fi: fe80::3904:e605:af38:297%4. A DNS
(Domain Name System) is a system for naming computers and network services that is
organized into a hierarchy of domains. TCP/IP networks, such as the Internet, use DNS to locate
computers and services through user-friendly names.

9. Command: _____ipconfig/displaydns____________
9. Answer:
r5---sn-nv47ln7s.googlevideo.com
---------------------------------------Record Name . . . . . : r5---sn-nv47ln7s.googlevideo.com
Record Type . . . . . : 5
Time To Live . . . . : 238
Data Length . . . . . : 8
Section . . . . . . . : Answer
CNAME Record . . . . : r5.sn-nv47ln7s.googlevideo.com
A Canonical Name record (abbreviated as CNAME record) is a type of resource record in the DNS
used to specify that a domain name is an alias for another domain, which is the canonical
domain.
10. a) __31.13.84.36______
10. b) __172.217.20.196___
10. c) __172.217.20.195___
10. d) ___194.149.137.138__
10. Command: ___tracert domain or ping domain_________

11. Command: __ping www.finki.ukim.mk____


11. Average delay: ____104ms____

12. Command: __ping -n 15 www.finki.ukim.mk______


12. Average delay: ____119ms___________________
13. Answer: Yes, they are different because it depends on the route and traffic on that route to
the destination. Sometimes a ping with 15 can travel faster than a regular ping. In my case the
ping with 15 took more time to get to the destination, than the regular ping.

14. Command: ____tracert www.finki.ukim.mk__________


192.168.0.1, 89.205.47.129, 89.205.126.1, 10.255.255.253, 10.255.255.254,
195.26.158.209, 62.162.1.1, 84.1.246.89, 145.236.236.226, 95.158.129.217, 195.81.49.33,
84.233.193.198, 84.233.138.213, 84.233.138.205, 84.233.138.210, 84.233.207.93,
84.233.190.49, 80.249.209.203, 83.97.89.32, 62.40.98.128, 62.40.98.97, 83.97.88.101,
83.97.88.102, 194.149.130.1, 194.149.137.75, 194.149.137.122, 194.149.137.138.
14. a) Answer:
89.205.47.129 Skopje, Macedonia
89.205.126.1 Veles, Macedonia
10.255.255.253 Private IP address
10.255.255.254 Private IP address
195.26.158.209 Skopje, Macedonia
62.162.1.1 Skopje, Macedonia
84.1.246.89 Sofia, Bulgaria
145.236.236.226 Budapest, Hungary
95.158.129.217 Sofia, Bulgaria
195.81.49.33 Levallois-Perret, France
84.233.193.198 United Kingdom
84.233.138.213 Greve, Zealand
84.233.138.205 Greve, Zealand
84.233.138.210 Greve, Zealand
84.233.207.93 United Kingdom
84.233.190.49 Schweizer 80.249.209.203
Amsterdam, Netherlands 83.97.89.32
United Kingdom

62.40.98.128 Manchester, United Kingdom


62.40.98.97 Manchester, United Kingdom
83.97.88.101 United Kingdom
83.97.88.102 United Kingdom
194.149.130.1 Macedonia
94.149.137.75 Denmark
194.149.137.122 Macedonia
194.149.137.138 Macedonia
14. b) Answer: Yes. Because that route can be used depending on the speed of packets
transmitted throughout the routers at the time the request was sent.

15. Command: ____tracert -w 2000 www.finki.ukim.mk__________

16. Answer: www.facebook.com

17. Command: ___ipconfig/all___________


17. Answer:
DHCP Server . . . . . . . . . . . : 192.168.0.1
18. Command: ____arp -a_________
18. Answer:
Interface: 192.168.0.106 --- 0x4
Internet Address Physical Address Type
192.168.0.1 84-16-f9-2d-0c-64 dynamic
192.168.0.255 ff-ff-ff-ff-ff-ff static
224.0.0.2
01-00-5e-00-00-02 static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

19. a) Command: ___ping strangesite.altervista.org________


19. a) Answer: 104.28.17.13
19. b) Answer: The MAC address can not be fond because they are not on the same
network. Additionally the MAC address can be found by sending an ARP request to the other
device and when we receive the ARP reply, the MAC address will be added to the table
together with the IP address.

20. Command: route print


20. Answer: IPv4
Route Table
===========================================================================
Active Routes:
Network Destination
Netmask
Gateway
Interface Metric
0.0.0.0
0.0.0.0 192.168.0.1 192.168.0.106 55
127.0.0.0
255.0.0.0On-link127.0.0.1 331
127.0.0.1 255.255.255.255On-link127.0.0.1 331
127.255.255.255 255.255.255.255
On-link
127.0.0.1 331
192.168.0.0 255.255.255.0
On-link 192.168.0.106 311
192.168.0.106 255.255.255.255
On-link 192.168.0.106 311
192.168.0.255 255.255.255.255
On-link 192.168.0.106 311
224.0.0.0
240.0.0.0On-link127.0.0.1 331
224.0.0.0
240.0.0.0On-link 192.168.0.106 311
255.255.255.255 255.255.255.255 On-link
127.0.0.1 331
255.255.255.255 255.255.255.255
On-link
192.168.0.106 311
===========================================================================
Persistent
Routes: None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
3 331 ::/0
On-link
1 331 ::1/128
On-link
3 331 2001::/32
On-link
3 331 2001:0:5ef5:79fd:84:1e3f:a632:826c/128
On-link
4 311 fe80::/64
On-link

3 331 fe80::/64
On-link
3 331 fe80::84:1e3f:a632:826c/128
On-link
4 311 fe80::3904:e605:af38:297/128
On-link
1 331 ff00::/8
On-link
3 331 ff00::/8
On-link
4 311 ff00::/8
On-link
===========================================================================
Persistent
Routes: None
20. a) Answer:
127.0.0.1 is a loopback address which is used to allow professionals to test IP software without worrying
about broken or corrupted devices or hardware. 224.0.0.0 is a multicast address used as the destination
of the datagram, never the source.

20. b) Answer: It means that on that address there is a direct connection and we dont have
to use a gateway.
21. Question: Execute the netstat command to show basic network interface statistics and
update these statistics in the command window every 5 seconds.
21. Command: ____netstat -e -t 5________________
21. Answer:
Received
Sent
Bytes
3293086940
645923793
Unicast packets
11884507
5825012
Non-unicast packets
464658
77802
Discards
0
0
Errors
0
0
Unknown protocols
0
Interface Statistics

También podría gustarte