Professional Documents
Culture Documents
Student
Portfolio
Information Infrastructure Engineering Orienting
Nationality
Greek
Adress: Rachelsmolen 10
5612 PE Eindhoven
Language
English Characteristics
⚫⚫⚫⚫⚪
Hindi 1. Perfectionist
⚫⚫⚫⚪⚪ 2. Methodical
Greek 3. Reliable
⚫⚫⚫⚫⚫ 4. Timid
Punjabi 5. Ambitious
⚫⚫⚫⚫⚫
Dutch
⚫⚫⚪⚪⚪
0
Table of Contents
PRACTICAL ASSIGNMENT WEEK 7 - NETWORK BASICS..................3
TASK 1: INSTALL AND TEST NETKIT TOOL.........................................................................3
Describe the steps you took and provide screenshot of the started node...............................................3
TASK 2: TCP/IP LAYERS IN WIRESHARK...........................................................................4
What is the source and destination MAC address of this HTTP packet?...................................4
Source MAC address: 08:d2:3e:dc:4f:e2................................................................................................4
Destination MAC address: 44:fe:3b:bd:65:7b........................................................................................4
Provide a screenshot below with the Wireshark snapshot and highlight these addresses:.....................4
What is the source and destination IP address of this HTTP packet?.........................................4
Source IP address : 192.168.1.175.........................................................................................................4
Destination IP address : 85.214.212.192................................................................................................4
Provide a screenshot below with the Wireshark snapshot and highlight these addresses:.....................4
What is the source and destination port of this HTTP packet?...................................................5
Source port : 52093.................................................................................................................................5
Destination port: 80................................................................................................................................5
Provide a screenshot below with the Wireshark snapshot and highlight these addresses:.....................5
What is the host name of this HTTP Get packet?......................................................................5
Host name: courses.codemax.net\r\n......................................................................................................5
Provide a screenshot below with the Wireshark snapshot and highlight the host name:.......................5
Find the HTTP Response belonging to the HTTP Get packet. How much time elapsed between
the HTTP Get and HTTP response?...........................................................................................6
Time elapsed for 1st Request – Response : 0.022807000 seconds..........................................................6
Provide a screenshot below with the Wireshark snapshot and highlight the elapsed time:...................6
Time elapsed for 2nd Request – Response : 0.025193000 seconds.........................................................6
Provide a screenshot below with the Wireshark snapshot and highlight the elapsed time:...................6
TASK 3: DO LINUX TUTORIAL..............................................................................................7
Provide screenshots of all exercises in section 3.4.................................................................................7
APPENDIX – RESOURCES...........................................................................37
2
Practical Assignment Week 7 - Network Basics
What is the source and destination MAC address of this HTTP packet?
2
What is the source and destination port of this HTTP packet?
2
Find the HTTP Response belonging to the HTTP Get packet. How much time
elapsed between the HTTP Get and HTTP response?
2
Task 3: Do Linux Tutorial
Go to http://www.ee.surrey.ac.uk/Teaching/Unix/index.html and do the tutorial three.
Provide screenshots of all exercises in section 3.4
2
Practical Assignment Week 8 – Internet
Protocol
LINUX, STATIC IP ADDRESS/SUBNETS
CONFIGURATION
2
Task 1b: Networking Exercise
Do the networking online exercises via this link https://courses.codemax.net/w8.html.
2
3. Classless IP Addresses – 8 Bit Aligned Subnets
2
5. Classless IP Addresses – Network Address Ranges
2
Task 2: Build A Simple Netkit Network
Read the explanation of the basic Netkit commands and use them to build a simple network of two
nodes connected to a LAN interface.
2
1. Node1 has an IP address 102.10.2.1/24
2
2. Node2 has an IP address 102.20.2.1/24
Check whether your configuration was successful by using ping command between these two nodes.
The result of the ping was: connect: Network is unreachable. First of all, we have to understand the
ping and how it works. “ The ping works by sending an Internet Control Message Protocol (ICMP)
request to a interface on the network and then sent out replies to validate the connection ~ Sabeer
Ali, IT Systems Engineer, Department of Transport Abu Dhabi ”. By this I mean, “that you can’t find
a route for that destination (you don’t have Gateway Or your Gateway can’t find a route for that
destination ~ Ahmed Sami, Servers and Systems Administrator, Saudi Electricity Company”. From the
above quotation, I have understood that they are not actually connected with the same router and they
both have a different Network Id. That’s the main reason why they can’t ping together. Another
2
reason will be “When we try to ping unknown network which is not available in our routing table
~Ahmed Abdul Aziz, System Administrator, Saudi Binladin Group”. Then this message shows up:
connect: Network is unreachable. (Appendix – Resources 1.*)
2
Look at the ARP entries of your Node1 and Node2.
I used the arp command which is used for manipulating the system arp cache. It shows the current
ARP cache entries.
2
1. Node1 has an IP address 102.10.2.1/10
2
2. Node2 has an IP address 102.20.2.1/10
Check whether your configuration was successful by using ping command between these two nodes.
The ping application allows a computer system to send a number of test message to another system on
2
a network. The receiving computer system is obliged to reply to this message. The ping application
command can be started from the command prompt of a PC. In order to send a test message to another
system you must know the other computer's IP address.
Here below we have the Pings statistics for "102.10.2.1" (IP address of the PC1) and "102.20.2.1" (IP
address of the PC2)
In this case, ping command is really useful to prove that the connection between these 2 PC’s is
successful. If the ping command does not get a reply, for example from PC1 to PC2 there might be:
If the message is simply “Destination Host Unreachable” then there is no route from the local
system, and the packets to be sent were never put on the wire. If the message is “Reply From < IP
Address >: Destination Host Unreachable,” then the routing problem occurred at a remote, whose
address is indicated by the “< IP Address >” field.
Request Timed Out: “This message indicates that No Echo Reply messages were received within the
default time of 1 second. This can be due to many different causes:
1. The most common include:
2. Network Congestion
3. Failure of the ARP request
4. Packet Filtering
5. Routing Error
6. Silent Discard. ~ Ranjna Aggarwal, Senior Consultant in IT Industry”
(Appendix – Resources 2.*)
2
Provide a screenshot of your configured interfaces.
2
Look at the ARP entries of your Node1 and Node2.
2
Which ARP entries are there?
“ARP (Address Resolution Protocol) is used on Ethernet (LAN) to find the MAC address of another
host. When a host on the network doesn't know the MAC address of the device it wants to reach, it
will broadcast an ARP request. All hosts on the segment will receive this ARP request and one of
them will respond with an ARP reply. In this ARP reply, you will find the IP address and MAC
address of the destination host. Once the host that sent the ARP requests receives this information, it
will be able to reach the destination. ~ René Molenaar, Networklessons.com” (Appendix –
Resources 3.*)
The PC1 will sent an Arp Request which is a broadcast, so each computer connect to this network
either it is (LAN, WAN, WLAN etc) will receive this Arp request. The Arp request from PC1 to PC2
“arp 102.20.2.1” basically contains the IP Address of PC1, the MAC Address of PC1.
The PC1 then asks the PC2 through “arp 102.20.2.1” (since this IP Address 102.20.2.1 is for PC2),
the MAC Address of that IP Address “102.20.2.1”. In case the PC2 knows the IP address
“102.20.2.2”. Then the PC2 will sent an ARP reply to PC1 and an Arp Table as below will be shown
up.
From Node 1 (102.10.2.1) we have requested an arp cache for Node 2 (102.20.2.1).
This is the Entry
Address HWtype HWaddress Flags Mask Iface
102.20.2.1 ether 36:5f:5e:38:15:e3 C eth0
From Node 2 (102.20.2.1) we have requested an arp cache for Node 1 (102.10.2.1).
This is the Entry
Address HWtype HWaddress Flags Mask Iface
102.10.2.1 ether f2:81:23:4d:f5:29 C eth0
Sysadmin) eth0
(Appendix – Resources 4.*)
C) Configure both nodes to have a subnet mask 255.255.255.0, and change the
IP address of Node2 in such a way that the ping between them is successful.
Default Configure IP Address: Node 1 : 102.10.2.1, Node 2: 102.20.2.1, Subnet Mask: 255.0.0.0
2
I Configured the IP Address: Node 1 : 102.10.2.1,/24 Node 2: 102.20.2.1/24 Subnet Mask: 255.255.255.0
2
I Configured the IP Address: Node 2: 102.10.2.2/24 Subnet Mask: 255.255.255.0
2
Provide a screenshot of your configuration and successful ping.
2
After successful ping ARP entries of both nodes should be changed. Provide a screenshot of the
new ARP situation.
“ARP (Address Resolution Protocol) is used on Ethernet (LAN) to find the MAC address of another
host. When a host on the network doesn't know the MAC address of the device it wants to reach, it
will broadcast an ARP request. All hosts on the segment will receive this ARP request and one of
them will respond with an ARP reply. In this ARP reply, you will find the IP address and MAC
address of the destination host. Once the host that sent the ARP requests receives this information, it
will be able to reach the destination. ~ René Molenaar, Networklessons.com” (Appendix –
2
Resources 3.*)
The PC1 will sent an Arp Request which is a broadcast, so each computer connect to this network
either it is (LAN, WAN, WLAN etc) will receive this Arp request. The Arp request from PC1 to PC2
“arp 102.10.2.2” basically contains the IP Address of PC1, the MAC Address of PC1.
The PC1 then asks the PC2 through “arp 102.10.2.2” (since this IP Address 102.10.2.2 is for PC2),
the MAC Address of that IP Address “102.10.2.2”. In case the PC2 knows the IP address
“102.10.2.2”. Then the PC2 will sent an ARP reply to PC1 and an Arp Table as below will be shown
up.
From Node 1 (102.10.2.1) we have requested an arp cache for Node 2 (102.10.2.2).
This is the Entry
Address HWtype HWaddress Flags Mask Iface
102.10.2.2 ether 36:5f:5e:38:15:e3 C eth0
From Node 2 (102.10.2.2) we have requested an arp cache for Node 1 (102.10.2.1).
This is the Entry
Address HWtype HWaddress Flags Mask Iface
102.10.2.1 ether f2:81:23:4d:f5:29 C eth0
Provide screenshots of the pings which are possible WITHIN LANA, LANB and LANC (PC1A
to PC2A, PC1B to PC2B and so on).
Author’s Note: It is clearly indicated that we need to provide screenshots within LANA, LANB AND
2
LANA 10.3.0.0/16
Router AC 10.3.0.1/16 255.0.0.0
PC1 A 10.3.0.2/16 255.0.0.0
PC2 A 10.3.0.3/16 255.0.0.0
2
LANB Possible Pings: 1) PC1B to PC2B or PC2B to PC1B
2) PC1B to RouterAC or RouterAC to PC1B
3) PC2B to RouterAC or RouterAC to PC2B
LANB 172.16.3.1/24
Router BC 172.16.3.1/24 255.255.255.0
PC1 B 172.16.3.2/24 255.255.255.0
PC2 B 172.16.3.3/24 255.255.255.0
2
IP Address Configuration for LANC
LANC 192.168.3.0/24
Gateway (eth0 = LANC) 192.168.3.1/24 255.255.255.0
Gateway (eth1 = LANA) 10.3.0.1/16 255.255.0.0
Gateway (eth2 = LANB) 172.16.3.1/24 255.255.255.0
Router AC (eth1 = LANA) 10.3.0.2/16 255.255.0.0
Router BC (eth2 = LANB) 172.16.3.2/24 255.255.255.0
PC1 C (eth0 = LANC) 192.168.3.2/24 255.255.255.0
PC2 C (eth0 = LANC) 192.168.3.3/24 255.255.255.0
2
LANC Possible Pings: 1) PC1C to PC2C or PC2C to PC1C
2) PC1C to Gateway or Gateway to PC1C
3) PC2C to Gateway or Gateway to PC2C
4) Router AC to Gateway or Gateway to Router AC
5) Router BC to Gateway or Gateway to Router BC
Assignment Note: “You don’t need to be able to route between all nodes of this network; that is the
second part of the assignment, which will be done next week. ~ Fonty’s Teacher Said”
2
Task 4: CIDR IP Addressing Exercises
Appendix – Resources
1. https://specialties.bayt.com/en/specialties/q/41890/what-does-quot-network-unreachable-quot-
amp-host-quot-unreachable-quot-and-amp-quot-request-time-out-mean-in-ping-reply-command/
2. https://virtualization24x7.blogspot.com/2015/05/request-timed-out-vs-destination-host.html
3. https://www.youtube.com/watch?v=xTOyZ6TWQdM
4. https://www.redhat.com/sysadmin/arp-versus-ip
2