Slide 4 Flashcards

1
Q

What is Routing ?

A

Determine route taken by packets from source to destination using routing algorithms, like planning a trip from source to destination.

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

What is Forwarding ?

A

Move packets from router’s input to appropriate router output, like the process of getting through a single interchange.

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

What are the components of IP addresses ?

A
  • NetID, Network identification;
  • HostID, Station’s interface identification.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is IP Addressing: CIDR ?

A

CIDR: Classless InterDomain Routing
a.b.c.d/X where X is the number of bits in the subnet portion of the address.
200.23.26.0/23
|11001000 00010111 0001000 [first 23 bits]|0 00000000 [last 9 bits]
The first one is the subnet part and the last one is the host part.

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

What is an Interface ?

A

It’s the connection between host/router and a physical link, a router typically has multiple interfaces while a host only has one.

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

What is subnet ?

A

Detach each interface from its router or host creating “islands” of isolated networks, each isolated network is a subnet.

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

Which one are the special IPV4 addresses ?

A

All the addresses starting with 127 are special, because they are reserved to reference the station itself;
Addresses with all the “station” bits set to 0 represent the network address, for example 193.136.128.41 belongs to network 193.136.128.0/24.
Addresses with all the “station” bits set to 1 represent the broadcast address, like 193.136.128.255.

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

What is the strategy in IP fragmentation and Reassembly

A

Strategy:
- Fragment when needed;
- Refragmentation is possible;
- Each fragment composes a datagram (same ID);
- Reconstruction is only done at the destination;
- Offset iodinates the number of previous fragments bytes, in multiples of 8 bytes.

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

Example How to split 4000 byte datagram with MTU 1500 bytes ?

A

total length = 1500 = IPheader(20) + 1480 (data)
offset = 1480 / 8 = 185.
Every divided datagram will have the same ID and the data for the second packet will start at byte 185 x 8 = 1480 .
For the third datagram the offset will be 370 because 1480 * 2 = 2960/ 8 = 370.
NOTE: THE SIZE OF A FRAGMENT MUST ALWAYS BE A MULTIPLE OF 8 (except the last).

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

What is ICMP ?

A

The Internet Control Message Protocol, is inside the IP datagram as the network layer is below the transport layer. It is used by hosts and routers to communicate network-level information, like unreachable host, network, port or protocol, or echo request/reply.
It contains the type and the code.

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

How do I get an IP address ?

A

You use DHCP (Dynamic Host Configuration Protocol), it allows you to have a dynamic address.

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

What is the goal of DHCP ?

A

Its goal is to allow host do dynamically obtain its IP address from a network when it joins the network.

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

What are the DHCP messages ?

A
  • The host broadcasts to 255.255.255.255 the “DHCP discover” message;
  • DHCP server responds with “DHCP offer” message;
  • Host requests IP address with “DHCP request” message;
  • DHCP server sends address using “DHCP ACK” message.
    Note that if the host remembers and wishes to reuse a previous IP the first two messages are skipped.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the objective of NAT ?

A

It allows a local network to use a set of private addresses for communication inside the network.
Communication to outside the private network uses a set of (at least one) global IP address.
All inside addresses are hidden from the outside, so increased security.

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

What are IPv6 addresses?

A
  • They are represented with 128 bit;
  • Auto-configuration of addresses;
  • Simples and more efficient;
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

IPv6 Datagram Header Format

A
  • Priority: identify priority among datagrams in flow;
  • source and destiny both IPv6 (128 bits);
  • flow label, used to identify the datagrams in the same “flow”.
17
Q

Why isn’t there Checksum in IPv6 ?

A

It was removed to reduce processing time at time each hop.

18
Q

Why aren’t there options in IPv6 ?

A

They are allowed, just not in the header, they are indicated where in the “Next header” field.

19
Q

What is ICMPv6 ?

A

It is the normal ICMP (Internet Control Message Protocol) but now adjusted to IP6, it contains additional messages like “Packet too Big”.

20
Q

How to use fragmentation in IPv6 ?

A

IPv6 routers do not fragment, but instead just drop the packets larger than the MTU. Because of that the IPv6 hosts are required to determine the optimal Path MTU before sending the packets.
To send a packet longer than the MTU, the sending node splits the packet into fragments, the fragment extension header carries the info necessary to reassemble the original.

21
Q

What is RIP ?

A

RIP stands from Routing Information Protocol, it uses the distance vector algorithm, and the distance metric is the number of hops.
The distance vectors are exchanged among neighbours every 30 seconds, if no advertisement heard from neighbours after 180 seconds it’s declared dead.

22
Q
A