1
26/4-07 Datakommunikation - Jonny Pettersson, UmU
Network Layer
Goals:
understand principles
behind network layer services:
forwarding routing (path selection) dealing with scale how a router works advanced topics: IPv6,
multicast instantiation and
implementation in the Internet
Overview:
network layer services virtual circuit and datagram
networks
what’s inside a router? IP: Internet Protocol
IPv4 datagram format IPv4 addressing ICMP IPv6
routing algorithms
Link state Distance Vector Hierarchical routing
routing in the Internet
RIP OSPF BGP
broadcast and multicast
routing
26/4-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
Today
link layer services error detection, correction multiple access protocols and
LANs
link layer addressing, ARP,
DHCP
Next time
Ethernet hubs and switches PPP 26/4-07 Datakommunikation - Jonny Pettersson, UmU
Link Layer: setting the context
26/4-07 Datakommunikation - Jonny Pettersson, UmU
Link Layer: setting the context
two physically connected devices:
host-router, router-router, host-host
unit of data: frame
application transport network link physical network link physical
M M M M Ht Ht Hn Ht Hn Hl M Ht Hn Hl frame
- phys. link
data link protocol adapter card
26/4-07 Datakommunikation - Jonny Pettersson, UmU
Link Layer Services
Framing, link access:
encapsulate datagram into frame, adding header, trailer channel access if shared medium, ‘physical addresses’ used in frame headers to identify
source, dest
- different from IP address!
Reliable delivery between two physically connected
devices:
we learned how to do this already (chapter 3)! seldom used on low bit error link (fiber, some twisted
pair)
wireless links: high error rates
- Q: why both link-level and end-end reliability?
26/4-07 Datakommunikation - Jonny Pettersson, UmU
Link Layer Services (more)
Flow Control:
pacing between adjacent sending and receiving nodes
Error Detection:
errors caused by signal attenuation, noise. receiver detects presence of errors:
- signals sender for retransmission or drops frame
Error Correction:
receiver identifies and corrects bit error(s) without
resorting to retransmission Half-duplex and full-duplex
with half duplex, nodes at both ends of link can transmit,