Networking and protocols interview questions

Q: What are the seven layers of the OSI model?

A: The layers are physical, data link, network, transport, session, presentation, and application layers.

Q: In the TCP client-servel model, how does the three-way handshake work in opening connection?

A: The client first sends a packet with sequence "x" to the server. When the server receives this packet, the server will send back another packet with sequence "y", acknowledging the request of the client. When the client receives the acknowledgement from the server, the client will then send an acknowledge back to the server for acknowledging that sequence "y" has been received.

Q: What is the purpose of exchanging beginning sequence numbers during the the connection in the TCP client-server model?

A: To ensure that any data lost during data transfer can be retransmitted.

Q: How does Asynchronous Transfer Mode (ATM) work?

A: ATM works by transmitting all traffic in small, fixed-sized cells. These small, fixed-size cells reduces queuing delay and can be switched quickly. ATM fits into layer 2 of the OSI model and provides functions for framing and error correction. At the port interface, ATM switches convert cells into frames, and vice versa. ATM provides Quality of Service and traffic shaping.

Q: Given a Class B Network with subnet mask of and a packet addressed to, what is the subnet address?

A: Take the 2 addresses, write them in binary form, then AND them. The answer is

This entry was posted in Networking. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

6 Comments on Networking and protocols interview questions

  1. Sreedhar
    Posted 3/18/2005 at 6:42 am | Permalink

    How duplicated packets are generated in the network?
    Answer: Due to re-transmissions

  2. Harsha
    Posted 4/7/2005 at 6:40 pm | Permalink

    This is regarding the question :-
    Q: Given a Class B Network with subnet mask of and a packet addressed to, what is the subnet address?
    As the solution mentions, we need to AND the mask and IP. The first two octets we know represent the network address of the class B IP. From the given mask, in the third octet, there are five bits for the sub-network, meaning the subnetwork of the given IP has the value 16. So the sub-network would be 130.40.16.x .

    The mentioned answer would be true if the third octet in the mask was 255.

    Comments welcome.

  3. tanktop
    Posted 8/2/2006 at 3:07 pm | Permalink

    Regarding 2… the answer is correct for the host…. ->

  4. santhosh
    Posted 3/2/2007 at 9:41 am | Permalink

    1.physical layer
    2.datalink layer layer
    4.transport layer
    5.session layer
    6.presention layer
    7.application layer

  5. Ajay
    Posted 8/24/2007 at 6:38 am | Permalink

    the address range is correct in that Subnetting Question .

    count in the blocks of 16. - - -
    and so on…

  6. nagesh
    Posted 3/5/2008 at 1:26 am | Permalink

    windows  some run commands.

    services : services.msc
    control panel : control
    Add or remove programs : appwiz.cpl
    Group Policy Editor : gpedit.msc
    Internet Properties :inetcpl.cpl
    Local Users and Groups :lusrmgr.msc
    Network Connections :ncpa.cpl
    ODBC Data Source Administrator :odbccp32.cpl
    System Properties :sysdm.cpl
    windows firewall :firewall.cpl
    Iexpress Wizard :iexpress
    Internet Properties :inetcpl.cpl

Post a Comment

Your email is never published nor shared. Required fields are marked *