You are on page 1of 25

Describe the OSI model.

(pronounced as separate letters) Short for Open System Interconnection, an ISO standard for worldwide communications that
defines a networking framework for implementing protocols in seven layers. Control is passed from one layer to the next,
starting at the application layer in one station, proceeding to the bottom layer, over the channel to the next station and back
up the hierarchy.
At one time, most vendors agreed to support OSI in one form or another, but OSI was too loosely defined and proprietary
standards were too entrenched. Except for the OSI-compliant X.400 and X.500 e-mail and directory standards, which are
widely used, what was once thought to become the universal communications standard now serves as the teaching model for
all other protocols.
Most of the functionality in the OSI model exists in all communications systems, although two or three OSI layers may be
incorporated into one.
OSI is also referred to as the OSI Reference Model or just the OSI Model.

Open System Interconnection an ISO standard for worldwide communications that defines a networking framework for
implementing protocols in seven layers.The seven layers & Functions are:
(Layer 7) This layer supports application and end-user processes. Communication partners are identified, quality of service is
identified, user authentication and privacy are considered, and any constraints on data syntax are identified. Everything at
this layer is application-specific. This layer provides application services for file transfers, e-mail, and other network software
services. Telnet and FTP are applications that exist entirely in the application level. Tiered application architectures are part of
this layer.
(Layer 6) This layer provides independence from differences in data representation (e.g., encryption) by translating from
application to network format, and vice versa. The presentation layer works to transform data into the form that the
application layer can accept. This layer formats and encrypts data to be sent across a network, providing freedom from
compatibility problems. It is sometimes called the syntax layer.
(Layer 5) This layer establishes, manages and terminates connections between applications. The session layer sets up,
coordinates, and terminates conversations, exchanges, and dialogues between the applications at each end. It deals with
session and connection coordination.

(Layer 4) This layer provides transparent transfer of data between end systems, or hosts, and is responsible for end-to-end
error recovery and flow control. It ensures complete data transfer.
(Layer 3) This layer provides switching and routing technologies, creating logical paths, known as virtual circuits, for
transmitting data from node to node. Routing and forwarding are functions of this layer, as well as addressing,
internetworking, error handling, congestion control and packet sequencing.
Data Link
(Layer 2) At this layer, data packets are encoded and decoded into bits. It furnishes transmission protocol knowledge and
management and handles errors in the physical layer, flow control and frame synchronization. The data link layer is divided
into two sub layers: The Media Access Control (MAC) layer and the Logical Link Control (LLC) layer. The MAC sub layer
controls how a computer on the network gains access to the data and permission to transmit it. The LLC layer controls frame
synchronization, flow control and error checking.
(Layer 1) This layer conveys the bit stream electrical impulse, light or radio signal through the network at the electrical
and mechanical level. It provides the hardware means of sending and receiving data on a carrier, including defining cables,
cards and physical aspects. Fast Ethernet, RS232, and ATM are protocols with physical layer components.
Application Layers Usage Example :
7. Application Layer NNTP SIP SSI DNS FTP Gopher HTTP NFS NTP SMPP SMTP SNMP Telnet (more)
6. Presentation Layer : MIME XDR
5. Session Layer : Named Pipes NetBIOS SAP
4. Transport Layer : TCP UDP PPTP SCTP SSL TLS
3. Network Layer : IP ICMP IPsec IGMP IPX AppleTalk
2. Data Link Layer ARP : CSLIP SLIP Ethernet Frame relay ITU-T DLL L2TP PPP
1. Physical Layer : RS-232 V.35 V.34 I.430 I.431 T1 E1 POTS SONET/SDH OTN DSL 802.11a/b/g/n PHY

What is the difference between a repeater, bridge, router? Relate this to the OSI model
(sometimes called Transparent bridges ) work at OSI model Layer 2. This means they dont know anything about protocols,
but just forward data depending on the destination address in the data packet. This address is not the IP address, but the
MAC (Media Access Control) address that is unique to each network adapter card. Bridges are very useful for joining networks
made of different media types together into larger networks, and keeping network segments free of data that doesnt belong
in a particular segment.

Switches are the same thing as Bridges, but usually have multiple ports with the same flavor connection (Example:
Switches can be used in heavily loaded networks to isolate data flow and improve performance. In a switch, data between two
lightly used computers will be isolated from data intended for a heavily used server, for example. Or in the opposite case, in
auto sensing switches that allow mixing of 10 and 100Mbps connections, the slower 10Mbps transfer wont slow down the
faster 100Mbps flow.
Forwards every frame it receives
it is a generator,not an amplifier(i.e it removes noise & regenerates signal )
Bi-directional in nature
Useful in increasing ethernet size/length
Maximum of 5 Repeaters in an Ethernet
Links dissimilar n/ws
not transparent to end stations
acts on a network layer frame
isolates LAN to subnets to manage & control traffic

Describe an Ethernet switch and where it fits into the OSI model.
A switch is a hardware device that works at Layer 2 of the OSI model data link. The data link layer is where the Ethernet
protocol works.
A switch switches Ethernet frames by keeping a table of what MAC addresses have been seen on what switch port. The switch
uses this table to determine where to send all future frames that it receives. In Cisco terminology, this table is called the CAM
table (content addressable memory). In general, the proper term for this table is the bridge forwarding table. If a switch
receives a frame with a destination MAC address that it does not have in its table, it floods that frame to all switch ports.
When it receives a response, it puts that MAC address in the table so that it wont have to flood next time.
A switch is a high-speed multiport bridge. This is why bridges are no longer needed or manufactured. Switches do what
bridges did faster and cheaper. Most routers can also function as bridges.
You might be asking how a hub fits into this mix of devices. A hub is a multiport repeater. In other words, anything that
comes in one port of a hub is duplicated and sent out all other ports of the hub that have devices attached. There is no
intelligence to how a hub functions. A switch is a vast improvement over a hub in terms of intelligence, for many reasons. The
most important of those reasons is how the bridge forwarding table works. Intelligent (smart) switches have made hubs
obsolete because they can do more at the same cost of a dumb hub. For this reason, hubs are rarely used or sold any longer.
v What is a VLAN? What is an ELAN? What is the difference?
Short for virtual LAN, a network of computers that behave as if they are connected to the same wire even though they may
actually be physically located on different segments of a LAN. VLANs are configured through software rather than hardware,
which makes them extremely flexible. One of the biggest advantages of VLANs is that when a computer is physically moved
to another location, it can stay on the same VLAN without any hardware reconfiguration.
A VLAN is a logical local area network (or LAN) that extends beyond a single traditional LAN to a group of LAN segments,
given specific configurations. Because a VLAN is a logical entity, its creation and configuration is done completely in software.
VLAN Virtual Local Area Network
ELAN Emulated Local Area Network
Difference between these two are as follows:Without going into the mechanics of ELANs and how they are configured, an ELAN (Emulated LAN) connects VLANs over a

A VLAN (Virtual LAN) is a grouping of ports on switches which is considered as one broadcast domain. All the ports on a
VLAN act as if they were all on the same wire. Therefore, broadcasts are propagated across a VLAN ,and anything
communication outside that VLAN must be routed or bridged.
The ELAN is a mechanism used to link VLANs across a wide area network. ATM is a good candidate for ELANs. With ELANs,
you could have 2 VLANs at different

sites which are linked together via an ELAN. The ELAN links the two VLANs

Together, forming one big broadcast domain. The advantage of ELANs over straight bridging is that membership into ELANs
is dynamic, and that multiple ELANs can be handled by one single WAN link.

Describe Ethernet packet contents: min./max. size, header.

Ethernet frame consists of:

7 bytes Preamble
1 byte SOF Delimiter
6 bytes DA
6 bytes SA
2 bytes Type\Length
46-1500 bytes Data \ 802.2 Header + Data
4 bytes FCS
Min amount of bytes is 72. Ethernet frame minimal size is 64 = 72 bytes of frame 7 bytes of preamble 1 byte of SOF.
The ethernet frame size upper limit of 1500 bytes goes up to the history of DIX Ethernet physical limit of memory size used
in NICs because of its cost. Actually there is no strict requirements by used algorythms or standarts.
Lower limit of frame size has the following reasons:
1. To make transmission error detection more easy smaller size of binary sequence leads to lower reliability of error
2. The most important reason: If frame size is less than 64 bytes (512 bits), host may finish transmission before receiving
noise signal and can think that frame transmitted successfully, while another host sent collision notification.
For 10 Mbps rate min frame size should be at least 500 bits thats the only guarantee that collision can be detected
anywhere in the cable. For reliability min size was increased up to 512 (power of 2) and became 512 bits = 64 bytes.
the min size was to make sure that it contains enough ethernet headers.
the max size also has something to do with the data written in the headers.

Describe TCP/IP and its protocols.

The TCP/IP suite of protocols is the set of protocols used to communicate across the internet. It is also widely used on many
organizational networks due to its flexibility and wide array of functionality provided. Microsoft who had originally developed
their own set of protocols now is more widely using TCP/IP, at first for transport and now to support other services.
IP Internet Protocol. Except for ARP and RARP all protocols data packets will be packaged into an IP data packet. IP provides
the mechanism to use software to address and manage data packets being sent to computers.
TCP/IP is a two-layer program. The higher layer, Transmission Control Protocol, manages the assembling of a message or file
into smaller packets that are transmitted over the Internet and received by a TCP layer that reassembles the packets into the
original message. The lower layer, Internet Protocol, handles the address part of each packet so that it gets to the right
destination. Each gateway computer on the network checks this address to see where to forward the message. Even though
some packets from the same message are routed differently than others, theyll be reassembled at the destination.

TCP A reliable connection oriented protocol used to control the management of application level services between computers. It is used for transport by some

UDP An unreliable connection less protocol used to control the management of application level services between computers. It is used for transport by some
applications which must provide their own reliability.
Many Internet users are familiar with the even higher layer application protocols that use TCP/IP to get to the Internet. These
include the World Wide Webs Hypertext Transfer Protocol (HTTP), the File Transfer Protocol (FTP), Telnet (Telnet) which lets
you logon to remote computers, and the Simple Mail Transfer Protocol (SMTP). These and other protocols are often packaged
together with TCP/IP as a suite.

Describe ATM and what are its current advantages and disadvantages.

Describe SONET
ATM (asynchronous transfer mode) is a dedicated-connection switching technology that organizes digital data into 53-byte
cell units and transmits them over a physical medium using digital signal technology. Individually, a cell is processed
asynchronously relative to other related cells and is queued before being multiplexed over the transmission path.
Because ATM is designed to be easily implemented by hardware (rather than software), faster processing and switch speeds
are possible. The prespecified bit rates are either 155.520 Mbps or 622.080 Mbps. Speeds on ATM networks can reach 10
Gbps. Along with Synchronous Optical Network (SONET) and several other technologies, ATM is a key component of
broadband ISDN (BISDN).
ATM also stands for automated teller machine, a machine that bank customers use to make transactions without a human

Advantages and Disadvantages of ATM

ATM Advantages
ATM supports voice, video and data allowing multimedia and mixed services over a
single network.
High evolution potential, works with existing, legacy technologies
Provides the best multiple service support
Supports delay close to that of dedicated services
Supports the broadest range of burstiness, delay tolerance and loss performance through the implementation of multiple QoS classes
Provides the capability to support both connection-oriented and connectionless traffic using AALs
Able to use all common physical transmission paths like SONET.
Cable can be twisted-pair, coaxial or fiber-optic
Ability to connect LAN to WAN
Legacy LAN emulation
Efficient bandwidth use by statistical multiplexing
Higher aggregate bandwidth
High speed Mbps and possibly Gbps
ATM disadvantages

Flexible to efficiencys expense, at present, for any one application it is usually possible to find a more optimized technology
Cost, although it will decrease with time
New customer premises hardware and software are required
Competition from other technologies -100 Mbps FDDI, 100 Mbps Ethernet and fast Ethernet

Presently the applications that can benefit from ATM such as multimedia are rare
The wait, with all the promise of ATMs capabilities many details are still in the standards process

What are the maximum distances for CAT5 cabling?

A good standard answer is 100 meters (300 feet) with patch cords,90 meters (270 feet) without patch
cords. That goes pretty much for everything up to and including CAT 7/Class Fa UTP.

Maximum cable lengh for ethernet depends on what kind of ethernet you are talking
about! Here are some details on the most popular kinds of ethernet. (UTP = unshielded twisted
Gigabit Ethernet (over copper), 1000baseT

Max Len:

1000 Mbps
100 Meters
UTP, RJ-45 connectors

Fast Ethernet, 100baseT

Max Len:

100 Mbps
100 Meters
UTP, RJ-45 connectors

Twisted Pair Ethernet, 10baseT

Max Len:

10 Mbps
100 Meters
UTP, RJ-45 connectors

Thin Ethernet , 10 base 2

Max Len:

10 Mbps
185 Meters
RG-58 type coax, 50 ohm impedance

Thick Ethernet, 10 base 5

Max Len:

10 Mbps
500 Meters
RG-58 type coax, 50 ohm impedance

Describe UDP and TCP and the differences between the two.

TCP A reliable connection oriented protocol used to control the management of application level services between
computers. It is used for transport by some applications.
UDP An unreliable connection less protocol used to control the management of application level services between
computers. It is used for transport by some applications which must provide their own reliability.

Describe what a broadcast storm is.

A state in which a message that has been broadcast across a network results in even more responses, and each response
results in still more responses in a snowball effect. A severe broadcast storm can block all other network traffic, resulting in a

network meltdown. Broadcast storms can usually be prevented by carefully configuring a network to block illegal broadcast

Describe what a runt, a giant, and a late collision are and what causes each of them.

A runt is a packet that fails to meet the minimum size standard. Ussually below 64 bytes. Occurs as a result of a collision.
A giant is a packet that exceeds the size standard for the medium ussually grater then 1518 bytes . Caused by
malfunctioning equipment on your network.
Late collisions are packet collisions that occur after the window
for a network collision closes.

How do you distinguish a DNS problem from a network problem?

If youre able to ping but you are NOT able to ping , Then youre having a DNS problem.
[If you are NOT able to ping EITHER, then there are network problems and you have NO problems if you CAN ping BOTH]
You can then use nslookup to locate an alternate internal or external dns server that correctly resolves to its ip
address and configure your workstations NIC for this static dns server until the problems with the DHCP assigned DNS server
are fixed.
When u are able to ping the default gateway and the website address there is no problem in the network and DNS
When u are able to ping the the gateway and the WEBsite IP, but not the WEBsite address then it is a problem with the DNS
When u are not able to ping anything its network problem

Describe the principle of multi-layer switching.

Multilayer switching is simply the combination of traditional Layer 2 switching with Layer 3 routing in a single product.
Multilayer switching is new, and there is no industry standard yet on nomenclature. Vendors, analysts, and editors dont agree
about the specific meaning of terms such as multilayer switch, Layer 2 router, Layer 3 switch, IP switch, routing switch,
switching router, and wirespeed router. The term multilayer switch seems to be the best and most widely used description of
this class of product that performs both Layer 3 routing and Layer 2 switching functions.

Multilayer switching is usually implemented through a fast hardware such as a higher-density ASICs (Application-Specific
Integrated Circuits), which allow real-time switching and forwarding with wirespeed performance, and at lower cost than
traditional software-based routers built around general-purpose CPUs.
The following are some basic architecture approaches for the multiplayer switches:
Generic Cut-Through Routing:
In the multi-layer switching architecture Layer 3 routing calculations are done on the first packet in a data flow. Following
packets belonging to the same flow are switched at Layer 2 along the same route. In other words, route calculation and frame
forwarding are handled very differently here.
ATM-Based Cut-Through Routing:
This is a variation of generic cut-through routing which is based on ATM cells rather than frames. ATM-based cut-through
routing offers several advantages such as improved support of LAN emulation and multi-vendor support in the form of the
Multiprotocol Over ATM (MPOA) standard. Products referred to as IP switches and tag switches generally fall into this
Layer 3 Learning Bridging CIn this architecture, routing is not provided. Instead, it uses IP snooping techniques to learn the
MAC/IP address relationships of endstations from true routers that must exist elsewhere in the network. Then it redirects
traffic away from the routers and switches it based on its Layer 2 addresses.
Wirespeed Routing:
Wirespeed architecture routes every packet individually. It is often referred to as packet-by-packet Layer 3 switching. Using
advanced ASICs to perform Layer 3 routing in hardware, it implements dynamic routing protocols such as OSPF and RIP. In
addition to basic IP routing, it supports IP multicast routing, VLAN segregation, and multiple priority levels to assist in quality
of service.

Network Troubleshooting

Explain how traceroute, ping, and tcpdump work and what they are used for?

Traceroute works by increasing the time-to-live value of each successive batch of packets sent. The first three packets sent
have a time-to-live (TTL) value of one (implying that they are not forwarded by the next router and make only a single hop).
The next three packets have a TTL value of 2, and so on. When a packet passes through a host, normally the host decrements
the TTL value by one, and forwards the packet to the next host. When a packet with a TTL of one reaches a host, the host
discards the packet and sends an ICMP time exceeded (type 11) packet to the sender. The traceroute utility uses these
returning packets to produce a list of hosts that the packets have traversed en route to the destination. The three timestamp

values returned for each host along the path are the delay (aka latency) values typically in milliseconds (ms) for each packet in
the batch. If a packet does not return within the expected timeout window, a star (asterisk) is traditionally printed. Traceroute
may not list the real hosts. It indicates that the first host is at one hop, the second host at two hops, etc. IP does not
guarantee that all the packets take the same route. Also note that if the host at hop number N does not reply, the hop will be
skipped in the output.
It works by sending ICMP echo request packets to the target host and listening for ICMP echo response replies. Ping
estimates the round-trip time, generally in milliseconds, and records any packet loss, and prints a statistical summary when
traceroute and ping work on the ICMP protocol and are used for network connectivity testing. but TCPDUMP is different its a
NETWORK PACKET ANALYZER. tcpdump uses libpacp / winpcap to capture data and uses it extensive protocol definitions
build inside to analyze the captured packets. Its mainly used to debug the protocol of the captured packet which in turn
reveals the network traffic charachterstics.

What is a metric?

Metrics is a property of a route in computer networking, consisting of any value used by routing algorithms to determine
whether one route should perform better than another (the route with the lowest metric is the preferred route). The routing
table stores only the best possible routes, while link-state or topological databases may store all other information as well.
For example, Routing Information Protocol uses hopcount (number of hops) to determine the best possible route.
A Metric can include:

measuring link utilisation (using SNMP)

number of hops (hop count)
speed of the path
packet loss (router congestion/conditions)
latency (delay)
path reliability
path bandwidth
throughput [SNMP - query routers]


What is a network management system?

A Network Management System (NMS) is a combination of hardware and software used to monitor and administer a network
Effective planning for a network management system requires that a number of network management tasks be folded in a
single software solution. The network management system should automate the processes of expense management auditing,
asset lifecycle management, inventory deployment tracking, cost allocation and invoice processing.

Describe how SNMP works.

The simple network management protocol (SNMP) use for monitoring of network-attached devices for any conditions that
warrant administrative attention. It is use to manage IP network devices such as servers, routers, switches etc. Administrator
can find or manage network performance, solve problem or even optimize it further. It works at TCP/IP Application layer 5

Describe how WEP works and its strengths and weaknesses

As you probably already know Wired Equivalent Privacy (WEP) is used by companies to secure their wireless connections from
sniffing attacks. Youve probably also heard that its not very secure. In the first part of this 2 part series Ill explain the inner
workings of WEP and follow it up next month with why its insecure.
Do i need WEP at all?
An authentic user, Bob uses his laptop to check his Gmail account everyday. He has a wireless card in his laptop which
automatically detects his ISPs wireless access point (WAP) just across the street. Once hes connected to the WAP he can go
ahead and check his Email. Alice is a sneaky user who doesnt want to pay the ISP for access to the Internet. She however
knows that the ISP across the street has an access point which anyone can connect to and access the Internet. She plugs in
her laptop and is soon downloading music from the Internet. WEP was designed to ensure that users authenticate themselves
before using resources, to block out Alice, and allow Bob. Lets see how it does this.
How WEP works
WEP uses the RC4 algorithm to encrypt the packets of information as they are sent out from the access point or wireless
network card. As soon as the access point receives the packets sent by the users network card it decrypts them.
Each byte of data will be encrypted using a different packet key. This ensures that if a hacker does manage to crack this
packet key the only information that is leaked is that which is contained in that packet.

The actual encryption logic in RC4 is very simple. The plain text is XOR-ed with an infinitely long keystream. The security of
RC4 comes from the secrecy of the packet key thats derived from the keystream.

Describe what a VPN is and how it works.

A VPN connection is the extension of a private network that includes links across shared or public networks, such as the
Internet. VPN connections (VPNs) enable organizations to send data between two computers across the Internet in a manner
that emulates the properties of a point-to-point private link.
Basically, a VPN is a private network that uses a public network (usually the Internet) to connect remote sites or users
together. Instead of using a dedicated, real-world connection such as leased line, a VPN uses virtual connections routed
through the Internet from the companys private network to the remote site or employee.
Describe how VoIP works.
Voice over Internet Protocol (VoIP), is a technology that allows you to make voice calls using a broadband Internet connection
instead of a regular (or analog) phone line. Some VoIP services may only allow you to call other people using the same service,
but others may allow you to call anyone who has a telephone number including local, long distance, mobile, and
international numbers. Also, while some VoIP services only work over your computer or a special VoIP phone, other services
allow you to use a traditional phone connected to a VoIP adapter.
Describe methods of QoS.
Quality of service is the ability to provide different priority to different applications, users, or data flows, or to guarantee a
certain level of performance to a data flow.
QOS is Quality of Service: A set of metrics used to measure the quality of transmission and service available of any given
transmission system
Are you familiar with IPv6? If so, what are the major differences between IPv4 and IPv6?
IPv6 is based on IPv4, it is an evolution of IPv4. So many things that we find with IPv6 are familiar to us. The main differences
1.Simplified header format. IPv6 has a fixed length header, which does not include most of the options an IPv4 header can
include. Even though the IPv6 header contains two 128 bit addresses (source and destination IP address) the whole header
has a fixed length of 40 bytes only. This allows for faster processing.
Options are dealt with in extension headers, which are only inserted after the IPv6 header if needed. So for instance if a

packet needs to be fragmented, the fragmentation header is inserted after the IPv6 header. The basic set of extension
headers is defined in RFC 2460.
2.Address extended to 128 bits. This allows for hierarchical structure of the address space and provides enough addresses
for almost every grain of sand on the earth. Important for security and new services/devices that will need multiple IP
addresses and/or permanent connectivity.
3.A lot of the new IPv6 functionality is built into ICMPv6 such as Neighbor Discovery, Autoconfiguration, Multicast Listener
Discovery, Path MTU Discovery.
4.Enhanced Security and QoS Features.
IPv4 means Internet Protocol version 4, whereas IPv6 means Internet Protocol version 6.
IPv4 is 32 bits IP address that we use commonly, it can be, or other 32 bits IP addresses. IPv4 can
support up to 232 addresses, however the 32 bits IPv4 addresses are finishing to be used in near future, so IPv6 is developed
as a replacement.
IPv6 is 128 bits, can support up to 2128 addresses to fulfill future needs with better security and network related features.
Here are some examples of IPv6 address:
What authentication, authorization ad accounting (AAA) mechanisms are you familiar with? Which ones have you
RADIUS Server (Remote Access Dialin User Service)
MS IAS (Internet Authenticaion Service)

14. What is DHCP, and what is needed on a router interface to allow DHCP to function on a subnet? 15. Describe what a stateful firewall is? 16. What is HSRP?
Is this an open standard? 17. In a PIX/ASA, what are security levels used for? 18. What two things are needed in a PIX/ASA firewall to allow traffic to pass from a
higher security level to a lower security level? 19. In IPSec VPNs, what is diffe helman? What is it used for? 20. In an IPSec tunnel, what is main mode?
How does computer get IP from DHCP.
Explain MAC Address?
Difference between Private and Public IP.

explain framing or channelizing a T1

what's a PRI
what's PSTN?

What is ping? Why you use ping?

PING Stands for Packet InterNet Gopher. PING is used for connectivity checking of any network or any host or device of any or other networks.

Routers are always preferrable for routing services. Routers work at which OSI layers?
Router works at network layer for providing routing services between or among several networks.

A gateway works in which layer?

Transport layer of OSI model.
How can you check the connectivity of any network?
By using ping command.

What is a gateway?
A gateway acts a door for the packet to reach the outside of the internal network.
What are the differences among router, switch, bridge and hub?
Router, switch, bridge and hub are network devices. Yet there are some differences among them. The main differences are:
Router: A layer 3 device, can work on physical, data and network layer.
Switch: A layer 2 device, can work on data link layer

Bridge: A layer 2 device, can work on data link layer.

Hub: A layer 1device, just a multi-port repeater and works on physical layer
What is the range of class A address?
0-127 is the range of class A address.
Tell an IP which has class C range. Also tell why that IP is an class C address.
IP of Class C:
Why this is a class C address: Class C addresses have the range of 192 - 223
Name a device which can operate at physical layer of OSI model.
Note: Remember, hub is the device that can work only into the physical layer of OSI model. But switch, router can also be used instead of a hub. So, all the
answers hub, switch or router are all correct.

What is the major differences between a router and a switch?

A router can divide the broadcast domain and collision domain. But a switch can only divide the collision domain. Router can communicate among different
networks where as the switch can not communicate different networks.
Hub operates at which layers of OSI model? Is it wise to use a hub for huge networks? Why or why not?
Hub operates at only physical layer of OSI model.
No, it's not so wise to use hub for a huge network.
Hubs can't divide the broadcast domain or the collision domain. So, if we use hubs then there creates huge broadcast domain. When there are huge broadcast,
the network gets problem time to time. So, it's not wise to use hubs to support a huge network.

How many layers are in OSI model? Name them

There are seven layers of OSI model. The layers are:

Application layer
Presentation layer
Session layer
Transport layer
Network layer
Data link layer
Physical layer
Note: You can remember the seven layer model by a simple sentence. Please Do Not Touch Steven's Pet Alligator. See, the starting of each word forms the layer.
Why do you need to use a router?
Router can easily divide the broadcast domain and collision domain. So, to communicate among several networks, routers are used.

What is the second layer of OSI model?

Data Link layer.
Name two network devices which can work as layer 2 device.
Switch and router
What is OSI model?
OSI revers for Open System Interconnection Reference Model. It is an abstract model for layered communications and computer network protocol design. There
are seven layers of OSI model which, from top to bottom, are the Application, Presentation, Session, Transport, Network, Data-Link, and Physical Layers.
OSI model also referred as OSI layered model, OIS layered technology, 7 layer model, OSI seven layer model, OSI reference model.

What is the data unit of Data Link layer?


What are the difference between TCP and UDP?

TCP: Connection oriented protocol, acknowledged one, Point to point communication.
UDP: Connection less protocol, unreliable, less traffic
What is the port no of DNS and Telnet?
DNS port no: 53
Telnet port no: 23

What is the port no of SMTP and POP3?

SMPT port no: 25
POP3 port no: 110

What is the functionality of network layer? Name the data unint of network layer.
Functionality of network layer: Path determination and logical addressing
Data unit of network layer: Packet

Which three layers of OSI model is treated as "Media Layers"?

Physical layer, data link layer and network layer are treated as "Media Layers".

What is deadlock?
Deadlock is a situation when two or more processes are waiting indefinitely for an event that can be caused by only one of the waiting processes. The
implementation of a semaphore with a waiting queue may result in this situation.
Mention the advantages and disadvantages of a router.

Router can limit the collision domain and broadcast domain

Router can function both on LAN & WAN.
Different media & architectures can be connected among themselves through router.
Router can determine best path/route for data to reach
the destination.
Router can filter the broadcasts.
For communicating different networks, routers must be used.

Router is more expensive than any other networking devices like Hub, Bridge & Switch.
Router only work with routable protocols.
Routing updates consume some bandwidth.
Increase latency due to greater degree of packet
Routers function as software based and so it's slower compared to switch.

Mention the private IP address rannge of class B and C.

For Class B:
For Class C:
What is the IP range of class C IP address?

What is the default subnet mask of class C IP address?

Why do you need subnet mask?

Subnet mask is required to divide a large network into several small networks.

Tell the full name: DNS, FTP

DNS: Domain Name System
FTP: File Transfer Protocol

What is the functionality or ARP?

ARP refers to Address Resolution Protocol. ARP is a computer networking protocol for determining a network host's link layer or hardware address when only its
Internet Layer (IP) or Network Layer address is known.

Which one is reliable: TCP or UDP?

TCP is reliable and UDP is an unreliable service.

How DHCP works?

DHCP works by four-steps: (1) IP request, (2) IP offer (3) IP selection and (d) Acknowledgement.
What is POP3? Why you require POP3?
POP stands for Post Office Protocol. This is used to describe how e-mail clients interact with mail servers. The POP3 Server is a type of mail server used for
incoming mail. POP is only used to receive messages.

What is the difference between Layer 2 Switch and Layer 3 Switch?

Layer 2 switch is based on MAC addresses which operates on Data Link Layer of OSI mode. And Layer 3 switching is based on network topology table populated
and works on Network layer.

Recommended Reading
Cheat Charts of Networking Engineering
Final words
In this page, I try to integreate some of the basic and useful questions which are really helpful for your networking related jobs. I personally suggest to read at
least once before going to the written exam or interview of Networking related jobs or Network Engineer jobs. Hope, you have a basic idea of the sample
questions. One thing, you can also add your own questions after interviewing your job in the comment section. It will helpful for others also.

Interviewing candidates for network administrators is a bit like opening up the door to a herd of Chihuahuas. Sit them down and start talking and all you hear is
Yip! Novell? Yip! VPN services? Yip! MCSE? Yip! CCNA? Yip! Yip!
IT managers need to bring on the best talent to run their networks; the companys infrastructure relies on productive, capable staff. How do you cut through all
the Yipping? What questions do you ask to find that stately Shepherd amidst the dog pack?
Whether you are a technical hands-on manager or a business-centric CIO doing that final check for a fit with the company job interview, the questions you ask
a network admin candidate should check on seven aspects of what makes a good employee: Knowledge, Tinkering, Honesty, Ethics, Community, Discretion, and
the all important Sanity Check. We asked network specialists to share their favorite questions (and best answers) to help you eliminate those annoying Yippies.

Knowledge Check: What is a TCP Three-Way Handshake?

Lets go right for the jugular. By now, youve asked a few questions, sniffed through the resume looking for fudged qualifications, determined a level of
expertise, and found out how many years she has spent using the technologies on which your organization relies. But do you know what your candidate really
knows? Asking a simple question rather than a tough one can be revealing.
Only 5-10% of IT professionals have very strong technical skills, says Robert Brockway, a system and network administrator at a software development company
based in Toronto. I would rather ask them, Describe a three-way handshake. That is really an introductory question for a network administrator.
Maybe one in 10 people get it right, he says, And sometimes these [candidates] are for senior positions. If someone gets the answer right, Brockway can ask
harder questions. But more often than not, they get that question wrong, and that troubles me, he says.
The right answer? SYN SYN/ACK ACK. The candidate can go into more detail, Brockway adds, but if the interviewee says that phrase, he gives them high marks.
When you are diagnosing network problems you have to understand the network or you dont know what you are looking at, Brockway says.
Tinkerer Check: What is Your Home Network Like?
A good employee manages his own mindset. He has to do what is necessary to keep that elan for the work. A true love of technology helps, especially on the
days when you have to slog through one too many worst-case scenarios.
Were looking for someone who can bring enthusiasm and curiosity to the office. What were looking for the most is someone who has a tinkerers mentality.
Someone who wants to try out things at home, because they cant get enough of the technology at work, says Scott Sherrill, senior systems engineer for the
Regional Educational Media Center, a Michigan nonprofit that provides desktop, network, and ISP support for K-12 schools, libraries, and other local agencies.
Perhaps the job candidate is using a wireless server for the family or maybe just trying out cutting-edge technology to see how it goes. Maybe shes turned an
old laptop into a picture frame. Any of those technologies are okay. Its not necessarily one specific technology that you should look for. Its more the mindset,
says Sherrill.
Of course, this is not to negate a person who has a healthy balance of home life and work; you also want people who dont invest too much time into their home
However, the answers you get to this question can provide more character insight than the candidate realizes.
We had a candidate who went on and on about all the pirated software that he had, so right away we had the opportunity to ask: Is this the type of character
we want in our organization? He was trying to score points by describing how big his network was and that sort of thing. That this person admitted to something
like this in an interview means he is probably not going to be good for us, says Sherrill.
Honesty Check: What was the Worst Mistake Youve Made as a Network Administrator?

All thieving aside, a good check of a persons honesty is finding how easily he will lie to make himself look good.
I look for a willingness to admit your own faults. Everybody makes mistakes. The key aspect of a mistake is to learn from that mistake. If youre not willing to
say, Heres what went wrong, heres what I did, then you are never going to learn from what you did, says David Nolan, a senior network engineer for a
midsized global company in the Pittsburgh area. Its not about whos to blame. Its about how do we avoid this in the future, how do we improve the process,
how do we make this better.
Nolan also presents a list of technologies that his company uses asks the candidate which ones she knows. If I list 20 technologies and you claim to be
experienced with all of them, Im going to be worried, says Nolan.
Weeding out the hands-off managers is also key. While the above question is a good indicator, so is asking a candidate to give a detailed description of a project
she worked on, from high level to ground work. If the candidate cant articulate a coherent project vision, youve found a superficial show dog whose resume is a
waste of ink.
Discretion Check: What was the Worst/Strangest Network Youve Managed?
In addition to checking whether your candidate can bark out a clear narrative that tells the story behind a beyond-bizarre network and how its oddities were
resolved, by asking this question helps you find out if the job candidate will blurt out the secrets of his previous employer.
For example, the job candidate might explain a problem encountered on a network she managed how the guys at AT&T had exposed all this iPad stuff and
add, I told them and told them and they didnt listen to me. At one level the candidate is explaining a technical issue. However, You just told me who your
client was, and you just told me what their problem was, points out Terry Hamilton, president of IASSIST in Toronto. Thats a breach of trust, if not a security
issue and it does not bode well for the candidates trustworthiness.
If someone had relayed that type of information who had worked in a financial institution, or somewhere similar, I would not want them to tell me the
organization had (or even perhaps still has) a hole in their network, or had security problems, or had issues with data loss, he says.
Ethics Check: Do You Belong to LOPSA, SAGE, or USENIX?
People with a code of ethics have given time and thought about the kind of person they want to be. They live according to a set of standards they have given
themselves, and no one has asked them to do it. A code of ethics is often something you have to search for and adopt. The League of Professional System
Administrators (LOPSA), USENIX (The Advanced Computing Systems Association), and the USENIX special interest group for system administrators known as
SAGE all share a code of ethics.
I always ask if people belong to [these organizations], and people rarely say Yes. It has been my experience that only a small percentage of the people have
given any consideration to the ethics of what they are doing, says Brockway.

Consider how we use the Internet these days and everything we use it for. The network administrator can spy on your traffic and can do so without anyone
knowing, because the network administrator has that privilege and has that knowledge. Ive come to the conclusion that ethics is extremely important. And
thats one of the reasons why Im a supporter of these organizations, he says.
Community Check: Do You Belong to Any User Groups?
If your network administrator doesnt know that answer to a problem, especially a time-sensitive one, how does he solve it? Does the candidate have a network
of peers to turn to, either online or offline? How plugged in is he to technologies that are gaining speed or losing momentum? Who or what is his sources of
research and information?
Belonging to a user group, says Brockway, shows that the candidate is interested in technology. The people who are passionate about something are the best at
the subject, says Brockway.
Sanity Check: If You were a Kitchen Appliance, What Would You Be?
Wisdom, character, honor, integrity, your candidate can have it all. But if they are a whack-a-doodle all that becomes moot. A nut-bar hunt requires drastic
measureseven shock and awe tactics. Granted, asking this may backfire and you can lose a good candidate, but you might just be better off without her if she
cant fetch an answer to this question.
There are clear warnings in peoples responses. Electric knives, garbage disposals, bread makers are all cause for alarm. But an interviewee may say he is an oven
because he likes to be where the action (and heat) is, or the microwave because he is quick and convenient. Better yet, he might say he is the coffee maker, and
as we all know, no office should be without one of those.
However, there is a method to this madness, says Damion Alexander, a system administrator for Bard College in Annandale-on-Hudson, NY.
In addition to checking whether the candidate has a sense of humor, he says, I want to know if they can think on their feet. Since this question is rarely heard of
(so far), it catches people off guard. This gives some measure of how they respond to a situation theyve never seen or heard before.
I rarely measure time [in answering the question], but if they give up easily that doesnt fare well. If they give the name of an appliance and cant come up with
at least a basic reason why, then I would worry if they would just spew answers to customers and coworkers with no comprehension of why they were giving
that answer, Alexander says.
Ive actually had a CIO candidate refuse to answer the question. Since he had pondered for a while before that, everyone came to the conclusion that he would
not do well when things hit the fan.
The question also shows how a candidate views himself and how he operates, says Alexander.
For example, we had two candidates for the same position give an answer of dish washer. The first liked to throw everything in and make it clean. The second
liked to line everything up nice and neat, so that the water reaches every surface, etc., says Alexander.

The second response, and how he said it, caused some concern because it gave a sense that he preferred a degree of order that our environment just couldnt
provide. Compared to the first who seemed to accept some level of chaos.