![]() |
Notice! The role of this model answer is instructional only. The answers might not cover everything in detail that the questions asks. The answers give you the content of the answer and idea what it should be. The things that are important in the grading of the homework have been emphasized. If there is a mistake in the model answer in your opinion, please let the course staff know!
_____________
11001|110111010000
11001
-----
00010101
11001
-----
011000
11001
-----
00001000
-> remainder 1000
_____________
10001|111001011011
10001
-----
011011
10001
-----
010100
10001
-----
0010111
10001
-----
0011001
10001
-----
010001
10001
-----
00000
no remainder -> no errors :) Should be accepted
Values given:
frame size 2048
connection speed A 56kbps = 56000 b/s
connection speed B 2 Mbps = 2x10**6 b/s
propagation speed 1 2x10**8m/s
propagation speed 2,3 3x10**8m/s (2x10**8m/s also accepted)
distance 1 3000m
distance 2 20000m
distance 3 50x10**6m
BER 10**-5
One frame transmission time Tx is the frame size divided by the
connection speed.
TxA 2048/56000 = 0.0366 s
TxB 2048/2x10**6 = 0.001024 s
Transmission delay Tp is the distance in meters divided by the
propagation speed.
Tp1 3000/2x10**8=1.5e-5s
Tp2 20000/3x10**8=6.67e-5s
Tp3 50x10**6/3x10**8=0.167s
The link utilization U with errors is
U=(1-Pf)/(1+2*a)
a = Tp/Tx
Pf ~ N*P = 2048x10**-5=0.02048
1. A. a=Tp1/TxA=4.0983e-4
U=(1-Pf)/(1+2*a)=0.98
B. a=Tp1/TxB=0.01465
U=(1-Pf)/(1+2*a)=0.95
2. A. 0.98
B. 0.86
3. A. 0.1
B. 0.003
Case one:
173.223.95.105(D)=1010 1101.1101 1111.0101 1111.0110 1001(B)
173.223.90.125(D)=1010 1101.1101 1111.0101 1010.0111 1101(B)
XOR -----------------------------------------
0000 0000.0000 0000.0000 0101.0001 0100
subnet mask 1111 1111.1111 1111.1111 1000.0000 0000
AND ---------------------------------------
0000 0000.0000 0000.0000 0000.0000 0000
So, they are in the same subnet
Case Two:
173.223.95.105(D)=1010 1101.1101 1111.0101 1111.0110 1001(B)
subnet mask=1111 1111.1111 1111.1111 1000.0000 0000
AND ---------------------------------------
1010 1101 1101 1111 0101 1000 0000 0000
173.223.90.125(D)=1010 1101.1101 1111.0101 1010.0111 1101(B)
subnet mask 1111 1111.1111 1111.1111 1000.0000 0000
AND ---------------------------------------
1010 1101 1101 1111 0101 1000 0000 0000
They share the same subnet number.
So they are in the same subnet.
These two methods are both accepted for this question.
(Notice: If you used bits, the lenght should be 51m.)