slides13 Flashcards

1
Q

IP layer options

A
  • Security
  • Record Route.
  • Timestamp.
  • Strict Source Routing.
  • Loose Source Routing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

why are IP addresses not random

A

If there were no structure on the addresses every router everywhere would have to know where every host in the world was

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

how does a host decide between destination machine or gateway

A

It can tell if the destination is on the same network as itself by comparing the network part of their addresses

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

how does a router decide in which direction to send the packets

A

A router contains a table of IP addresses, with next-hop routers associated with those addresses

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

what does the router do with a packet and his table

A
  • If the packet destination matches a host address in the table, send the packet to the indicated host on the indicated interface
  • Else if the packet destination’s network part matches a network address in the table, send the packet to the indicated router on the indicated interface
  • Else find an entry in the table marked “default”, and send the packet to the indicated router on the indicated interface
  • Else error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is netmask

A

subdivision of IP that allows the router understand if something belongs to the same subnet as something else (divided into classes)

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

what are classes

A

class A B C D E, leading 0, 10, 110, 1110, 1111

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