Question
Utilize the chart below to describe the life of a packet. Part A Draw a simple network with two Ethernets which are connected by one
Utilize the chart below to describe the life of a packet.
Part A
Draw a simple network with two Ethernets which are connected by one router. ?Add 1 PC to each Ethernet. ?Assign IP addresses to each PC and both router interfaces. Select one PC as the sender and the other PC as the receiver. Both
Part B
PCs are ?running a tic-tac-toe game which is based on UDP. The sender will send a move via a UDP packet to the receiver using UDP Port 1942 as the destination port and UDP port 1941 as the source port.
Using the information you have created and the chart below describe, in detail, the life of the packet as it leaves the game application on the sender until it arrives at the receiver.
For example: Answer should look similar to example steps 1-3 below
1) The application sends 500 bytes to IP address 10.1.5.8 using port 1941. This data is sent to the UDP layer as
block (or buffer) of binary hex values. ?
2) The UDP layer receives the data from the application. The very first thing that must be done is to build the
header... The header contains the following values: ?
a. Source port.... b. ....?c. ...
3) The header is prepended to the payload buffer and the entire packet is passed to the IP layer. The IP layer is
asked to deliver this packet to IP address 10.1.5.8. ?
. ?
TCP/UDP Receive a segment Check current window parameters - . Ethernet - Current send window size Current receive buffer size available Last ACK Build frame CSMA/CD Put type number in for IP protocol - Last byte sent Adjust parameters Intermediate: .Ethernet receive Build packet around segment .Port numbers, -Check CRC - Check for local delivery - Check type and deliver after stripping off frame .Sequence number Ack to be included Current window size (for the other side) IP receive-check-forward Send packet by requesting IP deliver segment Check IP checksum - Check for local delivery? - Check forwarding table - Start timers IP - Check forwarding table Here longest match might matter . .Need your IP address and mask .Get next hop . Longest match Build IP packet -See step 2c above. - .Ethernet transmit Get MAC Address for next hop - See step 3 above. - ARP Table . Receiver/Destination .Ethernet receive IP receive-check-pass up Build IP packet. - Source and destination IP address Time to live Protocol IP protocol TCP - adjust parameters, check window size - send ack
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started