Week 2
Week 2
1
Objectives:
Understand the concept of data communication and the platform for
communication
Describe the structure of a network, including the devices and media that are
necessary for successful communications.
3
Simplified Communications Model Diagram
4
Cont’d…
6
Concepts and Terminology
Data transmission occurs between transmitter and receiver over some
transmission medium.
Signal: electromagnetic waves---Can propagate along the transmission medium
Transmission Medium: is a communication channel that transmits information
from the transmitter to the receiver. It is a physical path for data transfer through
electromagnetic signals.
Data rate: the speed at which data is transferred within the computer or between a
peripheral device and the computer, measured in bits per second(bps). (bit rate )
Signal rate: is the number of signal elements sent in 1 s.
One goal in data communications is to increase the data rate while decreasing
the signal rate.
Increasing the data rate increases the speed of transmission. 7
Data Transmission Modes
8
Simplex Transmission
9
Half Duplex
10
Full Duplex
In full duplex system there can be two lines one for sending the data and the
other for receiving data.
11
Components of the Network
12
Network Hardware
13
Network Hardware...
The most commonly used network hardware components are:
End devices
intermediary devices
Media devices
14
End Devices & Their Roles
An end device is a source or destination device that form the interface
between users (human network) and the underlying communication network
in a networked system.
15
Cont’d…
Role of end devices:
16
Servers
Robust central computers at the heart of a network.
The server contains the file, print, application, security, and other
services in a central computer that is continuously available to
respond to client requests.
There are different types of servers based on the need of the
organization:
• File Server
• Printer Server
• Database Server 17
Intermediary Devices & Their Role
Intermediary devices interconnect end devices.
18
Cont’d…
Role of an intermediary device:
Determines the path data will travel to get from source to destination
19
Repeaters
Signal attenuation or signal loss – signal degrades over distance in a
bus topology.
20
Repeaters…
Most hubs are active; that is, they regenerate and retransmit signals in the
same way as a repeater does. Because hubs usually have 4 to 16 ports for
network computers to connect to, they are sometimes called multiport
repeaters.
24
Bridges
• Designed to create two or more LAN segments, each of which is a separate
collision domain.
• A bridge connects dissimilar networks (different cabling and topologies)
together.
• Bridges, like switches, can learn the MAC(media access control) address of
each of the hosts connected to them and use that address to control traffic to
each of the host’s ports.
• Bridges, however, are slower than switches, so they have been largely replaced
by switches as a device that is used to segment traffic.
25
Bridges…
Bridges maintain a MAC address table for both segments they are connected
to.
Frame filtering
If the frame is addressed to a MAC address on the local side of the bridge, it is
not forwarded to the other segment.
For example in Figure15.5,two LANs are connected by a bridge. If a frame
destined for station 712B13456142 arrives at port1, the bridge consults its table
to find the departing port. According to its table, frames for 7l2B13456142
leave through port1; therefore, there is no need for forwarding, and the frame
is dropped.
26
Routers…
• Determine the most efficient path for a packet to take.
• Send the packet to the right address and make sure that it does not go to where
it is not needed.
27
Routers…
Routers first determine whether the traffic belongs on their network; then they
deliver the traffic that belongs on their network to the appropriate network hosts and
forward the traffic that does not belong on their network to another router.
Some routers may also connect two networks that use different layer 2 protocols.
These routers incorporate the functionality of a bridge and are called brouters. 28
Brouters
• In order to communicate with a host on another network, an IP host must be configured with
a route to the destination network.
• If a configuration route is not found, the host uses the gateway (default IP router) to transmit
the traffic to the destination host.
• The default t gateway is where the IP sends packets that are destined for remote networks.
• A gateway normally operates in all five layers of the Internet or seven layers of OSI model.
30
Network Interface Cards
• Network interface cards, usually referred to as NICs, act as the physical
interface or connection between the computer and the network cable.
• NICs contain the electronic components that establish and control network
communications.
• The cards are installed in an expansion slot in each computer and server on the
network.
31
NIC…
The role of the NIC is to:-
Prepare data from the computer for the network cable.
Send the data to another computer.
Control the flow of data between the computer and the cabling system.
Receive incoming data from the cable and translate it into bytes that can
be understood by the computer's central processing unit (CPU).
32
NIC…
After the NIC has been installed, the network cable is attached to
the card's port to make the actual physical connection between the
computer and the rest of the network.
NICs are usually specific to a particular type of cabling – for
example, a NIC may have either an RJ45 connector or a BNC
connector.
The most common network interface connections are
Ethernet cards and
wireless adapters.
33
Network
Transmission
Media
Transmission Media
• For communication to take place, there has to be a connection
between devices.
• This is the channel over which a message travels.
• Encoding is different for each type, i.e. electrical impulses, light pulses, wave
patterns
Communication
Media
Guided Media
Unguided Media
Green
White/Green
Orange
White/Orange
Brown
White/Brown
Blue
White/Blue
Types of Twisted Pair Cables
RJ-45 RJ-11
Twisted Pair Connectors
RJ-45 Wall
Connector
RJ-45 Port
Categories of Twisted Pair Cables
• Category 1 - used for telephone communication. Not good for data communication
• Category 5e - can support data at speed up to 1000Mbps or 1Gbps (Gigabits bits per
seconds)
• Category 6, 6a, 7 - up to 10Gbps
Coaxial Cables
Made up of a copper conductor.
Coaxial cable can be used over longer distances and support more
stations on a shared line than twisted pair.
Noise immunity is better than twisted pair
Commonly used for TV transmission
44
Data can be transmitted at high speed
Advantages
of Co-axial It has better shielding as compared to
Cable twisted pair cable
The advantages of
fibre optic cable
over copper Faster speed
(Twisted and
Coaxial)
Longer distances
Unguided Media
• MAC filtering – Here, the network administrator decides which device can access the network using their MAC
addresses.
• Firewalls – inspects inbound and outbound traffic and decides which traffic to grant or deny access based on some
security rules. A firewall can decide to block traffic coming from this network 192.168.100.0/24 or traffic coming
from www.google.com
• Frequent updates of your devices – Frequent updates ensures the latest security updates are installed
• Provide frequent backup on important data – in case of network failure, you can restore the previous data you
• Physically secure your network devices – sometimes your network can be attacked physically. An attacker can
OSI Reference and TCP/IP
Model
61
Objectives
62
The OSI and TCP/IP Model
There two common network models
1. OSI Reference model
2. TCP/IP model
OSI “Open Systems Interconnection".
TCP/IP “transport control protocol/internet protocol”
63
OSI Reference model
It is a reference model that helps us understand how data gets from one user’s
computer to another.
OSI describes how the different software and hardware components involved
in a network communication should divide labor and interact with one another.
65
OSI Reference Model…
66
Overview & functions of each layer
Know the layers in order!
Gives end-user applications access to network resources
Where is it on my computer? Workstation or Server Service in MS Windows
• Provides reliable data delivery. Concerned with transportation issues.It’s the TCP in TCP/IP
• Receives info from upper layers and segments it into packets
• Places data and retrieves it from the physical layer and provides error
detection capabilities
The physical layer is responsible for the movement of individual bits from one
node to the next.
67
TCP/IP Model
The late-60s The Defense Advance Research Projects Agency
(DARPA) originally developed Transmission Control
Protocol/Internet Protocol (TCP/IP) to interconnect various defense
department computer networks.
68
Layers with TCP/IP Model
1
69
Protocols of TCP/IP Reference Model
Application layer: Transport layer:
• DHCP, DNS, FTP, HTTP(S) • TCP
• IMAP, POP, SMTP • UDP/User datagram protocol
• NNTP, NTP, RIP, SNMP
• SSH, SSL, Telnet
Link layer:
Internet layer:
•ARP
IP •OSPF
• IPv4 •PPP
• IPv6 •MAC (Ethernet, FDDI, Token Ring)
ICMP
IGMP
70
Comparing TCP/IP and OSI Model
Know these layers and the comparison compare between the two models
71