day10 lan. why? allow more than one machine to share –resources –internet connectivity...
TRANSCRIPT
![Page 1: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/1.jpg)
Day10
LAN
![Page 2: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/2.jpg)
Why?• Allow more than one machine to
share– Resources– Internet connectivity– Information
![Page 3: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/3.jpg)
Good• LANs are abstract from the
hardware– HP printer will work with an IBM PC or
a MAC or Linux– You usually don’t know what type of
machine you are connecting to, it’s irrelevant since you both talk the same protocols.
• More web servers run on Linux (apache) than windows (IIS), but you can access them all from windows.
![Page 4: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/4.jpg)
Shared Bus• Anytime we see a network where
everyone shares a single wire (either physically or logically) – Traffic from any host to any host goes
to all hosts– Everyone is supposed to ignore it
unless it is addressed to them
Computer Computer Computer Computer
![Page 5: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/5.jpg)
Topologies• Tree
– Cable TV– Single wire, bidirectional, can be
broadband– Need Taps (jaws)– One break it all goes down– Shared Bus
Computer
Computer
ComputerComputer
Computer Computer
![Page 6: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/6.jpg)
Star Wired Bus• Works like a bus (single wire)• Looks like a star (each
workstation connects to central point)
• Most networks use this today– Ethernet– Token Ring
• Shared busComputer Computer Computer
![Page 7: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/7.jpg)
Hubs• Workstations connect to hubs
– Dumb repeaters– Take data in one port, broadcast it to
all ports
• Can be connected to other hubs via a crossover cable
• Mostly obsolete
HUB A
Computer 1 Computer 2 Computer 3
HUB B
Computer 4 Computer 5
![Page 8: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/8.jpg)
Media Access Control Protocol• Carrier Sense Multiple Access
(CSMA)• Collision Detection (CD)
– CSMA/CD– E.g. Ethernet
• Listen for Carrier• Transmit and listen for collision• Wait and retransmit
• 100Mbps Ethernet has max speed of 40Mbps because of collisions
![Page 9: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/9.jpg)
CSMA/CA• Collision Avoidance:
– a station that intends to transmit sends a jam signal
– after waiting a sufficient time for all stations to receive the jam signal, the data station transmits a frame
– while transmitting, if the data station detects a jam signal from another station, it stops transmitting for a random time and then tries again.
,
![Page 10: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/10.jpg)
Star-Wired Ring• Token ring is the most common
example– Every workstation connects to a Hub
like device (MAU).– MAU creates a circle between
workstations• Empty ports are shorted
– Workstation adds data to ring, and removes it when it gets back.
– Token decides who can talkComputer 1Computer 2
![Page 11: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/11.jpg)
Token Ring 802.5• Round Robin Protocol
– Single token– No collisions– More efficient– More expensive – Slower speeds– Basically dead
![Page 12: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/12.jpg)
Wireless• Access point
– Converts from wireless to wired– Can be more than one used to blanket
a larger area
Computer
![Page 13: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/13.jpg)
IEEE 802.3 (Ethernet) Frame
![Page 14: Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information](https://reader035.vdocuments.net/reader035/viewer/2022062309/56649f135503460f94c27d9d/html5/thumbnails/14.jpg)
Ethernet– [speed][base/broad][distance (in 100
meters)• 10Base2
– 10Mbps baseband signal for 200 meters
• 10BaseT– 10Mbps baseband signal for 100 meters
• 100baseT– 100Mbps baseband for 100 meters
• 1000baseT• 1000BaseFx – 1000m, SX/LX – 100m, LX• 10Gbase-fiber/T