ECE361: IP Internetworking: Addressing, Routing, Forwarding

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

42 Terms

1
New cards

what is the control plane and what parts of the OSI model are within it

  • for building routing state over time

  • application, presentation, session


2
New cards

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


3
New cards

what is a datagram

packet with header and payload, connectionless

4
New cards

IPv4 datagram: ver

IP protocol version #

5
New cards

IPv4 datagram: header length max length

64k bytes

6
New cards

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


7
New cards

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


8
New cards

IPv4 datagram: total length

of datagram in bytes including header

9
New cards

IPv4 datagram: 16-bit identifier, flags, fragment offset

for fragmentation and reassembly

10
New cards

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


11
New cards

IPv4 datagram: protocol

type of payload

12
New cards

IPv4 datagram: check sum

  • error detection

  • checks if data or headers were corrupted during transmission

  • add 1s complement and take 1s complement of result


13
New cards

IPv4 datagram: options

eg. a timestamp, record of path taken by datagram, list of routers to visit

14
New cards

IPv4 datagram: how many bytes + app layer over head

20 bytes TCP + 20 bytes IP = 40 bytes + app layer overhead

15
New cards

what is an interface

connection between host/router and attached physical link

16
New cards

can hosts have multiple interfaces

yes

17
New cards

what is an IP address

32 bit identifier for a host/router interface

18
New cards

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


19
New cards

routing table entries referring to destinations in the same autonomous systems refer to…

networks only

20
New cards

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

21
New cards

problems with class addressing

2^³2 is not enough for IoT, too few networks left

22
New cards

solutions to class addressing

  • eliminate classes

  • new and bigger global address space

  • locally unique addresses


23
New cards

what does this IP address mean: 0.0.0.0 in the host or network section

“this host“ or “in same network“

24
New cards

what does this IP address mean: 0s in network and host part

a host in this network

25
New cards

what does this IP address mean: 255.255.255.255 (all 1s)

broadcast to all in this network

26
New cards

what does this IP address mean: network part + all 1s

broadcast in stated network

27
New cards

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

28
New cards

what is CIDR

classless interdomain routin g

  • eliminated strict assignment of address portion in class-full addressing


29
New cards

what is the CIDR address notation

a.b.c.d/n

n: number of bits in network portion of address (LSB)

30
New cards

how are host addresses assigned

hard coded by system admin/dynamically assigned using a control protocolo

31
New cards

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

32
New cards

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)


33
New cards

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


34
New cards

addresses of a node specify…

interfaces to the internet (IP network)

35
New cards

routers forward datagrams towards the interface with the…

longest match for the destination IP address

36
New cards

what is the process of sending a datagram to a host on the same net

  1. look up IP address of host in source host forwarding table

  2. find host on the same net as source host (other fields.source.dest.data)

  3. link layer sends datagram directly to host inside link layer frame

    1. source and destination hosts are directly connection

  4. router does not need to be involved


37
New cards

what is the process of sending a datagram to a host a diff net

  1. look up IP address of host in source host forwarding table

  2. host is on a diff network, source and dest host not attatched

  3. routing table: get ip address of next hop router to host

  4. link layer sends datagram to that router inside link layer frame

  5. datagram arrives at router

  6. look up network address of host in routers forwarding table

  7. find host in routers interface

    1. router and host are directly attached

  8. link layer sends datagram inside link layer frame via interface

  9. datagram arrives


38
New cards

why might an IP packet be fragmented into two or more packet fragments

mac protocol cannot support long packets

39
New cards

how do packets fragments get transmitted

as a link level packet (frame), self contained datagram

40
New cards

what are the 3 components that handle fragmentation

  1. packet ID: same id for all fragments of same packet

  2. offset: states the byte (position) of fragment in packet

  3. flag: states whether there are more fragments for same ID that should be expected


41
New cards

how to avoid fragmentation

limit size of TCP

42
New cards

what does tcp stand for

transmission control protocol