18 lines
313 B
Plaintext
18 lines
313 B
Plaintext
zad.1.
|
|
wyśle 15 pakietów i odbierze 4
|
|
zad.2.
|
|
a) 11111111.11111110.0.0
|
|
255.254.0.0
|
|
b) 11111111.11111111.11111100.0
|
|
255.255.252.0
|
|
c) 11111111.10000000.0.0
|
|
255.128.0.0
|
|
|
|
zad.3.
|
|
a) 8*1+5*1+0+0=13
|
|
2^(32-13)-2=2^18
|
|
b)8*1+8*1+6*1+0=22
|
|
2^(32-22)-2=2^9
|
|
c)8*1+8*1+8*1+7*1=31
|
|
2^(32-31)-2=0 ale hostów jest 2
|