Docsity

Computer Network Notes, Cheat Sheet of Computer Networks

Toggle sidebar
bg1
Computer Network 1
๐Ÿ–จ
Computer Network
Computer Networks and the Internet
Internetwork
Evolution of Internet
Internet - its component
Network Protocols - the summary
What happens when a request is made to WWW server
Protocols - The real stuff
ISP - Internet Serice Provider
Network Hardware
Network Topologies
CAN Campus Area Network
MAN Metropolitan Area Networks
SAN Storage Area Network
WAN ๎‚Wide Area Network)
History of Networking
A closer look at network structure
Access Networks
How homes connect to the Internet
๎‚DSL๎‚‚ Digital Subscriber Line
Cable Internet access
Access in the enterprice
Typical Home Network
Wide-Area wireless access : 3G 4G
Network Edge
Physical Media overview
Transmission Media
Physical Media
Guided Media
Twisted Pair Media
UTP v/s STP
Twisted pair categories
Coaxial Cable
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34

Partial preview of the text

Download Computer Network Notes and more Cheat Sheet Computer Networks in PDF only on Docsity!

Computer Network

Computer Networks and the Internet Internetwork Evolution of Internet Internet - its component Network Protocols - the summary What happens when a request is made to WWW server Protocols - The real stuff ISP - Internet Serice Provider Network Hardware Network Topologies CAN Campus Area Network MAN Metropolitan Area Networks SAN Storage Area Network WAN ๎‚Wide Area Network) History of Networking A closer look at network structure Access Networks How homes connect to the Internet ๎‚DSL๎‚‚ Digital Subscriber Line Cable Internet access Access in the enterprice Typical Home Network Wide-Area wireless access : 3G 4G Network Edge Physical Media overview Transmission Media Physical Media Guided Media Twisted Pair Media UTP v/s STP Twisted pair categories Coaxial Cable

Optical Fibre cable Unguided Media Ground Propagation Sky propagation Line-of-sight propagation Radio Waves Mirco Waves LEO satelites Geostationary satellites Infrared Waves The Network Core Switching Taxonomy of switched networks Circuit Switching FDM & TDM Packet Switching - Introduction Switching and Forwarding Sending a packet over a link with bandwidth B Packet switching Delay Calculation Store and Forward Delay Bandwidth product Store and forward tranmission Forwarding table and routing protocoles Packet switching v/s Circut Switching Connection oriented packet swithching Connectionless Packet Switching ๎‚Datagram) Virtual Circuit Networks Addressing Routing Table Difference between Virtual circut and Datagram Networks Delay in Packet Switched Networks Transmission Delay Propagation Delay Queuing Delay Packet Loss Delays in Packet switching Process Delay Throughput in Computer Networks Protocol layering

Computer Networks and the Internet

What is a computer network

A computer network is a set of computers that are connected together so they can share information.

Communication Elements

Computers, printers, mobile phone.... Routers, switches.....

Communication Links

Optic fiber

Persistent HTTP HTTP request messag HTTP response message HTTP response status codes Application Layer User-server state : Cookies Cookies: keeping "state" Cookies: Uses Web chaches (proxy servers) What happens when a browser reuqest and object Why web cache Condtional GET File Transfer Protocol FTP separat control FTP data connections FTP commands and responses Sample commands Sample return code Email User Agent Mail Servers SMTP Mail message format Difference between HTTP and SMTP

Coaxial cable Twisted pair Wireless

Topologies

Ring, Start, Bus ,Tree , Mesh

Computer Network โ†’ The set of interconnected collection of autonomous computers consist of :

WWW โ†’ Which is a distributed system that run on top of Intenent

and a Distributed system consist of:

High degree of cohesiveness and transparency A software system build on top of a network

Internetwork

A network that connects lot of hardware and software

A collection of this internetwork makes up the internet

If you are wondering how so many different things talk to each other well they used something called Gateways which are used to make the connection and necessary protocol conversion.

Evolution of Internet

Phase 1

This was called connectivity, only provided digitised access to information things like

email web browser search

Phase 2

๎ถ๎‚” Physical media Copper wire, optical fibre...

Network Protocols - the summary

Internet protocol is very much like how we humans talk to each other only that there are well computers involved ๐Ÿ˜œ ๎‚Hardware and Software)

Protocol if by definition some rules for communication here for computers to talk with each other over a network.

These protocols are implemented by end devices and intermediary devices in software or hardware and sometimes even both.

This is basically there to ensure that everything in the network knows what each other are talking about more like the same language so that devices are on the same page.

What happens when a request is made to WWW

server

๎ฒ๎‚” The www page or url is put in typed in the browser ๎ณ๎‚” A connection request is sent to the www server and the browser waits for a response ๎ด๎‚” When the server receives this request it responds back with a connection reply ๎ต๎‚” Now that the connection is established the browser makes a get request to get the file/page which it wants from the server ๎ถ๎‚” Well the server will return the requested page/file.

Protocols - The real stuff

Protocols have different purpose in different places

In routers they determine the path from source to destination

in Hardware like network interface cards they control the flow of bits on the "wire" between the two computers

A congestion control protocol controls the rate at which packets are transmitted between sender and receiver

ISP - Internet Serice Provider

TL;DR They are companies that provide internet access to organisation and home users.

PoP #

Tier 3 Network (multi-homed ISP)

Tier 3 Network (single homed ISP)

PoP #

PoP #

Tier 2 ISP

Tier 2 Networks

IXP

Tier 1 Networks

Peering

Transit (^) Transit

Transit

Transit

Internet users

(business, consumers, etc)

Tire 1 ISPs

Top of the line people they don't have to pay for the internet traffic through there networks because it is there network obviously! the lower-tires have to pay a cost for passing their traffic from one geo-location to another.

The giants like AT&T, Microsoft , Tata

Tire 2 ISPs

Personal Area Network

Network we use to connect our personal devices

Bluetooth infrared NFC

Local Area Networks

Group of devices in close proximity communicating with each other

Characterics of LAN๎‚’

๎ฒ๎‚” Private owned ๎ณ๎‚” Small size ๎ด๎‚” Transmission Technology ๎ต๎‚” Topology

IEEE 802 is a collection of networking standards that cover the physical and data-link layer specifications for technologies such as Ethernet and wireless

Ethernet is the most common

generally they are in bus or ring topology

Network Topologies

STAR

Pros

If N devices are connected in start the number of cables required are N Each device need only 1 port

Cons If the hub failed the whole system will fails High cost of installtion Performance is based on the hub

Ring

Pros

All data flow in one direction no packet collison Network server not needed Data transfer between workstation happen in high speed Cheap to install

Cons If one computer goes down it brings every other with it Very difficult to troubleshoot Adding a new device can disrupt the whole thing.

Mesh

Pros

Manages high amount of traffic since multiple devices can transmit data A failure wont effect the whole system No disturbance when an additional device is added.

Cons ๎ฒ๎‚” High cost of installation ๎ณ๎‚” Building and maintenance is difficult and time consuming ๎ด๎‚” The chance of redundant connections is high, which adds to the high costs and potential for reduced efficiency.

Access Networks

The network that physically connects an end system to the first router (also known as the โ€œedge routerโ€) on a path from the end system to any other distant end system

Things like

Digital subscriber line Cable Internet access Acces in Enterprise Wide-Area Wireless Access: 3G 4G

How homes connect to the Internet

Mostly they use DSL or Cable Access

(DSL) Digital Subscriber Line

Using the excisting telephone line to central office DSLAM

Data and voice both go over the same phone line

On the customer side these is a spliter to separate the data and telephone signals

On the Telco side there DSLAM separates the data and phone signals and sends the data to internet

Cable Internet access

Here instead of telephone lines, we make use of existing cable television infrastucture

Now-days these are replaced with fibre cables as the transmission speed is much higher.

Access in the enterprice

On corporate and university campuses, and increasingly in home settings, a local area network ๎‚LAN๎‚‚ issued to connect an end system to the edge router: Ethernet LAN is the most prevalent access technology

Uses twisted pair copper wire to connect to switches

the switch is then connected to larger internet

Speeds upto 100Mbps or 1Gbps t the ethernet switch, servers can have as much as 1Gbps or even 10Gbps access

Typical Home Network

uses DSL and Cable Internet access

Wide-Area wireless access : 3G 4G

These use the exciting cellular telephone to send and receive packets through a base station that is operated by the network provider

Network Edge

Twisted-pair copper wire Coaxial cable Muti-mode fibre-optic cable Ungided

Guided Media

Twisted Pair Media

Unshielded twisted pair ๎‚UTP๎‚‚ is commonly used for computer networks within a building, that is, for LANs

Data rates for LANs using twisted pair today range from 10 Mbps to 10 Gbps.

A pair of wires form a circuit to transmit data. The pairs are twisted to protect form crosstalk, the noise generated by adjacent pairs. When the signal is passing through a wire it creates a small, circular magnetic field around the wire. When another wire is crossed with this in exact opposite to each other the magnetic field cancels each other out. This also cancel out any out-coming interference.

UTP v/s STP

UTP

Least expensive Easy to Install high-speed cpacity Susceptible to external interfearence Lower capacity and performance in comparison to STP Short distance transmission due to attenuation

STP

Better performance at a higher data rate Eliminates cross talk Faster Difficult to install and manufacture Bulky Expensive

Inexpensive

Coaxial cable supports 10 to 100 Mbps and is relatively inexpensive, although it is more costly than UTP on a per-unit length.

For LANs, the coaxial cable offers several advantages. It can be run with fewer boosts from repeaters for longer distances between network nodes than either STP or UTP cable. Repeaters regenerate the signals in a network so that they can cover greater distances. Coaxial cable is less expensive than fibre-optic cable,

Thicknet and Thinnet(sometimes called ThickWireand ThinWire) are commonly used terms for the larger and smaller size of coaxial cable used in Ethernet local area networksโ€ขThe most common connectors used with Thinnetare BNC

Optical Fibre cable

Uses reflection of light through a core made up of glass or plastic. The core is surrounded by a less dense glass or plastic covering called the cladding.

Advantages

Increased capacity and bandwidth Lightweight Less signal attenuation Immunity to electromagnetic interference Resistance to corrosive materials

Disadvantages Diffucult to maintain and install High cost Fragile

Unguided Media

Generally transported as electro magnetic waves using a physical conductor.

Ground Propagation

Radio waves travel through the lowest portion of the atmosphere hugging the earth.

Sky propagation

in this, higher-frequency radio waves radiate upward into the ionosphere where they are reflected backto Earth. allows for greater distances with lower output power.

Line-of-sight propagation

very high frequency signals are transmitted in straight lines directly from antenna to antenna.

Radio Waves

Electromagnetic waves ranging in frequencies between 3 kHz and 1 GHz are normally called radio waves.

Used as omnidirectional signals help in multicasting in which there is one sender but many receivers.

AM and FM radio, television, maritime radio, cordless phones, and paging are examples of multicasting.

Mirco Waves

Electromagnetic waves having frequencies between 1 and 300 GHz are called micro waves. Micro waves are unidirectional. When an antenna transmits microwaves, they can be narrowly focused.