Professional Documents
Culture Documents
LAN Technologies
08/22/2022 1
Outlines
2
⚫ LAN Technologies
Hubs
Bridges
Switches
Routers
⚫ Cabling
08/22/2022 2
ALOHA
3
⚫ ALOHA is designed to solve channel allocation problem.
08/22/2022 3
Cont’
4
synchronization.
08/22/2022 4
Pure ALOHA
5
08/22/2022 5
Frames in a pure ALOHA network
7
08/22/2022 6
Slotted ALOHA
8
pure ALOHA.
08/22/2022 7
Frames in a slotted ALOHA network
08/22/2022 8
Pure Aloha vs Slotted Aloha
10
Pure Aloha:
⚫ The user can transmit the data frame whenever the station
Slotted Aloha:
⚫ The user has to wait till the next time slot start, to transmit
08/22/2022 9
Carrier Sense Multiple Access(CSMA)
08/22/2022 10
Cont’
12
⚫ When a station sends a frame, it still takes time for the first
bit to reach every station and for every station to sense it.
⚫ Example: Ethernet
transmission.
08/22/2022 11
Persistent
08/22/2022 12
Non persistent
persistent protocol.
In this protocol, before sending the data, the station senses the
08/22/2022 13
Carrier Sense Multiple Access with Collision
Detection (CSMA/CD)
13
… etc.
08/22/2022 15
Ethernet
15
08/22/2022 16
Cont’
16
08/22/2022 17
Cont’
17
08/22/2022 18
Cont’
18
The last two bits “11” indicate the end of Start Frame
Delimiter and marks the beginning of the frame.
08/22/2022 19
Cont’
19
08/22/2022 20
Cont’
20
byte field that contains the CRC code for error detection.
08/22/2022 21
LAN and its Components
21
⚫ Network media
⚫ End points
⚫ NIC
⚫ Connectors
⚫ Hubs/Repeaters
⚫ Switches/Bridge
⚫ Routers
08/22/2022 22
Cont’
22
Example:
08/22/2022 23
Network Interface Card(NIC )
23
address(MAC address).
No two NIC devices will ever have the same MAC address.
08/22/2022 24
Cont’
24
⚫ Function of NIC:
Data Transfer
Data Buffering
Frame Construction
Media Access Control
Data Encoding/Decoding
Data Transmission/Reception
08/22/2022 25
Hub
25
LAN.
⚫ Forwards the message to all connected devices.
08/22/2022 26
Cont’
26
hub
hub
hub
hub
08/22/2022 27
Cont’
27
⚫ Hub Advantages:
Simple
Inexpensive
Extends maximum distance between node pairs (100m per
Hub)
08/22/2022 28
Cont’
28
Hub limitations:
⚫ Data collision reduce the
throughput.
⚫ Unnecessary traffic.
08/22/2022 29
Repeater
29
08/22/2022 30
Cont’
30
08/22/2022 31
Switches
31
08/22/2022 32
Switches
32
in a single switch.
08/22/2022 33
Switch vs Hub
33
08/22/2022 34
Bridge
34
⚫ Bridges are more intelligent than hubs but it has only two
08/22/2022 35
Cont’
35
08/22/2022 37
Cont’ 37
08/22/2022 38
Hub, Switch and Router
38
⚫ Hub
⚫ Switch
08/22/2022 39
Cont’
39
• Router
o Router is used to connect different network.
o It is the best and most complicated of the three.
o Enable all networked computers to share a single Internet
connection, which saves money.
08/22/2022 40
Cont’
40
N.B
⚫ A firewall is hardware or software based networking device
08/22/2022 41
LAN(Local Area Network)
41
08/22/2022 42
…
42
Network 1
Routers
Network 2
Network 3 Network 4
08/22/2022 43
Ethernet Cable
43
08/22/2022 44
Cont’
44
colors.
Green: for downloading
Orange: for sending a data
Blue used to increase bandwidth
Brown
Read about DTE and
DCE!
08/22/2022 45
Cable Category
45
08/22/2022 46
Ethernet Cable
46
08/22/2022 47
Cont’
47
08/22/2022 48
Cont’
48
Connection Rules:
Unlike devices
⚫ Straight- through
Like devices:
⚫ Cross-over
08/22/2022 49
Cont’
49
08/22/2022 50
Cont’
50
⚫ RJ45 connector
⚫ Cutter
⚫ Cat5/6 cable
⚫ Tester
08/22/2022 51
How to wire
51
08/22/2022 52
Cont’
52
order.
1 2345 678
08/22/2022 53
Cont’
53
⚫ Straight Through
All order of the wirings is the same as the other side.
1→8
1 2345 678 1 2345 678
08/22/2022 54
Cont’
54
⚫ Straight Through
Host A Host B
Pin Usage Color Color Usage Pin
1 Tx+ Tx+ 1
2 Tx- Tx- 2
3 Rx+ Rx+ 3
4 -- -- 4
5 -- -- 5
6 Rx- Rx- 6
7 -- -- 7
8 -- -- 8
08/22/2022 55
Cont’
55
⚫ Crossover
We need to change the order of the transmission and receiving
wirings.
1→8
1 2345 678 1 2345 678
08/22/2022 56
Cont’
56
⚫ Crossover
Host A Host B
Pin Usage Color Color Usage Pin
1 Tx+ Tx+ 1
2 Tx- Tx- 2
3 Rx+ Rx+ 3
4 -- -- 4
5 -- -- 5
6 Rx- Rx- 6
7 -- -- 7
8 -- -- 8
08/22/2022 57
Cont’
57
08/22/2022 58
Cont’
58
08/22/2022 59
08/22/2022 60