Question

[10 pts.] Consider the special UDP segment shown below. a. Find the decimal values of the source and destination port numbers

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Source Port Length Destination port Check Sum Data

a. Here the source port is given as 1100 0000 0000 0000 it's decimal equivalent is 49152
Destination port is given as 0000 0000 0011 0100, it's decimal equivalent is 52.
Therefore SOURCE port number is 49152 and DESTINATION port number is 52.

b. Error exists in this segment
Explanation: Let us say that this segment is received at receiver.
By adding all the 16 bits fields (source port, destination port, Length and Check sum), if the result is 1111 1111 1111 1111, then the segment is error free.
Let us add the 16 bit fields here
1100 0000 0000 0000 (Source port)+
0000 0000 0011 0100 (Destination port)
---------------------
1100 0000 0011 0100 +
0000 0000 0000 1010 (Length)
---------------------
1100 0000 0011 1110 +
0011 1111 1001 1111 (Check sum)
--------------------
1111 1111 1101 1101 (Error exists in this Segment)

If the final result is 1111 1111 1111 1111, then it is error free segment.

Add a comment
Know the answer?
Add Answer to:
[10 pts.] Consider the special UDP segment shown below. a. Find the decimal values of the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Convert the following Binary numbers to their Decimal equivalents: 1100 1001 1111 0100 1010 0101 1111...

    Convert the following Binary numbers to their Decimal equivalents: 1100 1001 1111 0100 1010 0101 1111 1111 0000 1000

  • Arduino. DEC HEX BIN(4-bits) Introducing ARDUINO 0 0 0000 1 1 0001 2 2 0010 3...

    Arduino. DEC HEX BIN(4-bits) Introducing ARDUINO 0 0 0000 1 1 0001 2 2 0010 3 3 0011 4 4 0100 5 5 0101 How many 1/0 of Port-D? How many usable 1/0 of Port-D, if Serial-Communication is in-used? What is the Arduino's pin assignment of ATMEL's PC5, PB3, & PD1*? What is the ATMEL's pin assignment of Arduino's D13*, D1, & D19? To complete the table about Number System Conversion (shown your step) 6 6 0110 7 7 0111...

  • Networks Hi guys. I need some assistance with a few questions below. 1. Which of the...

    Networks Hi guys. I need some assistance with a few questions below. 1. Which of the following is TRUE regarding a TCP 3-way handshake. a.   Consists of 3 segments being sent between 2 hosts       b.   Segments only carry data in the SYN, ACK and sequence number bits and bytes with no data       c.   No ACK is needed for the SYNACK received from the receiver       d.   A, B and C       e.   None of the above 2. Which...

  • We have learned a famous shift cipher called Caesar Cipher. Now if we are given a...

    We have learned a famous shift cipher called Caesar Cipher. Now if we are given a plain test: THE ART OF WARAnd key = 3 (a shift by 3 letters), please give the ciphertext Given an 8 bit block P = 10101111 and a key K = 01101011, please give the result of bitwise XOR between P and K Please give the left 2 shift of the 8 bit text 01100101 Use the given a permutation table 23614857 to define...

  • E-Cube algorithm: 1. for source A and destination B, result = A XOR B 2. for...

    E-Cube algorithm: 1. for source A and destination B, result = A XOR B 2. for each non-zero bit in the result starting from the least significant (right most) travel along that dimension Using the above algorithm give the sequence of hops, node by node, for the following source and destinations on this hypercube: 1.0000→1111 2.1111→0000 3. 0101→1010 4. 1100→1000 5. 0001→1000 6. 0010→1111 AQ3 ю. AQ r000 1001 0010 101p.. 001 1011 1100, 1101 0110 Ц10

  • 3. (2 10 20 points) Design a decade counter using a 2-4-2-1 weighted code for decimal...

    3. (2 10 20 points) Design a decade counter using a 2-4-2-1 weighted code for decimal digits (see table below) using the following flip-flop types: a. D Flip-flops S-R Flip-flops b. Digit ABCD 0000 1 0001 2 0010 3 0011 4 0100 1011 6 1100 7 1101 8 1110 1111 4. (6 points) Redraw the circuit from problem 3.a. using NAND gates only. 3. (2 10 20 points) Design a decade counter using a 2-4-2-1 weighted code for decimal digits...

  • Please show work! 2. Now, give it a try by converting the binary number 01110110 to...

    Please show work! 2. Now, give it a try by converting the binary number 01110110 to decimal by filling in the same table in step 1 r of 2 Pov 128 64 32 16 Cumulative Amount 4. Now, you give it a try by converting the decimal number 131 to binary by filling in the table Power of 2 128 32 16 Bit Amount Remaining 6. Use the binary to hexadecimal table to convert the binary number 01101111 to hexadecimal...

  • Please help me out.. A and C Question. 5. (30 points) Consider a computer with byte...

    Please help me out.. A and C Question. 5. (30 points) Consider a computer with byte addressable main memory bytes, and the block size is 8 bytes. Assume that a direct mapping cache consisting 32 lines is used with this machine. (a) (5 points) How many bits are required to hold a memory address? (b) (5 points) How many total bytes of memory can be stored in the cache? 256 bytes (C) (10 points) How is that memory address divided...

  • Q5) A combinational circuit with internal signals and signal propagation delays Shown below is a combination...

    Q5) A combinational circuit with internal signals and signal propagation delays Shown below is a combination circuit that takes 5 inputs (LO L1, L2, L3, and Comp), and generates 4 outputs (L4, L5, L6, し7) Please design the entity as well as the test bench for this combinational circuit. In your design, please set up internal signals Al, B, A2, B2, A3, B3, A4, B4, A5, B5, A6, B6, A7 and B7 Your entity design is Your test bench design...

  • Assuming the square 2D memory organization shown in Figure 5.7 below, what are the dimensions of...

    Assuming the square 2D memory organization shown in Figure 5.7 below, what are the dimensions of a memory containing 64 (26) bytes of storage? How large would the MAR be?   How many bits are sent to the row and column decoders?   How many output lines would these decoders have? FIGURE 5.7 Column Column Column Column 2 (10) Address (00) 0001 0010 0011 Row O (00) 0100 0110 0111 Row 1 (01) Row selection lines 1000 1001 1010 1011 Row 2...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT