Internet Protocol Flashcards

24
Q

IP Properties

A

+ Packet switched connectionless. + Unreliable + Routing + Globally unique, delegated addresses

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

IP (Un)Reliability

A

+ Routers forward packets on ‘best effort’ basis + IP Packets may get dropped, usually due to congestion. TCP, retransmissions are handled. UDP, application layer must handle. + Quality of Service methods can help.

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

IPv4 Header

A

Source IP. Destination IP. IHL - Header length ID Field. Fragment Offset Time to live IP header Checksum

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

IP Fragmentation

A

IP Datagram may be fragmented on it’s path if a link with smaller layer 2 Max Transmission Unit (MTU) is encountered. Ethernet typically has MTU of 1500 bytes. Preferable to avoid frag.

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

Classless Inter-Domain Routing

A

Allow’s use of any prefix length, not just /8 /16 or /24. ISP’s must give proof of address requirements to RIRs.

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

Network Address Translation (NAT)

A

Uses private IPv4 address internally to local network, global externally. However, NAT is limited as the number of global IP addresses the router held is the most users connected at one time. Fixed with NAPT

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

Network Address and Port Translation (NAPT)

A

Keeps record of which hosts are using IP addresses, share 1 global IP address between many hosts by storing TCP/UDP port numbers that map to internet addresses.

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

NAPT downsides:

A

+Scales poorly as requires state information + Breaks end to end transparency and security model. +Has problems if apps embed IP addresses. +Causes problems if multiple NATed sites merged, if they share common internal private IPs.

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

IPv6: Benefits

A

128-bit addresses. Supports billions more devices online. Potential to restore end-to-end capability. Removal of the need for NAT Network Plug and Play Streamlined extensible IPv6 header. Fragmentation only at sender

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

IPv6 header

A

Version Traffic Class Flow Label Payload Length Next Header Hop Limit Source Address Destination Address

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

IPv6 Addressing

A

Unicast: One to One (as seen in IPv4) Multicast: One to Many NEW: Various scopes of address are defined. + Link local addresses - used only on a local subnet/link +Unique Local Addresses (ULAs) - for use within a site (e.g. campus) +Global Addresses - globally unique and routable

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

Unique Local Addresses

A

Used only within a site. Devices likely to be multi-addressed. Completely unrelated to ISP, so even switching will mean internal communications are stable over ULA. Use ULA as source address if communicating within the site.

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

Stateless Address Autoconfiguration (SLAAC)

A

Allows hosts to autoconfig basic network settings without DHCP server. + Stateless - no state info held as no server. + Selects addresses based on network prefix and host’s MAC address

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

Transitioning to IPv6

A

Dual Stack Mode: Servers and Devices that can communicate with both protocols Translation: Rewriting IP header from one version to another (done at Application Layer) Tunnelling: Encapsulating IPv6 traffic as payload of IPv6 packets. NO ONE BEST METHOD. Focus on Dual Stack Deployment.

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