Professional Documents
Culture Documents
Assignment 2 solution
Page 74 problem 7
a. Given transmissions rate of 3 Mbps
Minimum transmissions rate is 150 Kbps
Each node needs static allocation of the bandwidth
! !"#$
!""" !"#$
# Of users supported is
=
= 20
!"# !"#$
!"# !"#
!!!
, = 0,1,2,3, ,
120
0.1 ! 1 0.1 !"#!! , = 0,1,2,3, ,120
!"
=1
( = )
!!!
!"
= 1
!!!
120
0.1 ! (1 0.1)!"#!!
= 1 0.9921 = 0.0079
Page 422 R13
Using a binary converter:
223 = 11011111
1 = 00000001
3 = 00000011
27 = 00011011
So, 223.1.3.27 in base two binary is 11011111. 00000001. 00000011. 00011011
Page 426 P 6
Transport layer is an end-to-end layer; from Source Destination. A program on the
source computer will carry on the conversation with similar program on destination computer.
The service, however, is a type of service that is used to deliver messages is determined when the
connection between the two computers is established. So, transport layer is called a connection
oriented service.
On the other hand, the network layer is a connection service because it is a layer where
actual connections are established and packets are transferred from source to destination by use of
routers.
Page 427 P9
a. Forwarding table:
Prefix match
Link interface
11100000.00
0
11100001.01000000
1
11100000.01000001
2
11100001.01111111
2
Otherwise
3
Link interface 0 has a of 10 bits, interface 1 has 16 bit match; interface 2 has 10 bits match.
b. The forwarding table
Address
11001000.10010001.01010001.01010101
11100001.01000000.11000011.00111100
11100001.10000000.00010001.01110111
Page 427 P10
Prefix
00
010
011
10
11
Minimum
00000000 = 0
01000000 =64
01100000 =96
10000000 =128
11000000 =192
Maximum
00111111 = 63
01011111 = 95
01111111 = 127
10111111 =191
11111111 =255
Link interface
3
1
2
Range= Address
2! = 64
2! = 32
2! = 32
2! = 64
2! = 64
Interface
0
1
2
2
3