You are on page 1of 4

Interview Questions

What is OSI model?


OSI model is a reference model containing 7 layers such as physical layer, data link layer, network layer, transport layer, session layer, presentation layer and application layer.

What is TCP/IP model?


TCP/IP model is an implementation of OSI reference model. It has five layers. They are: Network layer, Internet layer, Transport layer and Application layer.

What is the full form of OSI and TCP/IP model?


y y
OSI stands for = Open Systems Interconnection (OSI) model TCP/IP stands for = Transmission Control Protocol/ Internet Protocol

What are the differences between OSI and TCP/IP model?


Important differences are: OSI is a reference model and TCP/IP is an implementation of OSI model. OSI has 7 layers whereas TCP/IP has only 4 layers the upper 3 layers of the OSI model is combined on the TCP/IP model. OSI has: physical layer, data link layer, network layer, transport layer, session layer, presentation layer and application layer TCP/IP has: Network layer, Internet layer, transport layer and application layer.

What are the differences among router, switch, bridge and hub?
All of them are devices and are used in network. Their differences are:

y y y y

Router: Layer 3 devices, can work on physical, data and network layer. Switch: Layer 2 device, can work on data link layer Bridge: Layer 2 devices, can work on data link layer. Hub: Layer 1device, just a multi-port repeater and works on physical layer

ARP resolves what? Address or IP?


ARP stands for Address Resolution Protocol. It helps to find the hardware address or MAC address when IP address is known.

Which layer of OSI is responsible for end-to-end communication?


Transport layer.

Why we have to use router?


To communicate several networks, routers are used. Routers have both broadcast domain and collision domain.

RARP resolves what? Address or IP?


RARP stands for Reverse Address Resolution Protocol. It helps to find the IP address when physical or hardware or MAC address is known.

What are the difference between TCP and UDP?


y y
TCP: Connection oriented protocol, acknowledged one, Point to point communication. UDP: Connection less protocol, unreliable, less traffic

Mention one real place to use TCP/IP.


LAN cards

What are the responsibilities of Network Layer?


y y
Logical addressing Best effort delivery

Data link layer is sub-divide into how many groups?


y y y
2 sub-divided groups: MAC Layer and LLC layer MAC: Media Access Control/Medium Access Control LLC: Logical Link Control

What is the way to establish a TCP connection?


By using acknowledgement.

What is the difference between flow control and error control?


y y
Flow control: adjust and confirm data flow rate for successful transmission. Error Control: a way to recover corrupted data.

Which layer is closer to the user?


Upper layer i.e. Application layer is closer to the user.

Differentiate between forward lookup and reverse lookup in DNS?


y y
Forward lookup is: name-to-address, Reverse lookup is: address-to-name.

You have one IP: 192.168.10.29. In which layer this IP works?


Network layer.

You are in home. But you need to access the office server router. How can you do that?
By using "Telnet"

DNS uses which protocol? Why?


DNS uses both TCP or UDP or both. UDP can handle only 512bytes. If data size is within 512 bytes UDP is used, otherwise, TCP is used.

Switch operates on which layer of OSI model?


Normal switch operates at Layer 2 i.e. data link layer and Intelligent switch operates at Layer 3 i.e. network layer.

What is the upper layer name of OSI layer?


Application layer.

Name 4 example of application layer?


DNS, FTP, Telnet, http

How does ARP response the request?


ARP sents the request in broadcast, response is unicast

Error control is down in which layer?


Layer 4

Name the 2 sublayers of data link layer.


MAC sublayer and LLC sublayer

TCP/IP has how many layers?


5 layers: Network layer, Internet layer, Transport layer and Application layer.

What is the data unit of "Transport layer"?


Segment

What are the differences of MAC sublayer and LLC sublayer?


In fact, Data Link layer has 2 sublayer: MAC sublayer & LLC sublayer.

y y

MAC sublayer(802.3): defines how to transmit data on physical layer LLC sublayer (802.2): responsible for identifying different protocol logically & encapsulate them.

You might also like