10 - IP Protocol Flashcards

1
Q

Routing vs Forwarding

A

Routing: determine the path taken by packets as they flow from sender to receiver (Routers have algorithms/forwarding tables)

Forwarding: move packets from router’s input to appropriate output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

IP Addresses

A

32 bit identifier for host, router interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Interface:

A

Connection (boundary) between host/router and physical link.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Subnets

A

IP Addr: subnet part (high order bits) and host part (low order bits)

Creates separate virtual networks on same router

  1. 6.101.0/24 (/24 is called a subnet mask) means all addresses which have the first 24 bits equal to 128.6.101, i.e. addresses 128.6.101.0 to 128.6.101.255. Also written
  2. 6.101.x or 128.6.101.xxx.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

CIDR

A

Classless InterDomain Routing

  • subnet portion of address of arbitrary length
  • address format a.b.c.d/x where x is # bits in subnet portion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

DHCP

A

Dynamic Host Configuration Protocol
Lease an IP address from a server when it joins a network

Can return default gateway
name and ip of local DNS
network mask

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ICANN

A

Internet Coporation for Assigned Names and Numbers

Allocates addresses
Manages DNS
Assigns domain names

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

NAT

A

Network Address Translation

Several devices on a local network can share one IP address, reducing the IPv4 shortage

BUT
routers should only process up to lyr 3
violates end to end agreement
address shortage should be solved by IPv6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

IPv4

A
  • Version = 4 bits for IPv4
  • Header Length (4 bits): in multiples of 32 bit words
  • Type of Service
  • Datagram length (16 bits): in bytes
  • Identifier, flags, fragmentation offset
  • Time to live (number of hops allowed between routers)
  • Upper layer protocol: 6 for TCP, 17 for UDP, 1 for ICMP
  • Header checksum
  • Source + Destination
  • Options
  • Data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

MTU

A

Maximum Transmission Unit

Max size of payload in link layer frame. FOr ethernet 1500B, so IP datagram length at most 1500

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

ICMP

A

Internet COntrol Message Protocol

Used to report errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

IPv6

A
  • Version (4bits) = 6
  • Traffic class: similar to Type Of Service
  • FLow label
  • Payload length (16bits)
  • Next header: same as upper layer protocol
  • Hop limit: time to live
  • SOurce/Dest IP addr 128 bits each
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

IPv6 vs IPv4

A
  • IPv6 has 128bits
  • IPv6 fixed header length: 40 bytes
  • IPv6 no fragmentation allowed
  • IPv6 no header checksum to save time
  • ICMPv6: additional msg types and multicast group management functions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly