1/41
Looks like no tags are added yet.
what is the control plane and what parts of the OSI model are within it
for building routing state over time
application, presentation, session
what is the data plane and what parts of the OSI model are within it
for forwarding packets in real time
transport, network, link, physical
what is a datagram
packet with header and payload, connectionless
IPv4 datagram: ver
IP protocol version #
IPv4 datagram: header length max length
64k bytes
IPv4 datagram: type of service (tos)
3 bit precedence field
4 tos bits: minimize delay, maximize reliability, minimize monetary cost, maximize throughput
only one of the 4 TOs bits can be set to 1
all TOs bits set to 0 implies “normal“ service
set by the application
what is the differentiated services definition
replaces ToS interpretation
first 6 bits define services that select the per hop behaviour of the packet
last 2 bits are about congestion
IPv4 datagram: total length
of datagram in bytes including header
IPv4 datagram: 16-bit identifier, flags, fragment offset
for fragmentation and reassembly
IPv4 datagram: time to live
max number of remaining hops (decrement at each router aka each hop)
how long can packet stay in network
default 64 hops
if no TTL, loops
IPv4 datagram: protocol
type of payload
IPv4 datagram: check sum
error detection
checks if data or headers were corrupted during transmission
add 1s complement and take 1s complement of result
IPv4 datagram: options
eg. a timestamp, record of path taken by datagram, list of routers to visit
IPv4 datagram: how many bytes + app layer over head
20 bytes TCP + 20 bytes IP = 40 bytes + app layer overhead
what is an interface
connection between host/router and attached physical link
can hosts have multiple interfaces
yes
what is an IP address
32 bit identifier for a host/router interface
what are the parts of an address and what does it specifier
network part, host part
specifies host @ network
does not reflect topology of internet completely
routing table entries referring to destinations in the same autonomous systems refer to…
networks only
how many networks and hosts does each class of addresses get? (A to E)
31 in total
class A: 2^7 networks, 2^24 hosts
class B: 2^15 networks, 2^16 hosts
class C: 2^²3 networks, 2^8 hosts
class D: multicast address
class E: reserved address
problems with class addressing
2^³2 is not enough for IoT, too few networks left
solutions to class addressing
eliminate classes
new and bigger global address space
locally unique addresses
what does this IP address mean: 0.0.0.0 in the host or network section
“this host“ or “in same network“
what does this IP address mean: 0s in network and host part
a host in this network
what does this IP address mean: 255.255.255.255 (all 1s)
broadcast to all in this network
what does this IP address mean: network part + all 1s
broadcast in stated network
what does this IP address mean: 127.anything.anything.anything
loopback testing, packets sent to this address are not sent out and are processed locally and treated as incoming packets
what is CIDR
classless interdomain routin g
eliminated strict assignment of address portion in class-full addressing
what is the CIDR address notation
a.b.c.d/n
n: number of bits in network portion of address (LSB)
how are host addresses assigned
hard coded by system admin/dynamically assigned using a control protocolo
how are network addresses assigned
internet service provider obtains a block of the IP address space. a net is allocated a portion of its providers ISP address space
how were blocks of addresses assigned to ISPs in the past (internet service providers)
SRI used to run in the network information center
allocated IP addresses based on classes
host tables then DNS (domain name system)
how are blocks of addresses assigned to ISPs today (internet service providers)
ICANN: internet corporation for assigned names and numbers
allocates IP address space
manages DNS
addresses of a node specify…
interfaces to the internet (IP network)
routers forward datagrams towards the interface with the…
longest match for the destination IP address
what is the process of sending a datagram to a host on the same net
look up IP address of host in source host forwarding table
find host on the same net as source host (other fields.source.dest.data)
link layer sends datagram directly to host inside link layer frame
source and destination hosts are directly connection
router does not need to be involved
what is the process of sending a datagram to a host a diff net
look up IP address of host in source host forwarding table
host is on a diff network, source and dest host not attatched
routing table: get ip address of next hop router to host
link layer sends datagram to that router inside link layer frame
datagram arrives at router
look up network address of host in routers forwarding table
find host in routers interface
router and host are directly attached
link layer sends datagram inside link layer frame via interface
datagram arrives
why might an IP packet be fragmented into two or more packet fragments
mac protocol cannot support long packets
how do packets fragments get transmitted
as a link level packet (frame), self contained datagram
what are the 3 components that handle fragmentation
packet ID: same id for all fragments of same packet
offset: states the byte (position) of fragment in packet
flag: states whether there are more fragments for same ID that should be expected
how to avoid fragmentation
limit size of TCP
what does tcp stand for
transmission control protocol