encapsulates segments into datagrams, passes to link layer
3
New cards
receiver
delivers segments to transport layer protocol
4
New cards
hosts routers
devices that have network layer protocols:
5
New cards
routers
1. examines header fields in all IP datagrams passing through it. 2.moves datagrams from input ports to output ports to transfer datagrams along end-end path.
6
New cards
forwarding
move packets from a router's inout link to appropriate router output link - Getting through single interchange
7
New cards
routing
determine route taken by packets from source to destination (routing algorithms) - process of planning trip from source to destination
8
New cards
transport
layer is only needed at beginning and end
9
New cards
Ethernet
what switch has no network layer because it has no router?
10
New cards
data control
What are the planes of a network layer?
11
New cards
data plane
- local per-router function - determines how the arriving datagram will be forwarded to output -touches user data
12
New cards
control plane
- network wide logic - determines how datagram is routed among routers along end-end path from source host to destination host. - example : traditional routing algorithms
13
New cards
routing algorithm
each router that interact in the control plane has an individual
14
New cards
successful datagram delivery to destination , timing or oder of delivery , bandwidth available to end-end flow
Internet "best effort" service model has no guarantees on :
15
New cards
simplicity of mechanism
has allowed internet to be widely deployed adopted
16
New cards
provisioning of bandwidth
sufficient __________________ allows of performance of real time apps (video) to be "good enough" for "most of the time"
17
New cards
replicated application layer distributed services
(data centers, content distribution networks) connecting close clients networks, allow services to be provided from multiple locations
18
New cards
control plane
which plane operates in millisecond scale and is software
19
New cards
data plane
which plane operates in nanosecond time scale and is hardware
20
New cards
line termination , link layer protocol , lookup forwarding queuing
router input functions are:
21
New cards
physical
line termination is a __________ layer and has bit-level reception
22
New cards
input port queuing
if datagram arrive faster than forwarding rate into switch fabric
23
New cards
lookup
using header field values to ________ output port using forwarding table in input port memory
24
New cards
line speed
goal of decentralized switching is to complete input port processing at
25
New cards
destination based forwarding
forward based only on destination IP address (traditional)
26
New cards
longest prefix match
use longest address that matches destination address
27
New cards
switching fabric
transfer packet from input link to appropriate output link
28
New cards
switching rate
- rate at which packet can be transferred from input to output - measured as multiple of input/output line rate. - N inputs: switching rate N times line rate desirable
rate : N ( input ports) x R (routing)
29
New cards
shared memory, shared bus and interconnection network
types of switching fabrics:
30
New cards
shared memory
- used in first generation routers with switching under CPU - packet is copied to memory - speed limited by memory bandwidth (2 bus crossing per datagram)
31
New cards
shared bus
- datagram from input port memory to output port memory via shared bus - has bus contention (1 thing at a time) - 32 Gbps bus, Cisco 5600: access routers
32
New cards
bus contention
switching speed limited by bus bandwidth
33
New cards
interconnection network
- change packets with constant time rate - break up to fragments and reassemble datagram at exit - has multistage switch NxN - exploiting parallelism
34
New cards
multistage switch
nxn switch from multiple stages of smaller switches
35
New cards
crossbar , clos networks
examples of interconnection nets initially developed to connect processors in multiprocessor.
36
New cards
scaling
using multiple switching planes in parallel
37
New cards
cisco crs router
- basic unit has 8 switching planes - each plane has 3 stage interconnection network - up to 100s Tbps switching capacity
38
New cards
head of line queuing
queued datagram at front of queue prevents others in queue from moving forward
39
New cards
buffering
required when datagrams arrive from fabric faster than link transmission , datagrams can be lost due congestion and lack of buffers
40
New cards
scheduling discipline
chooses among queued datagrams from transmission, priority scheduling
41
New cards
output port buffer overflow
queuing and loss due to ____________
42
New cards
tail drop and priority
types of dropping
43
New cards
marking
which packets to mark signal congestion
44
New cards
front
if we have a TCP , we drop the _____ because the destination will have early acknowledgment (duplicate ack)
45
New cards
FCFS
FIRST COME FIRST SERVE packets transmitted in order of arrival to output port (FIFO : first in firs out)
46
New cards
priority scheduling
- classified as classes ( think airport example) any header fields can be used to classify
47
New cards
Round robin
cued by class and go around and take one from each class.
48
New cards
weighted far queuing
generalized round robin , weighted amounts wi / sum of wj
49
New cards
path selection algorithms , IP protocol , ICMP protocol
network layer functions:
50
New cards
path selection algorithm
implemented in routing protocols OSPF, BGP
51
New cards
IP protocol
- datagram format - addressing - packet handling conventions
52
New cards
ICMP protocol
- error reporting - router signalling
53
New cards
IP address
32-bit identifier associated with each host or router interface
54
New cards
32
IP address __ bit identifier associated with each host or router interface
55
New cards
interface
connection between host/router and physical link - routers have multiple ________ - host has one or two ____________
56
New cards
subnet
device interfaces that can physically reach each other without passing through an intervening router (bubble)
57
New cards
subnet part
devices in the same subnet have common high order bits of IP address structure
58
New cards
host part
low order bits of IP address structure
59
New cards
subnet
each isolated network is called a
60
New cards
host router
to define subnet we detach each interface from its ______ or __________
61
New cards
Classless Interdomain routing
CIDR : a.b.c.d/x
62
New cards
bits
a.b.c.d/x : the x is the number of _________
63
New cards
hardcoded by sysadmin and DHCP
how does host get IP address?
64
New cards
dynamic host configuration protocol
DHCP : dynamically gets address from as server
65
New cards
DHCP
host dynamically obtain IP address from network server when it joins the network - can renew its lease on address in use - allows reuse of addresses - support for mobile user to join/leave network
66
New cards
discover offer request ack
Set of steps for DHCP: DHCP ____
67
New cards
router
DHCP server is located in _____________
68
New cards
hierarchical addressing
allows efficient advertisement of routing information
69
New cards
NAT
network adress transfer
70
New cards
ope IPv4
all devices in local network share just _____ ________ address as far as outside world is concerned
71
New cards
32 bit
How big is the address of the IP address that can be only be used in local network?
72
New cards
one external IP address for depletion, security (outside not accessible)
What are the advantages of NAT?
73
New cards
depletion from 32 to 128
main goals of address ipv4 address
74
New cards
speed processing/forwarding (40 byte header) , enable different network layer treatment of flows
secondary goals to fix IPv4
75
New cards
priority
identify priority among datagrams in flow in IPv6
76
New cards
flow label
identify datagrams in same "flow"
77
New cards
128 bits
size of source address and destination address ?
78
New cards
checksum, fragmentation , options
what is missing in IPv6 instead of IPv4
79
New cards
tunneling
IPv6 datagram carried as payload in IPv4 datagram among IPv6 routers "packets in packets"
80
New cards
IP
in the protocol hourglass, what is the middle network layer?
81
New cards
connectivity , IP Protocol , Intelligence complexity at edge
Three cornerstone beliefs of the internet
82
New cards
per-router control and logically centralized control
two approaches to structuring network control plane:
83
New cards
control plane
individual routing algorithm components in each and every router interact in the ____________ _________
84
New cards
routing protocol
The goal of __________ __________ : determine good paths from sending host to receiving host through network of routers
85
New cards
path
sequence of routers packets traverse from given initial source host to final destination host
86
New cards
cost, fast, congestion
What makes a "good" path?
87
New cards
routers , links
graph G = ( N is set of _______ , E is a set of ________)
88
New cards
link state broadcast
how to get link costs to all nodes?
89
New cards
node
Each ______ computes least cost paths from itself to all other noes and produces a forwarding table
90
New cards
iterative
Dijkstra's link-state routing algorithm is _____________ : after k iterations, know least cost path from itself to k
91
New cards
Cxy
direct link cost from node x to y , infinity if not direct neighbors
92
New cards
D(v)
current estimate of cost of least-cost-path from source to destination v
93
New cards
p(v)
predecessor node (before v) along path from source to v
94
New cards
N'
set of nodes whose least-cost-path already found
95
New cards
least cost path tree
when finding shortest path to all nodes from source we call the final result a ________ ________ _________ __________
96
New cards
distance vector
each node send sits own _______ _______ estimate to neighbors
97
New cards
distance vector
Dx(y) = minv { cx,y + Dv(y) } is the equation of ___________ ____________
98
New cards
wait for change , recompute DV , notify if changes happen
distance vector algorithm has these three steps:
99
New cards
link cost changes , DV update
when does an iteration happen for the distance vector ?
100
New cards
asynchronous
Distance algorithm is __________ since there is no lock in step among the nodes for each iteration