slides17 Flashcards

1
Q

Dynamic Host Configuration Protocol

A

When a machine needs an IP address it can use DHCP to get one

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

how is DHCP initated

A

When a host boots and finds it needs an IP address, it makes a DHCP broadcast

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

difference ARP and DHCP

A

In contrast to ARP, with DHCP there is usually just one or occasionally more hosts that are configured to respond to DHCP requests, as allocation of addresses must be centrally managed to avoid duplication

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

DHCP additional

A

DHCPDECLINE client says no DHCPNAK server says no

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

lease time

A

The address is usable by the requesting host for this period of
time
If the lease expires the host can request a renewal of the lease from the server

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

Internet Control Message Protocol

A

error packet

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

ICMP Type

A

kind of message, e.g., “TTL expired”, “destination unreachable”, “fragmentation needed but DF set”

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

ICMP

A

additional information, e.g., “destination unreachable” has “network unreachable” and “host unreachable” codes

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

ICMP response error message

A

This message (in an IP packet) will have IP source address of the router; and destination address the source of the problem packet

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

ICMP errors are not generated for

A
  • ICMP errors (e.g., TTL expires on a ICMP packet)
  • a packet whose destination is a broadcast or multicast • a packet whose source is a broadcast or multicast
  • a packet whose link-layer address is a broadcast
  • any fragment other than the first
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

how to discover if a machine is up and running

A

ICMP ping

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

max addresses recorded by ping and why

A

there can only be 60 bytes of options in IPv4, giving space for up to 9 addresses (with the overheads of the option header and other bits and pieces), so only 9 addresses are recorded

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