794 views
0 votes
0 votes
Given a classful network if we are given an IP address . How do we deffertiate it as DBA or Subnetmask ?
Are the same ? Please explain with an example

1 Answer

Best answer
4 votes
4 votes

convert to binary and see..
in subnet mask all bits in NID and SID will be all 1s and HID part will be all 0s
in DBA all bits in HID will be 1

example, for 200.1.2.0 (class C)
subnet mask will be 255.255.255.192(if suppose 2 bits are chosen for subnetting...class C means NID contains 24 bits and 8 bits as HID and from those 8 bits in HID we selected 2 bits for subnetting..so, get the subnet mask put all (24+2) bits as 1 and remaining 6 bits as 0)
and,DBA=200.1.2.255 (let us assume no subnetting is done here so we have 24 bits as NID..let it be as it is and put all 1s in remaining 8 bits of HID)

selected by

Related questions

0 votes
0 votes
2 answers
1
Jafar Sarif asked Jan 10, 2019
796 views
Distance vector uses broadcasting for transfer of vectors among it neighbors. but can it use flooding for this purpose. i am getting confused between flooding and broadca...
1 votes
1 votes
1 answer
3
radha gogia asked May 24, 2018
2,294 views
Isn't the flow control mechanism helping to prevent congestion in the network ?I am not getting how there is congestion at process end , if we say that buffer size is ful...