Final Assignment
Final Assignment
Student
Portfolio
Information Infrastructure Engineering Orienting
Nationality
Greek
Address: 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
INTRODUCTION..............................................................................................4
PRACTICAL ASSIGNMENT WEEK 7 - NETWORK BASICS..................5
TASK 1: INSTALL AND TEST NETKIT TOOL.........................................................................5
Describe the steps you took and provide screenshot of the started node...............................................5
TASK 2: TCP/IP LAYERS IN WIRESHARK...........................................................................6
What is the source and destination MAC address of this HTTP packet?...................................6
Source MAC address: 08:d2:3e:dc:4f:e2................................................................................................6
Destination MAC address: 44:fe:3b:bd:65:7b........................................................................................6
Provide a screenshot below with the Wireshark snapshot and highlight these addresses:.....................6
What is the source and destination IP address of this HTTP packet?.........................................6
Source IP address : 192.168.1.175.........................................................................................................6
Destination IP address : 85.214.212.192................................................................................................6
Provide a screenshot below with the Wireshark snapshot and highlight these addresses:.....................6
What is the source and destination port of this HTTP packet?...................................................7
Source port : 52093.................................................................................................................................7
Destination port: 80................................................................................................................................7
Provide a screenshot below with the Wireshark snapshot and highlight these addresses:.....................7
What is the host name of this HTTP Get packet?......................................................................7
Host name: courses.codemax.net\r\n......................................................................................................7
Provide a screenshot below with the Wireshark snapshot and highlight the host name:.......................7
Find the HTTP Response belonging to the HTTP Get packet. How much time elapsed between
the HTTP Get and HTTP response?...........................................................................................8
Time elapsed for 1st Request – Response : 0.022807000 seconds..........................................................8
Provide a screenshot below with the Wireshark snapshot and highlight the elapsed time:...................8
Time elapsed for 2nd Request – Response : 0.025193000 seconds.........................................................8
Provide a screenshot below with the Wireshark snapshot and highlight the elapsed time:...................8
TASK 3: DO LINUX TUTORIAL..............................................................................................9
Provide screenshots of all exercises in section 3.4.................................................................................9
CONCLUSION.................................................................................................66
RECAP OF THE PRACTICAL ASSIGNMENT WEEK 7...........................................................66
RECAP OF THE PRACTICAL ASSIGNMENT WEEK 8...........................................................66
RECAP OF THE PRACTICAL ASSIGNMENT WEEK 9...........................................................66
RECAP OF THE PRACTICAL ASSIGNMENT WEEK 10.........................................................66
PERSONAL REFLECTION...........................................................................67
APPENDIX – RESOURCES...........................................................................68
2
Introduction
I would like to take the opportunity to introduce myself as the new student at Fonty’s
University of Applied Science. My name is Singh AmanDeep Saini and I’m 20 years old. I
was born and raised in Greece. I have only been in the Netherlands the past 2 years.
In June 2019, I have finished my High School diploma at the 1st Diurnal General Lyceum of
Rethymno in Greece. My diploma is mainly aimed in an Orientation Group of: Finance and
Computer Studies, (which contain Sociology, Mathematics, Application Development in
Programming, Principles of Economic Theory and History).
My interest in ICT began around 10 years ago when I first came into contact with computer
in school. From there on, I was captivated. I started learning more about computer by doing
some basic courses like Computing Fundamentals, Key Applications and Living Online
(IC3). Throughout these courses I was hereby granted for having demonstrated basic
computer hardware, software and Internet knowledge and skills. Furthermore, in May 2015 I
had successfully completed the requirements to be recognized as a Microsoft Specialist for
(Office PowerPoint, Word, Excel, Access and Outlook 2007).
My current goal is to start and develop knowledge and skills on the Data Science & Analysis
field.
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 an 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
2
and they both have a different Network Id. That’s the main reason why they can’t ping
together. Another 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.*)
They are not actually connected with the same router and they both have a different Network
ID. The node 1 has 102.10.2.1/24 while node 2 has 102.20.2.1/24. That’s the main reason why
they can’t ping.
2
Which command do you use?
I used the arp command which is used for manipulating the system arp cache. It shows the current
ARP cache entries.
Which ARP entries are there?
2
1. Node1 has an IP address 102.10.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
a network. The receiving computer system is obliged to reply to this message. The ping command can
be started from the command prompt of a PC. In order to send a test message to another system you
2
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”
the same router and they both have a different Network ID. The node 1 has 102.10.2.1/24 while
node 2 has 102.20.2.1/24. That’s the main reason why they can’t ping together. On the other hand
when I used the IP command they are actually connected with the same router and they both are
included in the same Network ID. The node 1 has 102.10.2.1/10 while node 2 has 102.20.2.1.10. The /
10 indicates the subnet mask. Since both of the them are included on the same network which means
that they are actually connected in the same LAN. So they can ping successfully together.
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
This Configuration Network Diagram is used for the following 2 ping between LANA - LANB
2
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
LANC. My Pair Group Number is 3.
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
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
This Configuration Network Diagram is used for following ping only LANC
2
IP Address Configuration for LANC
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
2
Practical Assignment Week 9 – Routing
2
2. Route Configuration
2
3. Routing Table
2
Provide screenshots of the following pings:
1. PC1A to PC1B
PC1B Configuration
2
This Configuration Network Diagram is used for following ping. This is the last and final diagram.
1. From PC2A to PC1C
2
Configuration of LANA to LANC
2
Gateway Configuration to ping PC2A to PC1C
PC1C Configuration
2
2
The Ping Configuration from PC1C to PC2A
2
Give a list of all nodes where you had to adjust the routing tables and the
screenshots of their configured routing tables.
Netcat can also be used to copy the contents of a file from one place (file,
folder, computer) to another. Find out how and try it out.
2
Provide screenshots of the sending and receiving command.
2
Sending the file response.txt to PC1C
2
Provide a screenshot of the Netcat command you used and of the links browser output.
2
Task 2: Find 2 TCP uses
Describe the chosen scenarios and a proof of TCP use in them by attaching a Wireshark trace
showing TCP packets.
2
Provide a screenshot of this Flow Graph.
Explain what is happening during various stages (begin, middle, end) of the communication.
Explain SYN, SYNACK and ACK. Explain the Len, Seq and Ack numbers.
TCP 3 – Way Handshake (SYN, SYN-ACK, ACK): “ is a process which is used in a TCP/IP
network to make a connection between the server and client. It is a three-step process that requires
both the client and server to exchange synchronization and acknowledgment packets before the real
data communication process starts.
1. My PC begins the connection by sending the TCP SYN packet to it’s host destination. The
packet contains a random sequence number in this case 1440 that indicates the beginning of
the sequence numbers for data that my PC should transmit.
2. After that, the Server will receive the packet, and it responds with its sequence number. It's
response also includes the acknowledgment number, that is my PC sequence number
incremented with 1 (Here, it is 1441).
3. My PC responds to the Server by sending the acknowledgment number that is mostly server's
sequence number that is incremented by 1.
After the data transmission process is over, TCP automatically terminates the connection between
two separate endpoints. ~ Guru99 – Krishna, 360 Operations of the company ”(Appendix –
Resources 5*)
“The client sends the first segment with seq=1 and the length of the segment is 1440 bytes. The server
2
responds with an ack=1441 which tells the client that the next expected segment will have a sequence
number is 1441. The next segment the client sends has seq=1441 and the len is now 1440 bytes. In
turn, the server responds with ack=2881 (1441 + 1440). This cycle continues until the end of the
TCP session. ~ Jake Howering, MacPackets, Hybrid Cloud Networking” (Appendix – Resources 6*)
Author’s Note: I have copied the above part from the correspondingly resource and I have modified
it so it will explain my solutions.
Personal Reflection
Dear Myself,
This portfolio will be the most effective way of evaluating my overall progress and performance for
this semester. From the portfolio I can evaluate my knowledge, skills and work habits gained from the
semester. Personally, portfolio is a way for me to criticize and evaluate my own work and academic
progress.
There are many advantages and disadvantages working in pairs. First of all, we had many complex
assignment which needed much time to do. So working in pairs here was really productive since we
had more resources available from both of us. We have developed a mutual understanding between
my pair and we had a great time working together. Everything in this assignment worked as we had
planned.
However, there are some major drawbacks to this portfolio use. This outstanding in my opinion
portfolio assignment took us a lot of time and organization. Furthermore, many assignments of this
subject have took us way too long to execute them for the reason that not only could we think
individually but also lack of scheduling and decision making was not possible or on the spot.
The assignments were flawless and well-constructed in terms of following part. Although, I would
like to mention here that some of the additional part and assignment tasks were way to sophisticated
and revolutionary for a new comer student to accomplish them. I see your point here is that we have
to learn new things but some of the assignment task could have be less or even could be on the
advance phase.
According to my way of thinking, I can declare that in this orienting phase I was well-educated in all
subjects of this semester. At the moment I am capable and skilful to operate a virtual machine and
carry out some basic Linux commands. Moreover, it was enthralling and fascinating to create a whole
complicated networks of two or more nodes (PC’s) connected to the same or different LAN interface
using some standard Netkit Commands. That was really intriguing! A huge number of tasks were
inconsiderable easy as piece of cake while others were burdensome, challenging, agonizing but at the
same moment appealing me to complete it.
To conclude, It was a pleasant and delightful experience! I would undoubtedly carry out several
associated courses for my future career. For the time being I’m eager to learn data science & analysis.
I anticipate that I have successfully complete the orienting phase with a high marks.
2
Your Sincerely,
Singh AmanDeep Saini
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
5. https://www.guru99.com/tcp-3-way-handshake.html
6. https://madpackets.com/2018/04/25/tcp-sequence-and-acknowledgement-numbers-explained/
7. https://en.wikipedia.org/wiki/Netcat
8. https://www.varonis.com/blog/how-to-use-wireshark/