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 255.255.248.0 and a packet addressed to 130.40.32.16, what is the subnet address?

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

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 255.255.248.0 and a packet addressed to 130.40.32.16, 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 130.40.32.0 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 130.40.32.0 is correct for the host 130.40.32.16….

    130.40.32.0(network) -> 130.40.39.255(broadcast)

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

    1.physical layer
    2.datalink layer
    3.network 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.
    130.40.16.0 - 130.40.31.255
    130.40.32.0 - 130.40.47.255
    130.40.48.0 - 130.40.63.255
    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 *

*
*