Professional Documents
Culture Documents
Ans1. Network design that defines how devices are physically connected and how
data flows between those devices. There are 6 network topologies -
1. Bus- All devices share single communication cable. It may have problem while
multiple hosts sending data at the same time. It either uses CSMA/CD technology.
2. Star- All hosts in star topology are connected to a central device known as hub
or switch.
3. Ring- Each host connects to exactly 2 other host creating a circular network
structure. when 1 host tries to communicate or send message to a host which is
not adjacent to it, the data will Travel through all intermediate host.
5. Tree- It uses bus or star topology. It divides the network into multiple layers of
the network.
1. IT Provides the user interface between machine protocol and users. All the
protocols which have the port number are termed as application layer protocol.
Services Protocols
Mail POP,IMAP,SMTP
File transfer FTP (20 , 21 ) , TFTP (Port no 69, It uses UDP, unsecure protocol,
does not used authentication).
Domain DNS
IP DHCP
1 Translation
2.Data compression
3. Encryption/Decryption
Formats Extensions
Audio mp3
Text ASCII
3. Session Layer
1. It is used to maintain and terminate session between server and clients. Used
session ID for that purpose.
2. Authentication and authorization perform by this layer (Data)
1. It perform 3 function :-
2. Path determination
3. Routing
Encapsulation (adding/creating and passing the data through each layer of OSI
model and decapsulation (Removing and passing the data )
Encapsulation - adding /creating and passing the data through each layer of OSI
model and adding control information(header) so that data can be sent from
source to destination. It is only done at the source end.
Decapsulation - Removing and passing the data through each layer of OSI model
and adding control information(header) so that data can be sent from source to
destination. It is only done at the destination end.
6. Data link Layer (IT uses data as Frames) (Lower and Hardware layer)
1. It receives the data from network layer. Physical addressing is done at the data
link layer. MAC (media access control)perform by this layer.
It is a hardware devices and transfer only bits. It will convert bits into signals and
trasmit over local media.
1. It is a reliable protocol,
1. It is unreliable protocol,
3. Internet layer (same working as network layer of OSI MODEL ), it defines the
protocols which are responsible for logical transmission of data over the entire
network. (IP, ICMP, ARP)
Question6. What is the difference between OSI model and TCP/IP model.
Ans6. OSI Model - OSI stands for open system interconnection and it was
developed by ISO . IT has 7 layers. IT uses network layer to define routing
standards and protocols. Transport layer is only connection -oriented. Minimum
size of OSI header is 5 bytes. It uses to standardize router, switch , motherboard,
and other hardware parts.
TCP /IP model - It stands for transmission control protocol. It was developed by
ARPANET ( advanced research project agency network). It has 4 layers. It uses
only internet layer. Transport layer is both connection oriented and
connectionless. Minimum header size is 20 bytes. It is used for establish a
connection between different types of computers.
DNS (Domain name server):
working of DNS-
When I search google.com from the PC, It will send one dns query to the local
DNS which is UDP based. Local DNS search database for the IP address. If the
database is present then it will give back DNS reply to PC. If it is not present then
it will hold that DNS query... and again it will send new DNS query to root DNS
which is TCP based. Root DNS search database for Ip address . It will give back
DNS reply to local DS. then local DNS will further give DNS reply to PC. PC then
send HTTP request to the server. It will received reply from the server.
1.Forward lookup zone-It is DNS zone in which hostname into IP address relations
are stored.
DNS recursor - It is a server designed to receive the queries from the client
machines through application like web browsers.
Root Nameserver- Root server is the first step in translating hostnames into Ip
addresses.
TLD nameserver - It is the next step in the search for a specific Ip address. It hosts
the last portion of a hostname ,(.com, .org).
Authoratative nameserver - It is th last step in the nameserver query. If the
authoratative name server has access to the requested record, it will return the IP
address for the requested hostname back to the DNS recursor that made the
initial request.
1. Forward Lookup zone- used for mapping host name into Ip address .
How we check DNS server Ip - GO to control panel- network and sharing center-
Properties- Ipv4 - check google ip address - 8.8.8.8 and 8.8.4.4.
open control panel - network and sharing - open wifi - properties - change the
DNS server IP.
1. USe google public DNS server. open control panel - network and internet-
network and sharing- wifi - properties -
ipconfig /release
ipconfig /renew
Exit
Ans. DHCP stands for dynamic host configuration protocol. It is used for assigning
the ip address on the devices automatically.
It uses buffer where we send the range of Ip address which we want to assign it
on the devices.
It uses DORA process.It uses pool (buffer where we save the range of ip address).
It increases productivity.
R- request - (client to server) - It accepts the Ip address given by the server. and
also it request to assign the Ip address on devices.It is broadcast in the network
layer but unicast in the data link layer.