Problem 1 . Ethernet Frame ( 10 pt.) Describe the Ethernet standard frame struct
ID: 3825436 • Letter: P
Question
Problem 1. Ethernet Frame (10 pt.)
Describe the Ethernet standard frame structure and explain the role of each field defined in the structure.
Problem 2. 2D Parity (10 pt.)
Suppose the information portion of a packet contains 10 bytes as follows:
D: 01001100 01101001 01101110 01101011 00100000
01001100 01100001 01111001 01100101 01110010
Suppose an odd parity scheme is being used. What would be the value of the field containing the parity bits be for the case of a two-dimensional parity scheme? Assume the bits in D are divided into 10 rows and 8 columns (i.e., each byte is a row).
Problem 3. CRC (10 pt.)
Assume that the message M: 1101011011 (10 bits) has to be transmitted and the generator function G: 10011 (5 bits) is used for error detection in the CRC scheme. Calculate the redundancy code. What will be the bit sequence that actually gets transmitted? Show your work.
Problem 4. LAN Addressing (20 pt.)
Consider the following three LANs interconnected by 2 routers. The table shows assigned IP addresses for hosts and routers in the network.
Interface
IP address
MAC address
A
129.128.0.100
AA-12-34-56-78-90
B
129.128.0.101
BB-12-34-56-78-90
C
129.128.1.100
CC-12-34-56-78-90
D
129.128.1.101
DD-12-34-56-78-90
E
129.128.2.100
EE-12-34-56-78-90
F
129.128.2.101
FF-12-34-56-78-90
Router 1 left
129.128.0.1
11-00-00-00-00-01
Router 1 right
129.128.1.1
11-00-00-00-00-02
Router 2 left
129.128.1.2
12-00-00-00-00-01
Router 2 right
129.128.2.1
12-00-00-00-00-02
Suppose Host A sends a datagram to Host E.
a. Give the source and destination MAC addresses in the frame encapsulating this IP datagram as the frame is transmitted from A to the left router. Also give the source and destination IP addresses in the IP datagram encapsulated within the frame.
b. Now give the source and destination MAC addresses in the frame encapsulating this IP datagram as the frame is transmitted from the left router to the right router. Also give the source and destination IP addresses in the IP datagram encapsulated within the frame.
c. Repeat the same thing as above a and b for the frame from the right router to E.
d. Now suppose that the two routers in the figure are replaced by switches. What are the source and the destination MAC addresses and the source and destination IP addresses in the packet transmitted from A (to E)?
Problem 5. Link State Routing (30 pt.)
Consider the following network.
a. (16 pt.) With the indicated link costs, use Dijkstra’s shortest-path algorithm to compute the shortest path from “w” to all network nodes. Show how the algorithm works by computing the table below. Note: If there exists any tie in each step, choose the left-most column first.
Step
N’
D(s),
p(s)
D(t),
p(t)
D(u),
p(u)
D(v),
p(v)
D(x),
p(x)
D(y),
p(y)
D(z),
p(z)
0
1
2
3
4
5
6
7
b. (7 pt.) Construct the shortest path tree from the above routing table
c. (7 pt.) Construct a forwarding table from the above routing table
Destination
Link
Interface
IP address
MAC address
A
129.128.0.100
AA-12-34-56-78-90
B
129.128.0.101
BB-12-34-56-78-90
C
129.128.1.100
CC-12-34-56-78-90
D
129.128.1.101
DD-12-34-56-78-90
E
129.128.2.100
EE-12-34-56-78-90
F
129.128.2.101
FF-12-34-56-78-90
Router 1 left
129.128.0.1
11-00-00-00-00-01
Router 1 right
129.128.1.1
11-00-00-00-00-02
Router 2 left
129.128.1.2
12-00-00-00-00-01
Router 2 right
129.128.2.1
12-00-00-00-00-02
LAN Router 1 LAN Router 2 LANExplanation / Answer
Problem 1.
Ethernet Standard Frame Structure:
7 bytes
1 byte
2 or 6 bytes
2 or 6 bytes
2 bytes
4-1500 bytes
4 bytes
Preamble
Start
Frame Delimiter
Dest.
MAC address
Length
(Data/Pad)
DSAP|SSAP|CTRL|NLI
7 bytes
1 byte
2 or 6 bytes
2 or 6 bytes
2 bytes
4-1500 bytes
4 bytes
Preamble
Start
Frame Delimiter
Dest.
MAC address
Length
(Data/Pad)
DSAP|SSAP|CTRL|NLI
FCSRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.