Professional Documents
Culture Documents
TCP/IP Configuration (7 Points) : NAME: Justin Quen
TCP/IP Configuration (7 Points) : NAME: Justin Quen
Page 1 of 9
MIS 307 – Business Data Communications and Networking
Lab 2: TCP/IP and Ethernet – Updated: Sept. 20 2020
Your computer’s Why is this needed? How does your
computer obtain this?
Its IP address 192.168.0.166 This is needed so that the network is
able to identify the device and locate
it for addressing purposes. The IP
address is assigned through ISP with
the help of the router and modem.
Subnet mask 255.255.255.0 The subnet mask is needed in order
to mask the location of an IP
address. It divides the IP address
into host and network addresses.
IP address of DNS server 68.105.28.11 The DNS is needed to translate
domain names into IP addresses.
The ISP also assigns the DNS IP.
IP address of subnet gateway 192.168.0.1 The gateway is needed in order to
send traffic to other available
networks. This device identifies the
client and the host.
MAC Addresses (you may a8:66:7f:0f:5f:00 MAC Addresses are needed to
have more than one) establish an address for
communication with other
networks. MAC Addresses are
determined during the
manufacturing process.
4. Now take one of your MAC Address and convert the Hexadecimal values to Binary (2 points).
a8:66:7f:0f:5f:00= 1010100001100110011111111000011110101111100000000
DHCP (6 points)
DHCP is used to dynamically assign IP addresses to hosts. We will observe the DHCP packets captured by a client
as we don’t have access to the DHCP server.
PC: Paste a screenshot of ipconfig /all
Mac: Paste a screenshot of the Advanced Network Preferences with the DHCP information
Page 2 of 9
MIS 307 – Business Data Communications and Networking
Lab 2: TCP/IP and Ethernet – Updated: Sept. 20 2020
Page 3 of 9
MIS 307 – Business Data Communications and Networking
Lab 2: TCP/IP and Ethernet – Updated: Sept. 20 2020
4.
This sends a release request to the DHCP server that terminates the lease on the device’s IP address, and
makes the IP that was just released available. The renew ipconfig tells the DHCP that a new IP address is
needed.
Page 4 of 9
MIS 307 – Business Data Communications and Networking
Lab 2: TCP/IP and Ethernet – Updated: Sept. 20 2020
g. How many more bytes of data can the destination computer accept? 1460 bytes
Packet 2: (2 POINTS)
a. What is the purpose of this packet? Packet 2 is responsible for acknowledging that the packet
has been received by the server and agrees to connect.
b. What is the source port number? 80
c. What is the destination port number? 54841
d. What is the sequence number? Why? 4200111240- (Raw) 0- (Relative). This is because this is
still part of the 0 sequence because there is no data.
e. What is the acknowledgement number? Why? 4129057983- (Raw) 1- (Relative). This is the
first acknowledgement number because the connection has been established.
f. Which flags are set? Why? Both the Syn and Ack flags are set because the connection has been
established and an acknowledgment number has now been sent back.
g. How many more bytes of data can the destination computer accept? 1460 bytes
Packet 3: (2 POINTS)
a. What is the purpose of this packet? In this packet, the client is acknowledging the message
from the server.
b. What is the sequence number? Why? 4129057983- (Raw) 1- (Relative). This is because the
packet before has an Ack number of 1.
c. What is the acknowledgement number? Why? 4200111241- (Raw) 1- (Relative). This is
because the acknowledgement of the established connection is the same as before.
d. Which flags are set? Why? The acknowledgment flag is set because the connection is now
established.
e. How many more bytes of data can the destination computer accept? 1460 bytes
3. What is the purpose of frames 4 to 37? The purpose of these frames is to transfer data. (1 points)
Why is the sequence number the same for all of the odd frames from 5 – 35 (frames from 192.168.1.2
174.143.213.184)? (1 point) This is because it is a continuation of the connection
The even numbered frames are 1514 bytes in length. What is the size of the payload in the TCP segment?
How did you determine this? (2 points) The size of the payload is 1448 bytes, it can be found under
timestamps.
What is the purpose of Frame 36? (1 point) This is showing that all the data from the website that the
client has requested has arrived.
Page 5 of 9
MIS 307 – Business Data Communications and Networking
Lab 2: TCP/IP and Ethernet – Updated: Sept. 20 2020
Answer the following questions about frames 38-40.
Packet #38 (2 POINTS)
a. What is the purpose of this packet? To begin the process of terminating the connection.
b. What is the source port number? 54841
c. What is the destination port number? 80
d. What is the sequence number? 4129058708- (Raw) 726- (Relative)
e. What is the acknowledgement number? 4200134191- (Raw) 22951- (Relative)
f. Which flags are set? Why? The Ack and Fin flags are set to acknowledge that the connection
will be terminated.
a. What is the purpose of this packet? The purpose of this packet is to acknowledge the request to
terminate the connection from the last packet (38).
b. What is the sequence number? Why? ? 4200134191- (Raw) 22951- (Relative). This is because
the last packet was expecting this number from previous acknowledgement number.
c. What is the acknowledgement number? Why? 4129058709 – (Raw) 727-( Relative). This is
because the next sequence number should be 727.
d. Which flags are set? Why? Both the Fin and Ack flags are set in order to acknowledge the
connection between sender and receiver to terminate.
a. What is the purpose of this packet? This packet shows that the connection is terminated.
b. What is the sequence number? Why? 4129058709- (Raw) 727- (Relative). This because the
prior packet’s acknowledgement number was 727.
c. What is the acknowledgement number? Why? 4200134191- (Raw) 22952- (Relative). This is
because the sequence number from the client is 22951.
d. Which flags are set? Why? The Ack flag is set to demonstrate that the connection is terminated.
Draw a picture that represents the flow of packets for the TCP 3-way handshake. Make sure you include the
sequence number & acknowledgement numbers in your picture in the following format [SYN, ACK] (3 POINTS)
Page 6 of 9
MIS 307 – Business Data Communications and Networking
Lab 2: TCP/IP and Ethernet – Updated: Sept. 20 2020
Page 7 of 9
MIS 307 – Business Data Communications and Networking
Lab 2: TCP/IP and Ethernet – Updated: Sept. 20 2020
ARP messages can be left on the subnet, this is because within one network the subnets are
connected.
Page 9 of 9