Problem 1 - Consider the following IP forwarding table: Destination Output Port
ID: 3708040 • Letter: P
Question
Problem 1 - Consider the following IP forwarding table:
Destination Output Port
240.88.0.0/13 1
240.94.0.0/15 2
240.94.128.0/17 3
Default 4
To which ports would packets with the following destination addresses be forwarded? Explain how you arrive at the answer.
(a) 240.94.100.10
(b) 240.93.10.20
(c) 240.94.127.15
(d) 240.94.200.13
(e) 240.87.11.11
Problem 2 - Consider a switch S with four hosts A, B, C, D attached to it. A is attached to port 0, B to port 1, C to port 2, and D to port 3. The switch has just been turned on, so its forwarding table is empty. The switch now sees now sees the following traffic in the given order:
Frame from A to C.
Frame from C to A.
Frame from B to A.
Frame from B to D
Frame from A to B.
Show the forwarding table of the switch immediately after each frame is seen, and indicate if the frame is flooded (sent out on all ports except the port of arrival) or unicast (sent out over just one port).
Problem 3 - The following row-column parity matrix is received (assume even parity is used):
Column
0 1 2 3 4
--------------
0| 1 0 1 1 1
1| 0 0 1 0 0
Row 2| 1 1 0 1 1
3| 0 0 0 0 0
Which bit is in error ? Explain.
Problem 4- Consider the following network: A ------- R1 -------- R2 ------ B.
Host A IP Address: 192.168.1.10
Host A MAC Address of its interface: 00-11-22-33-44-55
Router R1 IP address of left interface: 192.168.1.1
Router R1 MAC Address of left interface: aa-bb-cc-dd-ee-ff
Host B IP address: 10.1.1.1
Host B MAC Address of its interface: 22-33-44-55-66-77
Host A sends an IP datagram to Host B. The datagram is encapsulated inside an Ethernet frame and sent to router R1. What source MAC address and destination MAC address will A put in the header of the Ethernet frame? What source IP address and destination IP address will A put in the header of the IP datagram?
Explanation / Answer
Solution:
Note: The first question is done as per Chegg guidelines, please repost others.
1)
The table is:
Destination Output Port
240.88.0.0/13 1
240.94.0.0/15 2
240.94.128.0/17 3
Default 4
(a) 240.94.100.10
(b) 240.93.10.20
(c) 240.94.127.15
(d) 240.94.200.13
(e) 240.87.11.11
a)
240.94.100.10 the output port will be 2
since 240.94.100.10 is in the range of 240.94.0.0/15 to 240.94.128.0/17 according to the forwarding table
b)
240.93.10.20 the output port will be 1
since it in the range of 240.88.0.0/13 to 240.94.0.0/15 according to the forwarding table
c)
240.94.127.15 the output port will be 2
since it is in the range of 240.94.0.0/15 to 240.94.128.0/17 according to the forwarding table
d)
240.94.200.13 the output port will be 3
since it is in the range is beyond 240.94.128.0/17 according to the forwarding table
e)
240.87.11.11 the output port will be default
since it is in the range is below 240.88.0.0/13 according to the forwarding table
I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.