Professional Documents
Culture Documents
Interview Questions
Interview Questions
&' "
The Internet Protocol Suite (commonly known as TCP/IP) is the set of communications
protocols used for the Internet and other similar networks. It is named from two of the
most important protocols in it: the Transmission Control Protocol (TCP) and the Internet
Protocol (IP), which were the first two networking protocols defined in this standard.
Today's IP networking represents a synthesis of several developments that began to
evolve in the 1960s and 1970s, namely the Internet and LANs (Local Area Networks),
which emerged in the mid- to late-1980s, together with the advent of the World Wide
Web in the early 1990s.
The Internet Protocol Suite, like many protocol suites, may be viewed as a set of layers.
Each layer solves a set of problems involving the transmission of data, and provides a
well-defined service to the upper layer protocols based on using services from some
lower layers. Upper layers are logically closer to the user and deal with more abstract
data, relying on lower layer protocols to translate data into forms that can eventually be
physically transmitted.
The TCP/IP model consists of four layers (RFC 1122).[1][2] From lowest to highest,
these are the Link Layer, the Internet Layer, the Transport Layer, and the Application
Layer.
('"
TCP/IP is a protocol stack used for data transmission from source to destination.
In the physical layer all the physical connections like LAN cards, cables etc will b there
which will send data in the form of bits. layer 2 operates with frames where the switches
comes into picture.
in the network layer which operates on packets.routing takes places, routers are the
devices used for this.
transport layer is above the network layer and it uses mainly TCP/ UDP for transport of
data.
the application layers is on top of this layer.
application layer
|
transport layer[tcp/udp]
|
network layer[routers]
|
datalink layer[switches]
|
physical layer[Network Interface card, cables etc]
for any transfer of data between 2 systems this TCP/IP stack comes into picture,
whether it is file transfer or uploading something,sending an email etc. any application
based on web will use TCP/IP
Î
Network layer.
p
)
+
'#, -.
Ip is just a protocol which used to carry data,packets over the network in the manner
which the n/w components can understand.
ip is a identity of n/w devices .
/ !!!,*
#&'(
#
PDU for Network Layer is: "Packet" and PDU for Data Link Layer is :"Frame"
128 bit in tcp ip
*##
*3'4 #!4 #
They are really two different technologies. IPSec secures the TCP/IP communication and
protects the integrity of the packets. Certificate-based security ensures the validity of
authenticated clients and servers.
###
%
RFC 1918 is the official document on which IP addresses are to be used in a non-
connected or "private" network. There are 3 blocks of numbers set aside specifically for
this purpose.
The Internet Assigned Numbers Authority (IANA) has reserved the
following three blocks of the IP address space for private networks:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
We will refer to the first block as "24-bit block", the second as "20-bit
block", and the third as "16-bit" block". Note that the first block is
nothing but a single class A network number, while the second block is a set
of 16 continuous class B network numbers, and the third block is a set of 255
continuous class C network numbers.
For the record, my preference is to use the 192.168.0.0 network with a 255.255.255.0
Class-C subnet mask and thus this HOWTO reflects this. Any of the above private
networks are valid, but just be SURE to use the correct subnet-mask.
So, if you're using a Class-C network, you should number your TCP/IP enabled machines
as 192.168.0.1, 192.168.0.2, 192.168.0.3, .., 192.168.0.x
192.168.0.1 is usually set as the internal gateway or Linux MASQ machine which reaches
the external network. Please note that 192.168.0.0 and 192.168.0.255 are
the Network and Broadcast address respectively (theseaddresses are RESERVED). Avoid
using these addresses on your machines or your network will not function properly.
0.*
DNS uses both TCP or UDP or both. UDP can handle only 512bytes. If data size is withing
512 bytes UDP is used, otherwise, TCP is used.
!,*
! #44 #
Transport layer.
Î #
! #% #
By using "Telnet"
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 andapplication layer TCP/IP has : Network layer, Internet layer,
transport layer and application layer.
p
/ .8!
+&'(
#! #
All of the protocols in the TCP/IP suite are defined by documents called Requests For
Comments (RFC's). An important difference between TCP/IP RFC's and other (say, IEEE
or ITU) networking standards is that RFC's are freely available online.
All of them are devices and are used in network. Their differences are:
* Router: Layer 3 device, can work on physical, data and network layer.
* Switch: Layer 2 device, can work on data link layer
* Bridge: Layer 2 device, can work on data link layer.
* Hub: Layer 1device, just a multi-port repeater and works on physical layer
,*
#
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.
-5-##
ARP stands for Address Resolution Protocol. It helps to find the hardware address or MAC
address when IP address is known.
To communicate several networks, routers are used. Routers have both broadcast
domain and collision domain.
router is used to :-
-for path determination
-for forwarding information
-for call set up messages
á p pp
p
pp
What á Dp
p
p
Dp
DDP (D Datagam Pt p
p
What á Ptp
pppp
ppppp
ppppppppppp
pppp
ppppp p!pp"
p#$p%$p
p
p&p
p%$'ppp
ppp()p pppppp
p
ppp
p p"pp
pp
p$ $$pp$p
ppp$p
p
$$pppp$p
pp%$p$p
p
p p
ppppp$$p
p
pp
p"ppp
p$$pp
ppp'ppp
pp
p
$ppp
ppp
+p
pp
$p
pp pp
pp
p"pp$$
p
$pp
p
!p" p
p
=
= ppp
ppp
p p
pp
p= p
p
pp
p
pp
p p p
pp
p
pp
p
pp
p
p
ppp
ppp
p
ppp
ppp pp
pp p
p
p
pppp
p
p
p
p
p
p
pp
p
pp
p
Yp p
Yp
p
Yp p
Yp
p
Yp
p
p
p
pp
p pp pppp
pp
p
pp
p
A =
Ap
p!pp
p
p p
p
pppp
"p
ppp
pp
p p
pp
p
p
p
pppp
pp
p p
p pppp pp
p
pp
p
pp
p p
p
pp
p
p
ppp
pp
p
p p p
p
p
pp p
p
p
p p
pp
p
p
p
-
pp
p
p
p
pp ppp
#
p p
p
pp
p
p$%A
&'p
!(=
("pp$%A
&)p!(=
("p p
p p-
p
ppp
p
ppp
p
*
pp
pp
p pp
p
pp
p+p
p pp
p
p
p
p
ppp
p
p
p
p p
p
p+ppp
p
p
p p
p
p
p
p
p
p
á
p&pAp=
p,
p
=
+pp
p
p
p
p p
pp
ppp
p p
p
p
pp
pp
p
p
p!
p(
(pp(
("pp
ppp
pp
p
p
p ppp
pp
p
p
p
=p
pp
p
p
p p
p,,+p-.-=pp=
p/
p
p/
p
p
ppp
p
p
pp p
p
á
p&p/
p=
p,
p
=
p
p
p
p
pp
ppp
p
pp
p
pp
pp( (p pp
p
p p p
p,
p p
pp
p p p0
p=
p1p!0=1"p-
p
á
p&p-p=
p,
p
= =
=
p
p
p
pp
p
pppp+pp
pp p p
p
p
pp
p
ppp
p ppp
p((ppp
pp
p= p3p p pp
p
p
p
p
p p
p ppp!
pp
p
pp
p
pp
pppp
"pppp!
p
p
p
pp p
p"p
p
á
p&p=
p=
p,
p
=
p
p
p
p
pp
p0
p
pp
p
p
p
p
ppp
p
pp
p
pp
p
p pp
pp
p!/
p p
ppp
p
pp
p p
p
pp
p
pp
p
"p-
p4pp p
p+
p
p
p
p
p
p
pp p
p
p
pp
p
pp
pp p
pp pp
p p
p p
p
p p
pp p
p
p
p p
pp
p
á
p&p
p=
p,
p
=
p
ppppp
p
p
p5pp p pp
pp p
p
p
p p
p
p
p
ppp
pppp
pp
p p p
pp
p
ppp
p
ppp
p
p
p ppp
p
p
p
# p$p% $p &p
p
j
p
pppppp
p
j p p p
pppppp
p
pppppp
j
p
pppppp
p
p !
p p
pppppp
p
p p $
"
#
p
pppppp
%
p
p p !
&
'
$ pppppp
!
p
p p ()
p
pppppp
$
p
p p ()
$
$ p
pppppp
p
p p *
!
p
j pppppp
p
p p
"
+ p
pppppp
p
p p , -
# p
&
pppppp
p
* %
pppppp
p
pppppp
/0 $
p
p *
p p
pppppp
p
p
(
p p
pppppp
p
p $
j
1 $ p p
pppppp
p
p 2$ j
. 2$
p p
pppppp
p
p p ! .
*
p
pppppp
p
p p $
p
pppppp
j
p
j
p
pppppp
p
,
$ p p p
j
pppppp
p
pppppp
j
p
p *
2 33
)
p p
pppppp
p
p p $
!
p
pppppp
p
p p . j
$ p
!
pppppp
p
p p
p
pppppp
p
p
Yp
Yp !
Yp ( $
Yp $
Yp D
Yp $ j
5 .
6 p
p p p pp
. $
7.$8
6 339699 399699 39699 pp
p
pp
6
p
pp
6
p
pp
6
p
pp
p
pp
()
6
p
pp
2$ j6
p
p p p
pp
* %6
p
p
.
p p
pp
6
p
pp
6
p
pp
:; 6
p
'
p
p(
pp
,60
Navigation Pane settings (.xml): This file includes Shortcuts, Calendar, and Contact links.
drive:\Documents and Settings\\Application Data\Microsoft\Outlook\Outlook.xml
. If you upgraded from a version of Outlook prior to Outlook 2002, you may have a
.rwz file on your computer hard disk drive. The file is no longer needed and the rules
information is now kept on the server for Microsoft Exchange e-mail accounts, and within
the personal folders file (.pst) for POP3 and IMAP e-mail accounts. You can delete the file.
Rules import or export (.rwz): If you use the rules import or export feature, the default
location for .rwz files is:
drive:\Documents and Settings\\My Documents.
4
p
p
p2
pp
p0
pp+ p4
p
ppp
p
p p
5p p
p
p+,p
ppp p
p
p
pp
p222p!p p
p
p
p
pp ppp
"p
+ p
p
ppp pp
p p-p
p
p
pp
pp
p+pppp
p
p
pp pp
p
p
p
p
p
p
p
p
p
'"ppp p
p
ppp
pp+,p
p
p
2 pp
pA pppp
p+,p
p pp
ppp
p
2 p p
p
)"p2 p
pp
p p
pp
p
p
p
8"pp&pp p
pp p
p
pp
p
p
2 pp
p
p*p