Académique Documents
Professionnel Documents
Culture Documents
.
What
is
a
Computer Network ?
Computer Network
HUB
Components of Conventional Computer Networks
1. Computers
4. Cables
–Are either electrical or optical
–Not required at all for wireless networks
5. Protocol
–Rules governing communications over the network
Working of Conventional Network ?
• Private
• Public
Private Networks (1)
• LAN:
(Local Area Network)
• WAN:
(Wide Area Network)
LAN
• Example:
–Computer network of a University campus
WAN
• A network in which computers are separated by great distances,
typically across cities or even continents
• May consist of several interconnected LANs
• Examples:
– The network connecting the ATM of a bank located in various cities
– A network connecting the local and oversea offices of a SW house
– Internet
Connecting LANs to other Networks
• Modulator
converts computer messages to electrical pulses that are
suitable for transmission over the telephone lines
• Demodulator
converts electrical pulses received over telephone lines
into messages that are comprehensible for computers
Network Topologies
Comp B
Comp A
Point to Point
• Inexpensive
• Limited connectivity
• Quite often used for connecting two LANs to form a
WAN
STAR Topology
Comp A
Comp B Comp C
SERVER
Comp D
Star (1)
Comp A
Comp C
BUS
a high speed cable Comp B Comp D
Bus (1)
• No server is required
• One computer sends data to another by broadcasting the
address of the receiver and the data over the bus
• All the computers in the network look at the address
simultaneously, and the intended recipient accepts the data
Bus (2)
• A bus network, unlike ring or star networks, allows data to be
sent directly from one computer to another
• However, only one computer at a time can transmit data. The
others must wait until the bus gets idle
• If any of the nodes goes down, the rest of the network is not
affected
RING Topology
Comp A
Comp D Comp B
Comp C
Ring (1)
• No server is required
• A computer sends the message to its neighbor. The neighbor
examines the message to determine if it is the intended recipient
• If the data are not intended for that particular neighbor, it
passes the message to the next computer in the ring
Ring (2)
• This process is repeated until the data arrive at their intended
recipient
• This topology allows multiple messages to be carried,
simultaneously
• Data transmission is slow since each message is checked by each
computer
Ring (3)
HUB HUB
Networking Protocols
• Networks use protocols, or rules, to exchange info through shared
channels
• Protocols prevent collisions of packets caused by simultaneous
transmission between two or more computers
• Several protocols are available for various types of networks.
Most Popular protocols for LANs:
• Ethernet
• Token Ring
Ethernet Protocol
• A computer using this protocol checks if a shared connection is
in use before transmitting a message
• If not, the computer transmits data
• Two computers may sense an idle connection and may send
packets simultaneously. To account for such situations,
transmitting computers continue to monitor the connection and re-
transmit if a packet collision occurs
Token Ring Protocol
• This protocol passes a special message called a token through
the network
• A computer that receives the token is given permission to send
a packet of information
• If the computer has no packet to send, it passes the token to the
next computer
Computer Networks
=
Computers
+
Communications
Types of Communication Channels
• 1. Wire
• 2. Wireless
• Wire
–Copper based
• Twisted-pair
• Coaxial cable
–Optical fiber based
Types of Communication Channels
Wireless
–Line-of-sight
• Microwave
• Optical
–Non-line-of-sight
• Satellite
• Radio
• Cellular
Wireless (Radio) LANs Are Becoming Popular
Key benefits:
–Set-up time short
–Set-up cost low Key challenges:
–Maintenance cost low –Security & privacy
–Quality of service not
very good