ARP & ICMP (week 4-ish)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/55

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

56 Terms

1
New cards

when you want to communicate on a network, the information that is sent between nodes is encapsulated in ___

an ethernet frame

2
New cards

ethernet frames need the ___ of the nodes involved in the conversation in order to send the frame to the correct recipients

MAC addresses

3
New cards

how does a node learn the MAC address of a destination?

ARP! (use Address Resolution Protocol)

(hey everybody: i’m looking for the MAC that goes with this IP)

4
New cards

Address Resolution

  • the process of mapping ___ to ___

  • only addresses ___ are resolved

  • ___ addresses are never resolved

  • protocol addresses (IP); hardware addresses (MAC)

  • on the same network as the host

  • remote

5
New cards

RFC 826 An Ethernet Address Resolution Protocol -- or -- Converting Network Protocol Addresses to 48.bit Ethernet Address for Transmission on Ethernet Hardware

  • The purpose of this RFC is ___

to present a method for Converting Protocol Addresses (e.g., IP addresses to Local Network Addresses (e.g., Ethernet addresses)

6
New cards

Address Resolution w/ Message Exchange

  • ___ approach

  • Host sends out a ___ and receives back a ___

  • Adds ___ but no ___

  • distributed

  • message with the request; reply

  • net traffic; management

7
New cards

Address Resolution w/ Message Exchange

  • Message exchange is used on ___ with ___ addressing

    • ARP is part of the ___ suite - standard

    • two type messages defined: ___

  • LANs; static

    • TCP/IP

    • request & reply

8
New cards

ARP message format

knowt flashcard image
9
New cards

example of ARP packet exchange resulting from a PING

knowt flashcard image
10
New cards

what kinds of traffic result in ARP messages being generated?

all kinds! not just PING/ICMP!

11
New cards

ARP table

  • what is stored in an ARP table?

  • who has an ARP table?

  • what happens to old entries?

  • what types of entries can be added?

  • the results from an ARP exchange are stored in the requestors ARP table

  • all IP based hosts have an ARP table

  • a timer (~2 min for Windows) will age out the entries

  • dynamic (resulting from ARP exchange?) and static (added manually?)

<ul><li><p>the results from an ARP exchange are stored in the requestors ARP table</p></li><li><p>all IP based hosts have an ARP table</p></li><li><p>a timer (~2 min for Windows) will age out the entries</p></li><li><p>dynamic (resulting from ARP exchange?) and static (added manually?)</p></li></ul><p></p>
12
New cards

capture file - ARP request

note the 0s in the target MAC address (we don’t know it)

<p>note the 0s in the target MAC address (we don’t know it)</p>
13
New cards

capture file - ARP reply

knowt flashcard image
14
New cards

ARP messages have no ___

IP header

  • “Effect on filters”

15
New cards

gratuitous ARP

basically asking if anyone else is using the IP address you’re trying to use as your own

<p>basically asking if anyone else is using the IP address you’re trying to use as your own</p>
16
New cards

reverse ARP

a method for workstations to dynamically find their protocol address (e.g. their Internet Address) when they only know their hardware address (e.g. their attached physical network address

(i guess through BOOTP?)

17
New cards

proxy ARP

technique involving the use of the Ethernet Address Resolution Protocol (ARP) by subnet gateways to permit hosts on the connected subnets to communicate without being aware of the existence of subnets

<p>technique involving the use of the Ethernet Address Resolution Protocol (ARP) by subnet gateways to permit hosts on the connected subnets to communicate without being aware of the existence of subnets</p>
18
New cards

many events (related to routing and workstations, reachability, settings, different points of view, etc.), most based on the IP fields, will trigger ___ messages

ICMP

19
New cards

ICMP is encapsulated in ___

IP (no layer 4 protocol)

20
New cards

when the IP header protocol ID = ___, it’s encapsulating an ICMP message

knowt flashcard image
21
New cards

standard ICMP header

<p></p>
22
New cards

ICMP error message types

 3 - Destination Unreachable

 4 – Source Quench

 5 – Redirect

 11 – Time exceeded

 12 – Parameter problem

23
New cards

ICMP information message types

0 – Echo Reply

8 – Echo request

13 – Timestamp message

14 – Timestamp reply message

15 – Information (network) Request

16 – Information Reply

24
New cards

ICMP echo request/replies provide proof of ___ and are generated using the ___ program

life; ping

25
New cards

capture file - ICMP echo request

knowt flashcard image
26
New cards

when a host has a datagram for another network, it sends the datagram ___

to the router (default gateway)

27
New cards

when is an ICMP redirect message sent?

a router which has received a message for forwarding determines that another router should be used

  • sends a redirect message (type 5)

  • it also forwards the datagram, but hopefully only once

28
New cards

what are the requirements for an ICMP redirect message?

  • no source routing information

  • new forwarding router must be on the same network as the sender

  • old router must have to send the packet out the same interface that it came in

29
New cards

result of an ICMP redirect

original datagram is encapsulated and the new info is included; results in a host routing table update

30
New cards

capture file - ICMP redirect

knowt flashcard image
31
New cards

why must routing loops be allowed

distributed nature of network design, redundancy

32
New cards

ICMP time exceeded

  • these messages keep a packet from wandering in a routing loop forever

  • each datagram include a TTL (time-to-live) field (varying in length)

  • the TTL value is decremented by each router through which the datagram passes

  • once it reaches 0, a Time to live Exceeded (type 11) ICMP message, including the original message info, is sent to the sender

33
New cards

capture file - ICMP Time Exceeded

knowt flashcard image
34
New cards

ICMP destination unreachable

  • type 3

  • sent when a router determines that a datagram cannot be delivered ( destination IP address doesn’t exist, machine is down, router is offline, entire network is disconnected, router doesn’t know)

  • the different reasons for being “unreachable” are handled with the code field

  • this type is also used when a firewall filters a packet

  • IP header and 64 bits of original packet info is included

35
New cards

ICMP destination unreachable codes

0 = net unreachable

1 = host unreachable

2 = protocol unreachable

3 = port unreachable

4 = fragmentation needed and DF set

5 = source route failed

Note: There are other codes

<p>0 = net unreachable</p><p>1 = host unreachable</p><p>2 = protocol unreachable</p><p>3 = port unreachable</p><p>4 = fragmentation needed and DF set</p><p>5 = source route failed</p><p>Note: There are other codes</p>
36
New cards

we no longer use router advertisements (ICMP type 9) or solicitations since we have ___

DHCP

(but in a MobileIP environment, we may have to)

(IPv6 uses these messages (ICMP router discovery messages) in the neighbor discovery process)

37
New cards

capture file - ICMP router advert/solicitation

knowt flashcard image
38
New cards

MTU

maximum transmission unit; a measurement representing the largest data packet that a network-connected device will accept

39
New cards

Don’t Fragment (DF) bit (IP header)

can be set by host to disallow fragmentation of the IP packet

40
New cards

Path MTU Discovery

knowt flashcard image
41
New cards

ICMP address mask request/reply

  • types 17 and 18

  • request for correct subnet mask for this network

  • responded to by router

  • today this is also handled by the DHCP server

42
New cards

ICMP domain name message

  • lets you learn the fully qualified domain name associated with an IP address

  • deprecated

43
New cards

ICMP source quench

  • when a router runs out of buffer space

    • discards packets

    • sends a source quench ICMP packet to source of each packet discarded

  • when a host receives a source quench packet, it reduces the rate at which it sends packets to the router

  • deprecated

44
New cards

ICMP messages alternate host address (6), information request/reply (15/16), mask request/reply (17/18), and traceroute (30) (among others) are ___.

deprecated

45
New cards

ICMPv6 vs ICMPv4

  • operates in similar fashion to ICMPv4

  • both have error and info messages

  • but there are several new messages types

  • and ICMPv6 can take a very active role in IPv6 topology resolution

46
New cards

Neighbor discovery

  • Several message types: […]

Router advertisement

Router solicitation

Neighbor advertisement

Neighbor solicitation

Redirect

There are others …

(this is from the ICMP slides)

47
New cards

IPv6 has no ___ messages so no ___

broadcast; ARP

(uses Neighbor Discovery Protocol (NDP))

48
New cards

when node A sends ARP request, a connected switch will ___

add A to its source address table

49
New cards

ICMP is part of IP protocol stack (so no ___ numbers)

port

50
New cards

? = most common ICMP errors

Destination Unreachable, Redirect, and Time exceeded

51
New cards

How many addresses are defined in ARP?

2

52
New cards

Is an ARP message routable?

No, the messages do not contain an IP header.

53
New cards

Describe the Ethernet addressing used in the standard ARP request. Are the source and destination addresses unicast, broadcast, or multicast?

The ARP request uses a unicast address for the source and a broadcast address for the destination.

54
New cards

Describe the Ethernet addressing used in the standard ARP reply. Are the source and destination addresses unicast, broadcast, or multicast?

The ARP reply uses a unicast address for the source and a unicast address for the destination.

55
New cards

Is ARP a secure protocol?

No. False ARP messages can be created to fool ARP tables. Hosts then make in correct forwarding decisions. ARP transmissions are also sent in the clear.

56
New cards

Linux vs Windows pings

64 bytes in size; sends continuous pings by default

32 bytes in size; sends only 4 pings by default