Ccna1 CH4
Ccna1 CH4
Ccna1 CH4
Exchange data
over common
media. PDU is a frame.
Getting it Connected
Connecting to the Network
MAC addresses are only used for local delivery “who is next”.
12
Controlling Transfer Across Local Media
LANHeader
LAN Header Packet LAN Trailer
The router
Frame Relay
Different media… Protocol
Different characteristics…
Different MAC method…
Ethernet
Protocol
The Frame
Data Link Frame : Header , data and trailer.
Header differs
as media
changes
The signals on the media could be subject to change the bit values due to :
Interference.
Distortion.
Loss.
18
Framing: Role of the Trailer
CRC errors in more than one bit may cancel each other out when the CRC
is calculated.
Upper layer protocols would then be required to detect and correct this data
loss.
Trailer
Header Data FCS Stop
Data Link Sub-layers
• Upper Logical Link Control (LLC) – This upper sublayer communicates with
the network layer. It places information in the frame that identifies which
network layer protocol is being used for the frame. This information allows
multiple Layer 3 protocols, such as IPv4 and IPv6, to utilize the same network
interface and media.
• Lower Media Access Control (MAC) - MAC addressing , proper framing that
fits the media , delimiting of data and contention methods protocols at this
20
layer are implemented within the electronics of the network adapters.
Media Access Control
Media Access Control protocols - Define and regulate the rules of how the nodes
share and access the media and the placement of data frames onto the media.
21
Physical Topology : The physical arrangement “connection “ of
the nodes.
Point to Point :The very popular simplest WAN topology , a permanent link
between two endpoints.
Hub and Spoke: A WAN version of the star topology in which a central site
interconnects branch sites using point-to-point links.
Mesh: The high available topology that requires every end system be
interconnected to every other system. Therefore the administrative and
physical costs can be significant. Each link is essentially a point-to-point link
to the other node.
Point-to-Point topology
24
Logical Point-to-Point Networks
The logical connection created between two network devices (in some cases) may
be a virtual circuit.
• Data Link Destination address is the device at the other end of the virtual
circuit.
25
Duplex Transmissions
In full-duplex, the station ignores any collision detect signals that come from the
transceiver , it assumes no collisions. “No CSMA/CD”
The two stations must be configured for full duplex , if a hub is connected to a
switch, the switch port must be in half-duplex.
28
FYI- Half-duplex, Full-duplex Issue
Half-duplex Full-duplex
Switch A senses a collision (the half-duplex side) and stops sending the frame.
Switch B (Assumes no collisions) doesn’t care and keeps on sending frames.
Data ends up being transmitted only one-way most of the time, with collisions
constantly happening on Switch A, causing performance issues on the network.
(Remember, most network communications is bi-directional.
You might notice this problem when the collision light (or output) on Switch
always on indicating a very large number of collisions detected on that port.
29
FYI- Configuring Speed and Duplex
30
FYI- Legacy Ethernet
Contention based
CSMA/CD 802.3
CSMA/CA 802.11
Controlled
Token Ring 802.5
FDDI 802.4
32
Placing Data on Frames
– Logical Topologies
There are TWO basic media access control methods for sharing the media:
Controlled - Scheduled or deterministic access , stations will have the turn to send
data even if they have nothing to transmit i.e. Token Ring , etc.. (No collisions)
Performance of these types of networks are low because stations have to wait its
role . Frames for these technologies are large in size because it contains a lot of
data that organize data transmission.
Contention-based (Multi Access) - All nodes compete for the use of the medium
(non-deterministic) whenever they have data to send using CSMA.
33
Multiple –Access Topology
Only data from one node can be placed on the medium at a time.
Carrier Sense Multiple Access (CSMA) first detect if the media is carrying a signal.
If a signal is detected, it means that another device is transmitting , wait and try
again after a short time period.
It is possible that the CSMA process will fail when two devices transmit at the same
time. This is called a data collision. Data will then be corrupted and will need to be
resent.
34
Multiaccess Logical Topology
A sends to E
Check for other
transmissions 2222 6666
Media available
Transmit
X
X X I’ll wait……
The device monitors the media for the presence of a data signal.
If the media is free, the device transmits data.
If signals of another transmitting device detected at the same time, all devices
stop sending and try again later.
The device examines the media for the presence of a data signal.
If the media is free, the device sends a notification across the media of its intent
to use it. The device then sends the data.
36
LAN Topologies
Controlled Access
Ring Topology
Yes
Is it for me?
No
A sends to D
Is it for me?
No
Is it for me?
WAN
• The need for high bandwidth on WANs is increasing due to video, voice, and
other applications.
39
Ethernet Protocol for LAN
Ethernet is a layer 1,2 most widely used LAN technology defined in IEEE 802.2
and 802.3 standards and supports data bandwidths of 10, 100, 1000 & 10,000
Mbps.
40
Point-to-Point Protocol for WANs
(PPP) is one of the serial WAN protocol used to deliver frames between two nodes.
PPP connections might be fiber optic lines, satellite , as well as for virtual
connections.
PPP also build sessions that allows two nodes to negotiate options within the PPP
session. This includes authentication, compression, and multilink (the use of
multiple physical connections). The sessions will allow supporting various layer 3
protocols
PPP doesn’t assign an individual station address , but uses a broadcast address.
41
Wireless LAN IEEE 802.11 protocol.
42
Physical layer tasks
• The Data Link layer must specify the start and the end of each frame .
• However, the Physical layer may add its own signals to indicate the beginning
and end of the frame.
Purpose of the Physical Layer
Physical Layer Media
The physical layer produces the representation and groupings of bits for each
type of media as:
• Copper cable: The signals are patterns of electrical pulses.
• Fiber-optic cable: The signals are patterns of light.
• Wireless: The signals are patterns of microwave transmissions.
Physical layer standards
• Encoding and Signaling : How should the data and control signal be.
• Media , connectors and NIC : defines the physical , electrical and mechanical
properties and pinouts.
Encoding and signaling
Encoding : converting a stream of data bits “data or control” into a predefined code
(groupings of bits) at the transmitter , data is decoded at the receiver.
Signaling : The Physical layer must generate the electrical, optical, or wireless
signals that represent the "1" and "0" on the media. This also includes
representing bits on the medium by changing Amplitude, Frequency or Phase .
Data Carrying Capacity
Data transfer speed can be measured in 3 ways:
- Throughput – The actual transfer of bits across the media over a given time .
Differs than ideal due to the amount and type of traffic and the latency created by
the number of devices between the source and destination.
- Goodput - It is the real measure of usable data transferred over a given period of
time . Goodput is throughput minus traffic overhead for establishing sessions,
acknowledgements, and encapsulation.
-Latency - refers to the amount of time, to include delays, for data to travel from
one given point to another.
47
Coaxial cable
Got its name from the fact that there are two conductors on the same access.
Good for high frequency radio/video signals , carries data between wireless
radios and antennas , cable TV and Internet connections.
Used formerly in Token LANs – died out as UTP was cheaper and gave higher
speeds.
Often now combined with fibre in the network , (optic Hybrid Fiber Coax (HFC
network is a network which incorporates optic fiber along with coaxial cable to
create broadband networks).
Media
Copper cable (twisted pair and coaxial)
Fibre optic cable
Wireless
1 2
4
3
Radio Frequency (RFI) from radio transmissions. (Avoided by shielding the cable).
Crosstalk caused by magnetic field from adjacent pairs of wires in the cable or
nearly cables. Twisting of wire pairs cancel unwanted signals and eliminate
crosstalk.
Careful termination – putting connectors on cables correctly.
Type Use
54
UTP Cabling
UTP Cabling Standards
Unshielded twisted pair (UTP) cable
Eight wires twisted together into four pairs and with an outer jacket.
Jackets protects copper from physical damage.
Commonly used for Ethernet LANs.
The number of twists per metre is carefully controlled. (Protect from
interference)
Straight through cable Crossover cable
Both ends the same Wire 1 swaps with 3
Connect PC to switch or hub Wire 2 swaps with 6
Connect router to switch or hub Connect similar devices to each other
Installed cabling is straight through. Connect PC to router , switches to
Connects unlike devices DCE-DTE. hubs , DTE to DTE or DCE to DCE.
Cabling – Show the straight-through and cross-over cables
Straight-through cable
switch switc
h
58
Cross over
• Switch to switch
• Switch to hub
• Hub to hub
• Router to router Ethernet port
connection
• Computer to computer
• Computer to a router Ethernet port
UTP cable
Jacket must be fixed inside the RJ45 so as not to reveal wires to noise.
Rollover cable
Cisco proprietary.
Wire order completely reversed.
Console connection from PC serial port to router –
to configure router.
Special cable or RJ45 to D9 adaptor.
• FTTH and Access Networks: Fiber to the home very high speed broadband
service .
Testing cables
No cost of installing cables where hosts are free to move around (Mobility).
70
Wireless Media
Wireless LAN requires the following network devices:
Wireless adaptors
- Wireless Access Point (AP).
- Wireless NIC.
Wireless problems
71
Wireless Media
Types of Wireless Media
• IEEE 802.11 standards
• Commonly used in wireless LANs
• Uses CSMA/CA
• Variations include:
• 802.11a: 54 Mbps, 5 GHz
• 802.11b: 11 Mbps, 2.4 GHz
• 802.11g: 54 Mbps, 2.4 GHz
• 802.11n: 600 Mbps, 2.4 and 5 GHz
• 802.11ac: 1 Gbps, 5 GHz
• 802.11ad: 7 Gbps, 2.4 GHz, 5 GHz, and 60 GHz
Maximum Backwards
Standard Frequency
Speed compatible