1
3/5-07 Datakommunikation - Jonny Pettersson, UmU
The Data Link Layer
Our goals:
understand principles
behind data link layer services:
error detection,
correction
sharing a broadcast
channel: multiple access
link layer addressing reliable data transfer,
flow control: done! instantiation and
implementation of various link layer technologies
Last time
link layer services error detection, correction multiple access protocols and
LANs
link layer addressing, ARP,
DHCP
Today
Ethernet (Token Ring and FDDI) hubs and switches PPP
3/5-07 Datakommunikation - Jonny Pettersson, UmU
Addressing
different address scheme in different
layers
application layer: host names (transport layer: port number) network layer: IP-addresses link layer: LAN addresses
translation mechanisms
DNS ARP
3/5-07 Datakommunikation - Jonny Pettersson, UmU
Ethernet : IEEE802.3 standard
“Dominant” wired LAN technology:
Cheap, less than $20 for 100Mbs! First widely used LAN technology Simpler, cheaper than token LANs and ATM Kept up with speed race: 10 Mbps – 10 Gbps
Metcalfe’s Ethernet sketch
3/5-07 Datakommunikation - Jonny Pettersson, UmU
Star topology
Bus topology popular through mid 90s Now star topology prevails Connection choices: hub or switch (more later)
hub or switch
3/5-07 Datakommunikation - Jonny Pettersson, UmU
Ethernet Frame Structure
Sending adapter encapsulates IP datagram (or other network layer protocol packet) in Ethernet frame Preamble:
7 bytes with pattern 10101010 followed by one
byte with pattern 10101011
used to synchronize receiver, sender clock rates
3/5-07 Datakommunikation - Jonny Pettersson, UmU