SlideShare a Scribd company logo
1 of 14
The ALOHA Protocol
• “Free for all”: whenever station has a frame to send,
it does so.
– Station listens for maximum RTT for an ACK.
– If no ACK after a specified amount of time (how long?),
re-sends frame after waiting a random amount of time
(otherwise?)
– It continues to retry for a number of times and then gives
up. (What happens then?)
– Receivers check FCS and destination address to ACK.
• 0.18 the peak utilization with an average of 0.5 frame
attempted every frame time. (Wait a minute.)
Slotted Aloha Performance
How long does it take to send a frame?
    1
1
:
k tries
exactly
it takes
y that
probabilit
The





k
G
G
e
e
k
p
one success k-1 failures
   
 
 
 
G
G
G
k
k
G
G
k
k
G
G
k
e
e
e
e
k
e
e
ke
k
kp
E


























2
1
1
0
1
0
1
1
1
1
1
Expected
number of
transmissions
 2
1
1
1
1
1
1
1
1
r
r
dr
d
r
dr
d
r
dr
d
kr
k
k
k
k
k
k






 









Carrier Sense Multiple Access
(CSMA)
• Stations sense the medium before
transmitting.
• This can reduce the vulnerable period.
CSMA
• 1-persistent
– If medium is idle, then transmit.
– If medium is not idle, then wait until it is and then transmit.
• p-persistent (for slotted channels only)
– If medium is idle, then transmit.
– If medium is not idle, then wait until it is idle
– Once idle then transmit with probability p. And wait for the next
slot with probability 1-p and repeat.
• Problem: when a collision occurs, it lasts for a long time,
the whole frame transmission time. We shall see that for
10Mbps Ethernet, the max frame time is 1.2ms, but the
max time to detect collision is 50microsec.
Carrier Sense Multiple Access
with Collision Detection
CSMA/CD
When transmitting, detect if a collision is occurring. If a
collision is occurring, abort as soon as possible and wait a
random amount of time before retrying.
After beginning transmission, how long until we know that we
have control of the channel? Twice the propagation delay.
CSMA/CD
After beginning transmission, how long until we know that we
have control of the channel? Twice the propagation delay.
Let T be the propagation delay.
At t=0, node 1 begins transmission.
Suppose that at t=T- node 2 begins to transmit.
At t=T, node 2 detects the collision.
At t=2T-, node 1 detects the collision.
Keeping propagation delay small can improve efficiency.
After a collision is detected, often a jamming signal is applied.
This slightly increases the contention interval.
CSMA/CD
What happens if the propagation is too long and frame too short?
Frame transmission time must be at least twice as long as the propagation delay.
10Mbps ethernet – one bit takes ?
Propagation sec/meter = ?
10base max length is 2500 meters (with repeaters).
So minimum frame size is ?
But the the repeaters add some time,
so roundtrip propagation delay < 50microsec.
So minimum frame = ?
What would be the minimum frame for 100Mbps, 1Gbps?
CSMA/
CD
Ethernet
• <data rate><Signaling method><Max segment
length>
• 10Base5 10Base2 10Base-T 10Base-FP
• Medium Coaxial Coaxial UTP 850nm fiber
• SignalingBaseband Baseband Baseband Manchester
• ManchesterManchester Manchester On/Off
• TopologyBus Bus Star Star
• Nodes 100 30 - 33
Frame Layout
Preamble = 101010….10 for 56 bits – allows the PLL to synchronize
Start of Frame – 1 byte
DA - destination address – MAC address
SA - source address – MAC address
Length – 2 bytes
Data – so that total length is at least 64 bytes no more than 1500.
CRC 4 bytes.
Efficiency = (1500-26)/1500
Ethernet Address
MAC address
6 bytes = 7x1013 address
Each interface has its own address. There are no duplicate
address.
Types of destination address
• All bits are one then broadcast, all card on LAN read this packet.
This is used to learn about which other machines are on LAN,
DHCP and also can be used in a network attack (but not anymore).
• Unicast address.
• Multicast address. If the first bit is one, then the address corosponds
to a multicast group. All the members of the group read this packet.
CSMA/CD with Exponential Backoff
Time is divided into 51.2 micro sec slots.
If a collision occurs, then each host waits either 0 or 1 slot times before trying again.
If this fails, they wait either 0, 1, 2, or 3 slot times…..
However, the maximum slot times to wait is 1023.
And after 16 total tries, it gives up and signals upper layer.
Performance – with large frames, Ethernet get about 85% efficiency.
Hubs and Switches
10base-T
To the hosts, the wires
appear to be connected.
But there may be so
circuitry there.
Hub
Switches
Fewer collisions No collisions
In the switch there can be much intelligence. The packets are
buffered and the packets only go to the correct card or set of
cards.
This stops packet sniffing.

More Related Content

Similar to MacProtocols2.ppt

16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-nsMayur Garg
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-nsMayur Garg
 
link-medium-access-control.pptx
link-medium-access-control.pptxlink-medium-access-control.pptx
link-medium-access-control.pptxpatrickwang85
 
Multiple access protocols in data communication networks
Multiple access protocols in data communication networksMultiple access protocols in data communication networks
Multiple access protocols in data communication networksNt Arvind
 
multipleaccessprotocol-140213082552-phpapp02.pdf
multipleaccessprotocol-140213082552-phpapp02.pdfmultipleaccessprotocol-140213082552-phpapp02.pdf
multipleaccessprotocol-140213082552-phpapp02.pdfGauravWankar2
 
Multipleaccessprotocol 140213082552-phpapp02
Multipleaccessprotocol 140213082552-phpapp02Multipleaccessprotocol 140213082552-phpapp02
Multipleaccessprotocol 140213082552-phpapp02arifur rahman
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocaltes31
 
Unit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdfUnit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdfSmtPArunaKumari
 
Chapter 2 -_lan_network_design - Network Design
Chapter 2 -_lan_network_design - Network DesignChapter 2 -_lan_network_design - Network Design
Chapter 2 -_lan_network_design - Network Designnakomuri
 
Dc ch09 : high speed la ns and wireless lans
Dc ch09 : high speed la ns and wireless lansDc ch09 : high speed la ns and wireless lans
Dc ch09 : high speed la ns and wireless lansSyaiful Ahdan
 

Similar to MacProtocols2.ppt (20)

16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-ns
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-ns
 
Chapt-06.ppt
Chapt-06.pptChapt-06.ppt
Chapt-06.ppt
 
AIU_CN_2.pptx
AIU_CN_2.pptxAIU_CN_2.pptx
AIU_CN_2.pptx
 
MAC
MACMAC
MAC
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
link-medium-access-control.pptx
link-medium-access-control.pptxlink-medium-access-control.pptx
link-medium-access-control.pptx
 
Multiple access protocols in data communication networks
Multiple access protocols in data communication networksMultiple access protocols in data communication networks
Multiple access protocols in data communication networks
 
multipleaccessprotocol-140213082552-phpapp02.pdf
multipleaccessprotocol-140213082552-phpapp02.pdfmultipleaccessprotocol-140213082552-phpapp02.pdf
multipleaccessprotocol-140213082552-phpapp02.pdf
 
10 high speedla-ns
10 high speedla-ns10 high speedla-ns
10 high speedla-ns
 
Multipleaccessprotocol 140213082552-phpapp02
Multipleaccessprotocol 140213082552-phpapp02Multipleaccessprotocol 140213082552-phpapp02
Multipleaccessprotocol 140213082552-phpapp02
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 
Unit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdfUnit-2 Media Access Protocols.pdf
Unit-2 Media Access Protocols.pdf
 
ethernet.ppt
ethernet.pptethernet.ppt
ethernet.ppt
 
ethernet.ppt
ethernet.pptethernet.ppt
ethernet.ppt
 
Ethernet copy
Ethernet   copyEthernet   copy
Ethernet copy
 
Chapter 2 -_lan_network_design - Network Design
Chapter 2 -_lan_network_design - Network DesignChapter 2 -_lan_network_design - Network Design
Chapter 2 -_lan_network_design - Network Design
 
Dc ch09 : high speed la ns and wireless lans
Dc ch09 : high speed la ns and wireless lansDc ch09 : high speed la ns and wireless lans
Dc ch09 : high speed la ns and wireless lans
 
high speedla-ns
high speedla-nshigh speedla-ns
high speedla-ns
 
Mac
MacMac
Mac
 

Recently uploaded

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 

Recently uploaded (20)

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 

MacProtocols2.ppt

  • 1. The ALOHA Protocol • “Free for all”: whenever station has a frame to send, it does so. – Station listens for maximum RTT for an ACK. – If no ACK after a specified amount of time (how long?), re-sends frame after waiting a random amount of time (otherwise?) – It continues to retry for a number of times and then gives up. (What happens then?) – Receivers check FCS and destination address to ACK. • 0.18 the peak utilization with an average of 0.5 frame attempted every frame time. (Wait a minute.)
  • 2. Slotted Aloha Performance How long does it take to send a frame?     1 1 : k tries exactly it takes y that probabilit The      k G G e e k p one success k-1 failures           G G G k k G G k k G G k e e e e k e e ke k kp E                           2 1 1 0 1 0 1 1 1 1 1 Expected number of transmissions  2 1 1 1 1 1 1 1 1 r r dr d r dr d r dr d kr k k k k k k                 
  • 3. Carrier Sense Multiple Access (CSMA) • Stations sense the medium before transmitting. • This can reduce the vulnerable period.
  • 4. CSMA • 1-persistent – If medium is idle, then transmit. – If medium is not idle, then wait until it is and then transmit. • p-persistent (for slotted channels only) – If medium is idle, then transmit. – If medium is not idle, then wait until it is idle – Once idle then transmit with probability p. And wait for the next slot with probability 1-p and repeat. • Problem: when a collision occurs, it lasts for a long time, the whole frame transmission time. We shall see that for 10Mbps Ethernet, the max frame time is 1.2ms, but the max time to detect collision is 50microsec.
  • 5. Carrier Sense Multiple Access with Collision Detection CSMA/CD When transmitting, detect if a collision is occurring. If a collision is occurring, abort as soon as possible and wait a random amount of time before retrying. After beginning transmission, how long until we know that we have control of the channel? Twice the propagation delay.
  • 6. CSMA/CD After beginning transmission, how long until we know that we have control of the channel? Twice the propagation delay. Let T be the propagation delay. At t=0, node 1 begins transmission. Suppose that at t=T- node 2 begins to transmit. At t=T, node 2 detects the collision. At t=2T-, node 1 detects the collision. Keeping propagation delay small can improve efficiency. After a collision is detected, often a jamming signal is applied. This slightly increases the contention interval.
  • 7. CSMA/CD What happens if the propagation is too long and frame too short? Frame transmission time must be at least twice as long as the propagation delay. 10Mbps ethernet – one bit takes ? Propagation sec/meter = ? 10base max length is 2500 meters (with repeaters). So minimum frame size is ? But the the repeaters add some time, so roundtrip propagation delay < 50microsec. So minimum frame = ? What would be the minimum frame for 100Mbps, 1Gbps?
  • 9. Ethernet • <data rate><Signaling method><Max segment length> • 10Base5 10Base2 10Base-T 10Base-FP • Medium Coaxial Coaxial UTP 850nm fiber • SignalingBaseband Baseband Baseband Manchester • ManchesterManchester Manchester On/Off • TopologyBus Bus Star Star • Nodes 100 30 - 33
  • 10. Frame Layout Preamble = 101010….10 for 56 bits – allows the PLL to synchronize Start of Frame – 1 byte DA - destination address – MAC address SA - source address – MAC address Length – 2 bytes Data – so that total length is at least 64 bytes no more than 1500. CRC 4 bytes. Efficiency = (1500-26)/1500
  • 11. Ethernet Address MAC address 6 bytes = 7x1013 address Each interface has its own address. There are no duplicate address. Types of destination address • All bits are one then broadcast, all card on LAN read this packet. This is used to learn about which other machines are on LAN, DHCP and also can be used in a network attack (but not anymore). • Unicast address. • Multicast address. If the first bit is one, then the address corosponds to a multicast group. All the members of the group read this packet.
  • 12. CSMA/CD with Exponential Backoff Time is divided into 51.2 micro sec slots. If a collision occurs, then each host waits either 0 or 1 slot times before trying again. If this fails, they wait either 0, 1, 2, or 3 slot times….. However, the maximum slot times to wait is 1023. And after 16 total tries, it gives up and signals upper layer. Performance – with large frames, Ethernet get about 85% efficiency.
  • 13. Hubs and Switches 10base-T To the hosts, the wires appear to be connected. But there may be so circuitry there. Hub
  • 14. Switches Fewer collisions No collisions In the switch there can be much intelligence. The packets are buffered and the packets only go to the correct card or set of cards. This stops packet sniffing.