Internet Protocol Flashcards

1
Q

Which layer does TCP operate in?

A

layer 4 (transport layer)

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

What does TCP do?

A

enables reliable, connection oriented communication

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

Which layer does IP sit at?

A

layer 3 (network layer)

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

What are protocols at layer 3 designed for?

A

to be routed across multiple heterogenous networks

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

What 2 functions does IP implement?

A

Addressing
fragmentation

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

What kind of connection is IP?

A

connectionless protocol

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

What does connectionless mean?

A

sends packets to another machine but don’t know if packets will arrive or if in correct order

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

What is the internet?

A

Network of networks of computers

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

why are packets passed between networks?

A

to reach the destination machine

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

What does the internet need addresses to specify?

A

the Machine
the network that machine is on

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

Why do we need addresses?

A

to identify a specific computer so we can send data to it

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

What do addresses in IP need to do?

A

identify machine uniquely
identify which network machine is on

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

how are IPv4 addresses formatted?

A

4 bytes seperated by dots
e.g 192.168.1.1

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

Whats the problem with IPv4?

A

Not enough space to store enough addresses

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

How do we increase the space?

A

Use IPv6 which increases it to 128 bits

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

How many IP addresses in class A?

A

16.7 million addresses per network
1.x.x.x to 127.x.x.x

17
Q

How many IP addresses in class B?

A

65536 addresses
128.0.x.x to 191.255.x.x

18
Q

How many IP addresses in class C?

A

256 addresses
192.0.0.x - 239.255.255.x

19
Q

What is class D used for?

A

multicast
224.0.0.0 to 239.255.255.255

20
Q

What is class E used for?

A

reserved
240.0.0.0 to 255.255.255.255

21
Q

whats the aim of classless inter-domain routing (CIDR)?

A

to slow ip address space exhaustion

22
Q

what does CDIR do?

A

allows variable number of bits to be used to identify network
slow rapid growth of routing tables

23
Q

what can address configuration be?

A

configurable or dynamic

24
Q

What does configurable (static) mean?

A

you specify IP address

25
Q

What does dynamic mean?

A

Computer automatically allocated address

26
Q

what is the max size of IP packet on ethernet?

A

1500 bytes

27
Q

What is the max size of IP packet known as?

A

Maximum transmission unit (MTU)

28
Q

What is time to live (TTL) field in IPv4 packet used for?

A

to avoid packets ending up in loop as routes to destination can change at any moment even while packet is in transit

29
Q

How does TTL work?

A

each router decrements TTL
if it = 0 packet is discarded

30
Q

Why are IP packets fragmented?

A

they are passed between different networks
may have different packet sizes

31
Q

How does fragmentation work?

A

data in IP packet split into chunks
these are then sent as IP packets across other network
identification field used to identify packet
Fragment offset used to specify where data goes
Receiver puts fragments back together to regenerate the original packet

32
Q

How big is each chunk?

A

multiple of 8 bytes long

33
Q

Does IPV6 use fragmentation?

A

no rather it finds out largest packet size allowed on path between 2 machines
then uses as its MTU for sending packets