Basic Networking Interview Questions and Answers
Question: What is Public IP Address and Private IP Address?
Ans: A public IP address is an IP address that can be accessed over the Internet. Private IP address on the other hand is used to assign computers within your private space without letting them directly expose to the Internet.
Question: What are the ranges of Private IP Address?
Ans: The following defines the ranges of Private IP Address.
A Class = 10.0.0.0 – 10.0.0.255
B Class = 172.16.0.0 – 172.31.0.0
C Class = 192.168.0.0 – 192.168.0.255
Question: What is Spanning tree protocol?
Ans: STP or Spanning Tree Protocol is used to avoid looping in a switch. STP will have two bridges i.e., Root bridge and Non-Root bridge. Root bridge connects the port are called root ports where as Non-Root bridge connects the ports are called a s designated port.
Question: What are the different states in Spanning Tree Protocol?
Ans: The following are the different states in Spanning Tree Protocol:
Question: Which protocol switch use for filling its MAC-Table?
Ans: Switch uses ARP – Address Resolution Protocol to fill its Mac-Address.
Question: What is the difference between half duplex and full duplex?
Ans: In full duplex, sender can be multiple whereas in half duplex, sender should be one