Computer Networks - Computer Networks Section 3

22. Host X has IP address 192.168.1.97 and is connected through two routers R1 and R2 to another host Y with IP address 192.168.1.80. Router R1 has IP addresses 192.168.1.135 and 192.168.1.110. R2 has IP addresses 192.168.1.67 and 192.168.1.155. The netmask used in the network is 255.255.255.224.
Which IP address should X configure its gateway as?

  • Option : B
  • Explanation : For ip address 192.168.1.110/28
    For network address keep Network bits as it is and put host bits =0 in any given IP address.
    Network address
    = 192.168.1.01100000 ⟶ 192.168.1.96
    For: 192.168.1.97/28
    Network address
    = 192.168.1.01100000 ⟶ 192.168.1.96
Cancel reply
Cancel reply

23. If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?

  • Option : C
  • Explanation : Starting address : 255. 255. 248.0
    End address : 255. 255. 255. 254.
Cancel reply
Cancel reply

24. Suppose computers A and B have IP addresses 10.105.1.113 and 10.105.1.91 respectively and they both use the same netmask N. Which of the values of N given below should not be used if A and B should belong to the same network?

  • Option : D
  • Explanation : Given : 10.105.1.113 and 10.105.1.91
    When these are in same network, then AND with netmask give the address of same ID otherwise these are in different class in these only AND with 255.255.255.224 are in different class
    This is 96 and 64. Then these are different ID means 10.105.1.96 and 10.105.1.64 are different ID. So this is not in same network.
    functions of osi

    When we do the similar operation with 2nd IP, it gives 10.105.1.64
    Here, it gives different IP
    but for the rest it gives same IP.
Cancel reply
Cancel reply

25. In the I Pv4 addressing format, the number of networks allowed under Class C addresses is

  • Option : C
  • Explanation : For class C address, size of network field is 24 bits. But first 3 bits are fixed as 110; hence total number of networks possible is 221
Cancel reply
Cancel reply