Itc Week 6
Itc Week 6
Itc Week 6
2
What is a Network?
4 Introduction to Computing
Packet Switching and Circuit Switching
Packet switching is a communications paradigm in which packets (discrete blocks of
data) are routed between nodes over data links shared with other traffic.
Packet Switching
In each network node, packets are queued or buffered, resulting in variable delay.
Packet switching and circuit switching are two networking methods for transferring
data between two nodes or hosts. For a packet-switched network, data is transferred by
dividing the data into individual packets and passing it through the circuits to the other
host. In packet-switched networks, the route is not exclusively determined when the
packets hit the wire. Using routing algorithms, each packet may actually take a different
route through the network to arrive at the destination host. Unlike a circuit-switched
network where a static route is setup and pre-established prior to initializing connections
to the host.
Circuit Switching
Circuit switching network is one that establishes a fixed bandwidth circuit (or channel)
between nodes and terminals before the users may communicate, as if the nodes were
physically connected with an electrical circuit.
5 Introduction to Computing
.
CIRCUIT SWITCHING PACKET SWITCHING
In circuit switching, each data unit know the In Packet switching, each data unit just know
entire path address which is provided by the the final destination address intermediate path
source is decided by the routers.
In Circuit switching, data is processed at source In Packet switching, data is processed at all
system only intermediate node including source system.
Delay between data units in circuit switching is Delay between data units in packet switching is
uniform. not uniform.
Types of Networks
We use many different types of networks. For example, schools and businesses
usually have their own private networks that can only be accessed while in the
building.
This type of network, known as a LAN (Local Area Network) is sometimes referred
to as an Intranet, but most people just call them “The Network.”
7 Introduction to Computing
Continue…….
Features
– smaller scope
o Building or small campus
– usually owned by same organization as attached devices
– data rates much higher
Examples
switched LANs, e.g. Ethernet
wireless LANs
8 Introduction to Computing
Continue…….
9 Introduction to Computing
Continue…….
10 Introduction to Computing
Network Concepts
Network Hardware
– Servers- powerful computers dedicated to controlling all of
the systems on the network. All networked computers are
connected to the server in some way
– Printers- One of the reasons networks were developed was
to make a single printer accessible by many different
computers
– Computers- individual machines that are connected to the
server
– Network Interface Card (NIC)- a device that is installed
into a computer to give it a terminal that can run a cable to
access the network
This is a NIC
11 Introduction to Computing
Network Software
12 Introduction to Computing
Network Design
Most networks today run on Ethernet cables.
Ethernet cables are similar to phone cables but
are thicker with a larger connecter.
The Ethernet cable is connected to the back of
the NIC.
An Ethernet structure is built into a building
allowing computers to connect to the network
from various rooms in the building.
Computers can also be connected to a network via a radio transmission to and from a
wireless hub that is connected to the server.
13 Introduction to Computing
Troubleshooting
Network Problems
– “I can’t get anything on the network to run.”
• Check to make sure that the cable in the NIC is fully
connected.
– “I am out of disk space.”
• Delete all unnecessary files on your home drive.
– “I cannot login to the network.”
• Make sure that your user ID and password are
correct.
• Make sure that caps lock is not on.
– “My computer won’t turn on.”
• Check that the computer is plugged in and all cables
are connected properly.
14 Introduction to Computing
TCP & UDP
1) Transmission control Protocol 1) User Datagram Protocol
Guaranteed Delivery
connection & delivery
any
FTP port no is 21 movies site or games etc
TCP is connection oriented; UDP is connectionless oriented; TCP is reliable whereas
Apache tomcat port is 80
UDP is not; TCP is heavy whereas UDP is light weight;
15 Introduction to Computing
IP
The Internet Protocol (IP) is the principal communication protocols used for
relaying datagram's (packets) across an internetworking using the IP Suite.
Responsible for routing packets across network boundaries, it is the primary protocol
that establishes the internets.
IP is the primary protocol in the internet layer of the Internet Protocol Suite and has
the task of delivering datagram's from the source host to the destination host solely
based on their address. For this purpose, IP defines addressing methods and structures
for datagram encapsulation.
The first major version of IP, now referred to as (IPv4) is the dominant protocol of the
Internet, although the successor, (IPv6) is in active, growing deployment worldwide.
16 Introduction to Computing
IPV4 & IPV6
IPv4 means Internet Protocol version 4, whereas IPv6 means Internet Protocol
version 6.
IPv4
IPv6
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:
1050:0:0:0:5:600:300c:326b
ff06::c3
0:0:0:0:0:0:192.1.56.10
The most important difference is that it has a larger address space. IPv6 uses 128 bits, instead
of the 32 bits used in an IPv4 address.
17 Introduction to Computing
Physical Address
Most local area networks use a 48-bit (6 bytes) physical address written as 12 hexadecimal digits,
with every 2 bytes separated by a hyphen as shown below:
07-01-02-01-2C-4B
A 6-byte (12 hexadecimal digits) physical address
IP Address
An Internet address (in IPv4) is 32 bits in length, normally written as four decimal numbers,
with each number representing 1 byte. The numbers are separated by a dot. Below is an
example of such an address.
132.24.75.9
Port Address
A port address is a 16-bit address represented by one decimal number as shown below.
753 A 16-bit port address
18 Introduction to Computing
Broadcast & Collision Domain
Broadcast Domain
• A broadcast is a signal that is sent out from one device and read by all other devices
attached to the same network.
Collision Domain
• A collision happens when two devices try to transmit at the same time, causing the
electrical charge of the signal to increase.
• When a collision occurs, all devices in the same collision domain sense the error and
automatically back off for a period of time.
19 Introduction to Computing
Interconnecting Devices
Many times it is necessary to connect a local area network to another local area
network or to a wide area network.
Local area network to local area network connections are often performed with a
bridge.
Local area network to wide area network connections are usually performed with a
router.
A third device, the switch, can be used to interconnect segments of a local area
network.
20 Introduction to Computing
Internetworking devices
Descending in increasing power and complexity.
• Hubs
• Bridges
• Switches
• Routers
21 Introduction to Computing
Continue…….
Hubs
A hub interconnects two or more workstations into a local area network. A
simple interconnecting device that requires no overhead to operate.
When a workstation transmits to a hub, the hub immediately resends the
data frame out all connecting links.
A hub can be managed or unmanaged. A managed hub possesses enough
processing power that it can be managed from a remote location.
Hubs, also called concentrators, expand one Ethernet connection into
many.
Hubs connecting
segments
For example, a four-port hub connects up to
four machines (or other network devices) via
UTP cables. The hub provides a star
connection for the four ports. Many hubs
contain a single BNC connector as well to
connect the hub to existing 10Base-2 network
wiring. The hub also can be connected via one
of its ports. One port is designed to operate in
either Straight-Through or Crossover mode,
selected by a switch on the hub.
A hub is similar to a repeater, except it broadcasts data received by any port to all other
ports on the hub.
Continue…….
Bridges
A bridge can be used to connect two similar LANs, such as two CSMA/CD LANs.
A bridge can also be used to connect two closely similar LANs, such as a CSMA/CD LAN
and a token ring LAN.
Switches
A switch is a combination of a hub and a bridge.
It can interconnect two or more workstations, but like a bridge, it observes traffic flow
and learns.
When a frame arrives at a switch, the switch examines the destination address and
forwards the frame out the one necessary connection.
25 Introduction to Computing
Continue…….
Bridges vs Routers
Bridge:
A bridge is a device that connects two segments of the same network.
The two networks being connected can be alike or dissimilar.
Unlike routers, bridges are protocol-independent.
They simply forward packets without analyzing and re-routing messages.
Router:
A router is a device that connects two distinct networks.
Routers are similar to bridges, but provide additional functionality, such as the ability
to filter messages and forward them to different places based on various criteria.
The Internet uses routers extensively to forward packets from one host to another.
26 Introduction to Computing
Continue…….
Bridges vs Routers
Based on these definitions we can see that key difference between a bridge and router
is that a bridge does not look at protocols and a router does.
A bridge does not look at traffic for the purpose of allowing or disallowing it, and it
does not decide what to do with certain types of traffic; it simply moves data from one
network to another.
Whereas a router examines protocols and decides what to do with each packet based
on defined criteria.
27 Introduction to Computing
Continue…….
Routers
Thus, routers are often called “layer 3 devices”. They operate at the third
layer, or OSI network layer, of the packet.
Routers often incorporate firewall functions.
An example of a router’s operation is shown on the below.
28 Introduction to Computing
Continue…….
Network Topology
• A topology is a way of “laying out” the network. Topologies can be either physical or
logical.
30 Introduction to Computing
Continue…….
Network Topology
Bus Topology
A bus is the simplest physical topology. It consists of a single cable that runs to
every workstation.
This topology uses the least amount of cabling, but also covers the shortest amount
of distance.
Each computer shares the same data and address path.
With a logical bus topology, messages pass through the trunk, and each workstation
checks to see if the message is addressed to itself. If the address of the message
matches the workstation’s address, the network adapter copies the message to the
card’s on-board memory.
It have to completely reroute the cable and possibly run two additional lengths of it.
If any one of the cables breaks, the entire network is disrupted. Therefore, it is very
expensive to maintain.
31 Introduction to Computing
Continue…….
Network Topology
Bus Topology
32 Introduction to Computing
Continue…….
Network Topology
Star Topology
A physical star topology branches each network device off a central device called a hub,
making it very easy to add a new workstation.
Also, if any workstation goes down it does not affect the entire network.
Some types of Ethernet use a physical star topology.
Star topologies are easy to install. A cable is run from each workstation to the hub. The
hub is placed in a central location in the office.
Star topologies are more expensive to install than bus networks, because there are several
more cables that need to be installed, plus the cost of the hubs that are needed.
33 Introduction to Computing
Continue…….
Network Topology
Star Topology
34 Introduction to Computing
Continue…….
Network Topology
Ring
Each computer connects to two other computers, joining them in a circle creating a
unidirectional path where messages move workstation to workstation.
Each entity participating in the ring reads a message, then regenerates it and hands it
to its neighbor on a different network cable.
The ring makes it difficult to add new computers.
Unlike a star topology network, the ring topology network will go down if one entity is
removed from the ring.
Physical ring topology systems don’t exist much anymore, mainly because the
hardware involved was fairly expensive and the fault tolerance was very low.
35 Introduction to Computing
Continue…….
Network Topology
Ring Topology
36 Introduction to Computing
Continue…….
Network Topology
Mesh Topology
The mesh topology is the simplest logical topology in terms of data flow, but it is the most
complex in terms of physical design.
This topology is rarely found in LANs, mainly because of the complexity of the cabling.
Because of its design, the physical mesh topology is very expensive to install and maintain.
Cables must be run from each device to every other device. The advantage you gain from it
is its high fault tolerance.
With a logical mesh topology, however, there will always be a way of getting the data from
source to destination.
37 Introduction to Computing
Continue…….
Network Topology
38 Introduction to Computing
Continue…….
Network Topology
• Advantages and Disadvantages of Network Topologies
39 Introduction to Computing
Difference between internet, intranet and extranet.?
Internet is the global network that connects computers all over the world, to each
other for communication.
41 Introduction to Computing
The Internet
Internet is global “Network of Networks”.
The internet is a worldwide public network of computers on which people can join and
use multiple services such as sharing of information.
By internet users at any one computer can get information from any other computer.
42 Introduction to Computing
Advantages of Internet
There many advantages to using the internet such as:
Email.
Sharing Information.
Services.
Buy or sell products.
Communities.
News
Searching jobs
Advertisement
Communication
Entertainment
Online education
Online education and research
43 Introduction to Computing
Disadvantages of Internet
Although there are huge advantages of internet but there is always another side of picture.
So internet has some disadvantages like
Viruses
Security problem
Immorality
Wastage of time
44 Introduction to Computing
Connecting Device to the Internet
To connect to the Internet the following are needed:
a computer
telephone line
Web browser, e.g. Internet Explorer, Firefox, Chrome, Safari, Opera etc.
45 Introduction to Computing
The Internet
• Internet evolved from the ARPANET
– developed by the Advanced Research Projects Agency (ARPA) of the U.S. DoD.
– first operational packet switching network
– applied to tactical radio communication (packet radio, PRNET) & satellite
communications (SATNET)
– need for internetworking between ARPANET, PRNET and SATNET
– led to standardized TCP/IP protocols
46 Introduction to Computing
Web Browser
Web Browser is Software used to display the Web pages. Internet explorer is an example of web browser
Internet explorer
Firefox
Chrome
Safari
Opera
47 Introduction to Computing
Zafar Iqbal Khan 48 Introduction to Computing
Modem
• A device which convert analog signals to digital signals and digital signals to analog for
49 Introduction to Computing
Web Sites Address
Every web site has a specific address which is also called URL that is Uniform Resource
Locator.
EXAMPLE:
http://www.paknews.com
50 Introduction to Computing
WWW
World Wide Web, It consists of a large number of web servers that host websites.
A web page can contain text, images, video, animation and sound.
51 Introduction to Computing
Com
Type of web site there are many other types of web sites like
Pak: Pakistan
Edu: education
Mil: military
Gov: govt
Com: commercial
52 Introduction to Computing
Email
Electronic Mail (email) is a system which allows users of a computer network to send messages to each other. Users can usually:
It is not only typewritten messages that can be sent using Electronic Mail. Pictures, music, videos, in fact almost any sort of information you can think of, can also be
sent.
Each user has to have his or her own address that other users need to know to send messages to him or her.
53 Introduction to Computing
Email
• Electronic mail is good because it is much faster that the ordinary post. It is also very accessible since you can read your email on any suitable computer anywhere in the world. On the other hand not everybody has an
electronic mailbox at the moment, so you cannot use email to send messages to everyone, and you certainly can’t send a parcel by email.
• There are many email service provider companies which allow any user to send and receive electronic mail like
• Hotmail
– www.hotmail.com
• Yahoo
– www.yahoo.com/mail
• Gmail
– www.gmail.com
54 Introduction to Computing
Search Engine
“Internet search engines are special sites on the Web that are designed to help people find
information stored on other sites.”
Tool for finding information, especially on the Internet or World Wide Web.
Search engines are essentially massive databases that cover wide swaths of the Internet.
Search engines are the primary method Internet surfers use to locate information on the Web.
There are thousands of different search engines to help people navigate the Internet.
Yahoo!, Lycos, AltaVista, and Excit, as well as many smaller, industry-specific directories.
There are even Meta searchers, which work by querying a number of other search engines and
processing the results.
55 Introduction to Computing
Search Engine
Major search engines URLs are define below:
Yahoo: www.yahoo.com
Google: www.google.com
Alta vista: www.altavista.com
Lycos: www.lycos.com
Msn: www.msn.com
56 Introduction to Computing
Hypertext Transfer Protocol (HTTP)
The Hypertext Transfer Protocol (HTTP) is a networking protocol for
distributed, collaborative, hypermedia information systems.
The standards development of HTTP has been coordinated by the Internet Engineering
Task Force (IETF) and the WWW Consortium (W3C), culminating in the publication of a
series of Requests for Comments (RFCs), most notably RFC 2616 (June 1999), which
defines HTTP/1.1, the version of HTTP in common use.
57 Introduction to Computing
[1]. Graham Brown and David Watson, " Information and Communication Technology ” 2013.
[2]. Peter Norton, “Introduction to Computers” 6th International Edition (McGraw Hill)
[3]. Charles S. Parker, " Understanding Computer Today & Tomorrow”, 2000.