slides17 Flashcards
Dynamic Host Configuration Protocol
When a machine needs an IP address it can use DHCP to get one
how is DHCP initated
When a host boots and finds it needs an IP address, it makes a DHCP broadcast
difference ARP and DHCP
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
DHCP additional
DHCPDECLINE client says no DHCPNAK server says no
lease time
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
Internet Control Message Protocol
error packet
ICMP Type
kind of message, e.g., “TTL expired”, “destination unreachable”, “fragmentation needed but DF set”
ICMP
additional information, e.g., “destination unreachable” has “network unreachable” and “host unreachable” codes
ICMP response error message
This message (in an IP packet) will have IP source address of the router; and destination address the source of the problem packet
ICMP errors are not generated for
- 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 to discover if a machine is up and running
ICMP ping
max addresses recorded by ping and why
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